From 921c2905ade4bde7342d77b3367eb7775ec0f985 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Wed, 7 Sep 2022 13:45:53 +0200 Subject: [PATCH] Restyle date widget today's button --- api/templates/default/etemplate2.css | 17 ++++++++++++++++- pixelegg/css/pixelegg.css | 15 --------------- pixelegg/less/layout_traditional.less | 13 ------------- 3 files changed, 16 insertions(+), 29 deletions(-) diff --git a/api/templates/default/etemplate2.css b/api/templates/default/etemplate2.css index e0b04610d1..d535905b4a 100644 --- a/api/templates/default/etemplate2.css +++ b/api/templates/default/etemplate2.css @@ -4009,7 +4009,7 @@ body .flatpickr-calendar { } .flatpickr-calendar.open { - z-index: 1000; + z-index: 10000; } /** Holidays & birthdays **/ @@ -4066,6 +4066,21 @@ div.flatpickr-calendar.inline .flatpickr-day:not(.today) { border: none; } +button.shortcut-buttons-flatpickr-button:hover { + background-color: #eceef1; +} + +button.shortcut-buttons-flatpickr-button { + background-color: white; + width: 100%; + height: 3em; + border: 1px solid #eceef1; + border-top: none; + color: #1d1d1d; + font-weight: 700; +} + + .selectedTreeRow { background-color: rgba(102, 153, 204, 0.7); color: #1e1e1e; diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index b6bbc892c2..f43b6eda7d 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -6162,29 +6162,14 @@ input[type=button], input[type=reset], button, .egwbutton { - background-color: #f0f0f0; - background-image: none; - border: outset 1px #b9d5e3; - margin: 1px; padding: 1px; cursor: pointer; - color: #004e7d; } input[type=submit] { -webkit-appearance: none; -moz-appearance: none; appearance: none; } -input[type=submit]:hover, -input[type=button]:hover, -input[type=reset]:hover, -button:hover, -.egwbutton:hover { - background-color: #d9d9d9 !important; - background-image: none; - border: outset 1px #b9d5e3; - color: #004e7d; -} input[type=submit]:active, input[type=button]:active, input[type=reset]:active, diff --git a/pixelegg/less/layout_traditional.less b/pixelegg/less/layout_traditional.less index 3dbed8ef25..36882a1e96 100755 --- a/pixelegg/less/layout_traditional.less +++ b/pixelegg/less/layout_traditional.less @@ -35,13 +35,8 @@ div{ } input[type=submit],input[type=button],input[type=reset],button,.egwbutton { - .background_color_10_gray; - background-image: none; - border: outset 1px #b9d5e3; - margin: 1px; padding: 1px; cursor: pointer; - color: #004e7d; } input[type=submit] @@ -51,14 +46,6 @@ input[type=submit] appearance: none; } -input[type=submit]:hover,input[type=button]:hover,input[type=reset]:hover,button:hover,.egwbutton:hover -{ - .background_color_15_gray !important; - background-image: none; - border: outset 1px #b9d5e3; - color: #004e7d; -} - input[type=submit]:active,input[type=button]:active,input[type=reset]:active,button:active,.egwbutton:active { border: inset 1px #bbbbbb;