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 @@ - - + + @@ -73,12 +73,12 @@ Option1 Text1 2020-10-13 - R1 + Radio1 Create - - + + @@ -86,12 +86,12 @@ Option2 Text2 2021-12-22 - R2 - Read + Radio2 + Read,Create - - + + @@ -99,12 +99,12 @@ Option3 Text3 1989-04-28 - R3 + Radio3 Modify - - + + @@ -112,7 +112,7 @@ Option2 Text4 2025-07-04 - R2 + Radio2 Create,Modify @@ -125,11 +125,14 @@
-
+
- +
@@ -199,10 +202,12 @@
+
+ + + +
-
- -
@@ -211,7 +216,7 @@
- Inline Eddit + Inline Edit
@@ -245,8 +250,8 @@ - - + + @@ -318,8 +323,8 @@ Col6 - - + + @@ -331,8 +336,8 @@ Col6 - - + + diff --git a/tests/app/tables.php b/tests/app/tables.php index 36fc443..07a6748 100644 --- a/tests/app/tables.php +++ b/tests/app/tables.php @@ -242,7 +242,7 @@ import { Request } from '../../../jsOMS/Message/Request/Request.js'; import { Table } from '../../../jsOMS/UI/Component/Table.js'; - const loginRequest = new HttpRequest('http://127.0.0.1/en/api/login', 'POST', 'json'); + const loginRequest = new Request('http://127.0.0.1/en/api/login', 'POST', 'json'); loginRequest.setData({user: 'admin', pass: 'orange'}); loginRequest.send(); diff --git a/visibility.scss b/visibility.scss index dd0e421..635d6ed 100644 --- a/visibility.scss +++ b/visibility.scss @@ -1,3 +1,3 @@ .hidden { - display: none; + display: none !important; }