From 7c950f5c84b0f151f61ae8093deae8c559de1edd Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Thu, 30 Sep 2021 15:01:01 +0200 Subject: [PATCH] related to #1465 dark mode done --- admin/themes/default/template/history.tpl | 22 +++++++--------- admin/themes/default/theme.css | 26 +++++++++++++++++++ admin/themes/roma/theme.css | 31 +++++++++++++++++++++++ 3 files changed, 66 insertions(+), 13 deletions(-) diff --git a/admin/themes/default/template/history.tpl b/admin/themes/default/template/history.tpl index cdb57fbe7..b49e757f0 100644 --- a/admin/themes/default/template/history.tpl +++ b/admin/themes/default/template/history.tpl @@ -117,8 +117,8 @@ const unit_MB = "{"%s MB"|@translate}"; {* Used to be copied in JS *} - - + + User test {* *} @@ -307,13 +307,11 @@ jQuery(document).ready( function() { } .history-filter { - background: #f3f3f3; display: flex; flex-direction: row; } .hasDatepicker { - background: white !important; border: solid 1px #D4D4D4; padding: 5px 10px; max-width: 180px; @@ -331,7 +329,6 @@ jQuery(document).ready( function() { } .elem-type-select{ - background: white !important; border: solid 1px #D4D4D4; padding: 5px 10px; margin-bottom: 5px; @@ -395,7 +392,6 @@ jQuery(document).ready( function() { } .search-line { - background: #fafafa; box-shadow: 0px 2px 4px #00000024; display: flex; @@ -485,17 +481,12 @@ jQuery(document).ready( function() { margin-left: 4px; } -.detail-item-1, .detail-item-2, .detail-item-3 { - background: #f0f0f0f0; -} - .user-section { display: flex; flex-direction: column; justify-content: center; margin-right: 20px; height: 60%; - border-right: 1px solid #bbb; } .date-section { @@ -503,7 +494,6 @@ jQuery(document).ready( function() { flex-direction: row; margin-right: 20px; height: 60%; - border-right: 1px solid #bbb; } .date-infos { @@ -540,7 +530,6 @@ jQuery(document).ready( function() { align-items: center; margin-right: 20px; height: 60%; - border-right: 1px solid #bbb; } .type-desc { @@ -679,4 +668,11 @@ jQuery(document).ready( function() { margin-right: 10px; } +#start_unset, #end_unset { + text-decoration: none; +} + +#start_unset:hover, #end_unset:hover { + color: #ffa500; +} \ No newline at end of file diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index 4dd502a0e..6c9b520ce 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -5582,3 +5582,29 @@ color:#FF7B00; .site-url-path span { margin-top: -10px; } + +.search-line { + background: #fafafa; +} + +.search-line .date-section, +.search-line .user-section, +.search-line .type-section { + border-right: 1px solid #bbb; +} + +.detail-item-1, .detail-item-2, .detail-item-3 { + background: #f0f0f0f0; +} + +.search-line .type-name a { + color: #a1a1a1; +} + +.history-filter { + background: #f3f3f3; +} + +.hasDatepicker, .elem-type-select { + background: white !important; +} \ No newline at end of file diff --git a/admin/themes/roma/theme.css b/admin/themes/roma/theme.css index 0232f4d6f..2a4a2ce04 100644 --- a/admin/themes/roma/theme.css +++ b/admin/themes/roma/theme.css @@ -1656,4 +1656,35 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important; background: #5d5d5d !important; color: #373737 !important; cursor: not-allowed; +} + +.search-line { + background: transparent; + color: #a1a1a1; +} + +.search-line .date-section, +.search-line .user-section, +.search-line .type-section { + border-right: 1px solid #a1a1a1; +} + +.detail-item-1, .detail-item-2, .detail-item-3 { + background: #555; +} + +.history-filter { + background: transparent; + color: #a1a1a1; + box-shadow: 0px 2px 4px #00000024; +} + +#start_unset, #end_unset { + color: #a1a1a1; + text-decoration: none; +} + +.hasDatepicker, .elem-type-select { + background: #444 !important; + border-color: #c1c1c1 !important; } \ No newline at end of file