diff --git a/button.scss b/button.scss index ef49174..2a4d13f 100644 --- a/button.scss +++ b/button.scss @@ -1,5 +1,3 @@ - - .btn { cursor: pointer; user-select: none; @@ -56,10 +54,10 @@ button.cancel, .button.cancel { button.close, .button.close { color: rgba(0, 0, 0, 0.75); - background: #f1ff70; + background: #fffc3e; &:hover, &:focus { - background: #faffa1; + background: #fffd7b; } } diff --git a/draggable.scss b/draggable.scss index e11ad5b..7748793 100644 --- a/draggable.scss +++ b/draggable.scss @@ -1,3 +1,7 @@ *[draggable] { cursor: move; -} \ No newline at end of file +} + +.drag-placeholder, .drag-placeholder td { + border: 2px dashed rgba(0, 0, 0, 0.5) !important; +} diff --git a/input.scss b/input.scss index e3153c3..b63e55d 100644 --- a/input.scss +++ b/input.scss @@ -1,13 +1,3 @@ -/** - * @todo Orange-Management/cssOMS#4 - * Nicer visual input validation - * - * @todo Orange-Management/cssOMS#14 - * Create drop down with search field - * - * @todo Orange-Management/cssOMS#12 - * Create slider element - */ input, select, textarea, .textarea { border: 1px solid var(--input-border); @@ -291,7 +281,7 @@ textarea, .textarea { } label.radio, label.checkbox { - display: flex; + display: inline-flex; align-items: center; -webkit-user-select: none; -moz-user-select: none; diff --git a/styles.css b/styles.css index ce36d57..d0af3d0 100644 --- a/styles.css +++ b/styles.css @@ -199,7 +199,7 @@ iframe { overflow: auto; } .hidden { - display: none; } + display: none !important; } /*! * animate.css -http://daneden.me/animate @@ -3256,6 +3256,9 @@ article { *[draggable] { cursor: move; } +.drag-placeholder, .drag-placeholder td { + border: 2px dashed rgba(0, 0, 0, 0.5) !important; } + p { margin: 0 0 10px 0; line-height: 1.4em; } @@ -3482,16 +3485,6 @@ img.rounded { img.bordered { border: 1px solid var(--box-border); } -/** - * @todo Orange-Management/cssOMS#4 - * Nicer visual input validation - * - * @todo Orange-Management/cssOMS#14 - * Create drop down with search field - * - * @todo Orange-Management/cssOMS#12 - * Create slider element - */ input, select, textarea, .textarea { border: 1px solid var(--input-border); } input.undecorated, select.undecorated, textarea.undecorated, .textarea.undecorated { @@ -3733,7 +3726,7 @@ textarea, .textarea { font-family: Consolas, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace; } label.radio, label.checkbox { - display: flex; + display: inline-flex; align-items: center; -webkit-user-select: none; -moz-user-select: none; @@ -4157,9 +4150,9 @@ button.cancel, .button.cancel { button.close, .button.close { color: rgba(0, 0, 0, 0.75); - background: #f1ff70; } + background: #fffc3e; } button.close:hover, button.close:focus, .button.close:hover, .button.close:focus { - background: #faffa1; } + background: #fffd7b; } button.disabled, .button.disabled { color: rgba(0, 0, 0, 0.5); @@ -4631,9 +4624,6 @@ section > h2 { table.fixed { table-layout: fixed; } -table.default tbody tr.drag-placeholder td { - border: 2px dashed rgba(0, 0, 0, 0.5) !important; } - table:not([id]) > thead .sort-asc, table:not([id]) > thead .sort-desc { display: none; } diff --git a/table.scss b/table.scss index 7f719f3..4829112 100644 --- a/table.scss +++ b/table.scss @@ -2,10 +2,6 @@ table.fixed { table-layout: fixed; } -table.default tbody tr.drag-placeholder td { - border: 2px dashed rgba(0, 0, 0, 0.5) !important; -} - table:not([id]) > thead .sort-asc, table:not([id]) > thead .sort-desc { display: none; } @@ -28,7 +24,6 @@ table input[type=radio]:checked + i { color: var(--button-colored-background); } -// @todo: check!!!! table input[type=checkbox]:checked + label i { color: var(--button-colored-background); } diff --git a/tests/app/forms_input.php b/tests/app/forms_input.php index ce16e8e..efe205d 100644 --- a/tests/app/forms_input.php +++ b/tests/app/forms_input.php @@ -58,7 +58,7 @@ \ No newline at end of file diff --git a/tests/app/forms_table.php b/tests/app/forms_table.php index d8e4c66..f71cbeb 100644 --- a/tests/app/forms_table.php +++ b/tests/app/forms_table.php @@ -44,9 +44,11 @@
-