X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/856f00d24d37590a78b78833a8aa305983e58e45..2f9850da2c6ad0258f87c3d8972689da6aa8011d:/src/editor/plugins/core/edumed/order/order.less diff --git a/src/editor/plugins/core/edumed/order/order.less b/src/editor/plugins/core/edumed/order/order.less index b407259..e0c1b52 100644 --- a/src/editor/plugins/core/edumed/order/order.less +++ b/src/editor/plugins/core/edumed/order/order.less @@ -1,3 +1,4 @@ +@exercise-order-gray: darken(#ddd, 15%); .exercise-order { overflow-x: hidden; @@ -11,7 +12,6 @@ width: 100%; border-radius: 5px; background-color: #ddd; - -webkit-margin-before: -20px; // compensate for Chrome behavior for ol > li > table } .content { @@ -29,11 +29,10 @@ vertical-align: middle; display: table-cell; width: 20px; - background-color: darken(#ddd, 15%); + background-color: @exercise-order-gray; text-align: center; border-radius: 0 5px 5px 0; padding: 10px 10px; - pointer-events: none; .dragEnter { opacity: 0.5; @@ -43,7 +42,7 @@ .placeholder { height: 10px; transition: height 0.05s; - background-color: white; + background-color: transparent; &.active { height: 60px; transition: height 0.05s; @@ -53,14 +52,19 @@ width:100%; } - .placeholder-top { - margin-left: 25px; + ol { + margin: 0; + counter-reset: edumed-order-counter; } - - li { + ol li { + list-style-type: none; cursor: move; .dragged { opacity: 0.6; } } + + .nav-tabs > .active > a { + background-color: @exercise-order-gray; + } } \ No newline at end of file