Make style of date picker similar to calendar date picker

This commit is contained in:
Hadi Nategh 2016-05-18 14:15:27 +02:00
parent 4aa1156af0
commit 02494eb694
4 changed files with 234 additions and 360 deletions

View File

@ -1391,11 +1391,20 @@ div#ui-datepicker-div {
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); -moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
} }
.ui-datepicker { .ui-datepicker-header {
/*padding: 1px 0em;*/ background-color: transparent;
/* .ui-widget-header .ui-icon { }
background-image: url("images/ui-icons_d8e7f3_256x240.png"); .ui-datepicker .ui-state-default {
}*/ border: none;
padding: 2px;
text-align: center;
}
.ui-datepicker .ui-state-highlight {
color: #1a1a1a;
font-weight: bold;
}
.ui-datepicker .ui-datepicker-close {
border: 1px solid #b4b4b4;
} }
.ui-datepicker table.ui-datepicker-calendar .ui-state-active { .ui-datepicker table.ui-datepicker-calendar .ui-state-active {
background-color: #0c5da5; background-color: #0c5da5;
@ -1477,26 +1486,6 @@ div#ui-datepicker-div {
.ms-ctn .ms-trigger { .ms-ctn .ms-trigger {
border-left: none; border-left: none;
} }
/**
* EGroupware: CSS with less preprocessor
* traditional.less
* included in pixelegg.less since 17/03/2014
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhard <stefan.reinhard@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
/*
font styling
allowed attributes: font-family,font-size,color,font-weight
*/
/** /**
* layout_*.less files are Pixelegg template specific * layout_*.less files are Pixelegg template specific
*/ */
@ -3399,10 +3388,6 @@ h6 {
td.lettersearch { td.lettersearch {
background-image: none; background-image: none;
} }
/*.nextmatch_header table {
border: none !important;
width: 99% !important;
}*/
/** /**
* EGroupware: CSS with less preprocessor * EGroupware: CSS with less preprocessor
* *
@ -5159,21 +5144,6 @@ button.image_button {
* @package pixelegg * @package pixelegg
* @version $Id: layout_table.less 3089 2014-06-11 14:02:57Z pixelegg $ * @version $Id: layout_table.less 3089 2014-06-11 14:02:57Z pixelegg $
*/ */
/* disabled for now in pixelegg.less, until we use svg outside filemanager thumbnails
//SVG Filter / not for Logo
#egw_fw_sidebar img[src$="svg"]{
.gradient_vertical (@gray_60, @gray_60);
.rounded(3px);
border: 1px solid @gray_0;;
}
#egw_fw_main img[src$="svg"],
#egw_fw_footer img[src$="svg"]{
//.gradient_vertical (@egw_color_2_a, @egw_color_2_a);
.gradient_vertical (fade(@gray_100,50%), fade(@gray_100,50%));
}*/
/** /**
* EGroupware: Stylite Pixelegg template * EGroupware: Stylite Pixelegg template
* *

View File

@ -1380,11 +1380,20 @@ div#ui-datepicker-div {
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); -moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
} }
.ui-datepicker { .ui-datepicker-header {
/*padding: 1px 0em;*/ background-color: transparent;
/* .ui-widget-header .ui-icon { }
background-image: url("images/ui-icons_d8e7f3_256x240.png"); .ui-datepicker .ui-state-default {
}*/ border: none;
padding: 2px;
text-align: center;
}
.ui-datepicker .ui-state-highlight {
color: #1a1a1a;
font-weight: bold;
}
.ui-datepicker .ui-datepicker-close {
border: 1px solid #b4b4b4;
} }
.ui-datepicker table.ui-datepicker-calendar .ui-state-active { .ui-datepicker table.ui-datepicker-calendar .ui-state-active {
background-color: #0c5da5; background-color: #0c5da5;
@ -1466,26 +1475,6 @@ div#ui-datepicker-div {
.ms-ctn .ms-trigger { .ms-ctn .ms-trigger {
border-left: none; border-left: none;
} }
/**
* EGroupware: CSS with less preprocessor
* traditional.less
* included in pixelegg.less since 17/03/2014
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhard <stefan.reinhard@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
/*
font styling
allowed attributes: font-family,font-size,color,font-weight
*/
/** /**
* layout_*.less files are Pixelegg template specific * layout_*.less files are Pixelegg template specific
*/ */
@ -2460,7 +2449,6 @@ button[id="add"] {
button[id="add"]:active { button[id="add"]:active {
background-color: #1aa200 !important; background-color: #1aa200 !important;
} }
/*Button Ende #######################################################*/
/** /**
* EGroupware: Stylite Pixelegg template * EGroupware: Stylite Pixelegg template
* *
@ -3388,10 +3376,6 @@ h6 {
td.lettersearch { td.lettersearch {
background-image: none; background-image: none;
} }
/*.nextmatch_header table {
border: none !important;
width: 99% !important;
}*/
/** /**
* EGroupware: CSS with less preprocessor * EGroupware: CSS with less preprocessor
* *
@ -5148,21 +5132,6 @@ button.image_button {
* @package pixelegg * @package pixelegg
* @version $Id: layout_table.less 3089 2014-06-11 14:02:57Z pixelegg $ * @version $Id: layout_table.less 3089 2014-06-11 14:02:57Z pixelegg $
*/ */
/* disabled for now in pixelegg.less, until we use svg outside filemanager thumbnails
//SVG Filter / not for Logo
#egw_fw_sidebar img[src$="svg"]{
.gradient_vertical (@gray_60, @gray_60);
.rounded(3px);
border: 1px solid @gray_0;;
}
#egw_fw_main img[src$="svg"],
#egw_fw_footer img[src$="svg"]{
//.gradient_vertical (@egw_color_2_a, @egw_color_2_a);
.gradient_vertical (fade(@gray_100,50%), fade(@gray_100,50%));
}*/
/** /**
* EGroupware: Stylite Pixelegg template * EGroupware: Stylite Pixelegg template
* *

View File

@ -109,11 +109,8 @@ option:checked {background-color: @egw_color_1_e;}
background: @color_hint; background: @color_hint;
background-image: none; background-image: none;
color: @gray_0; color: @gray_0;
} }
.ui-state-hover, .ui-state-hover,
.ui-widget-content .ui-state-hover, .ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover{ .ui-widget-header .ui-state-hover{
@ -124,7 +121,6 @@ option:checked {background-color: @egw_color_1_e;}
background-image: none; background-image: none;
// font-size: 105%; // font-size: 105%;
.color_0_gray; .color_0_gray;
// font-weight: normal !important;
} }
.ui-state-hover a, .ui-state-hover a,
.ui-state-hover a:hover, .ui-state-hover a:hover,
@ -216,29 +212,22 @@ span.ui-icon-close {margin-top: 0px; top: 5px;}
background-position: 0 0 !important; background-position: 0 0 !important;
.color_0_gray; .color_0_gray;
.dimension_height_s; .dimension_height_s;
&:hover{ background-color: @gray_10; color: @gray_90; .box_shadow_standard_light_hover;} &:hover{ background-color: @gray_10; color: @gray_90; .box_shadow_standard_light_hover;}
&:active { &:active {
.box_shadow_standard_light_active !important; .box_shadow_standard_light_active !important;
background-color: @color_cancel_action_active !important; background-color: @color_cancel_action_active !important;
} }
} }
/*###########################################*/ /*###########################################*/
/*Menu */ /*Menu */
.ui-menu{ .ui-menu{
.ui-menu-item { .ui-menu-item {
padding: 0px; padding: 0px;
a { a {
line-height: 24px; line-height: 24px;
margin: 0px; margin: 0px;
padding: 2px 5px; padding: 2px 5px;
input {padding: 0;} input {padding: 0;}
img {padding: 0;} img {padding: 0;}
} }
@ -249,15 +238,12 @@ span.ui-icon-close {margin-top: 0px; top: 5px;}
border: none; border: none;
} }
} }
} }
/*###########################################*/ /*###########################################*/
/* col selection */ /* col selection */
span.ui-multiselect-header {color: @gray_0;} span.ui-multiselect-header {color: @gray_0;}
span.ui-icon-search {
span.ui-icon-search{
background-image: url(../images/search.png) !important; background-image: url(../images/search.png) !important;
background-position: 0px; background-position: 0px;
background-size: 10px 10px; background-size: 10px 10px;
@ -266,7 +252,6 @@ span.ui-icon-search{
.ui-corner-all{.rounded(3px)} .ui-corner-all{.rounded(3px)}
// e.g. Corner Favorites // e.g. Corner Favorites
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
border-bottom-left-radius: 3px; border-bottom-left-radius: 3px;
@ -292,20 +277,13 @@ span.ui-icon-search{
border: 1px solid @egw_color_2_a; border: 1px solid @egw_color_2_a;
.et2_selectbox { .et2_selectbox {
button.et2_button_text, button.et2_button_text,
select.et2_selectbox {height: 20px;} select.et2_selectbox {height: 20px;}
button {background-image: none;} button {background-image: none;}
div.ui-widget-header { div.ui-widget-header {
ul li label.ui-state-hover {background-color: @color_hint; font-weight: normal;} ul li label.ui-state-hover {background-color: @color_hint; font-weight: normal;}
} }
} }
} }
/*###########################################*/ /*###########################################*/
@ -313,13 +291,11 @@ span.ui-icon-search{
.ui-dialog-buttonpane {background-color: @egw_color_2_e;} .ui-dialog-buttonpane {background-color: @egw_color_2_e;}
.ui-dialog-buttonset{ .ui-dialog-buttonset{
button.ui-button-text-only {
background-color: @gray_20;
button.ui-button-text-only {background-color: @gray_20;
background: inherit; background: inherit;
color: @gray_100 !important; color: @gray_100 !important;
font-weight: normal !important; font-weight: normal !important;
&:hover{ background-color: @gray_30;} &:hover{ background-color: @gray_30;}
} }
button.ui-button{ button.ui-button{
@ -333,34 +309,32 @@ span.ui-icon-search{
/*Dialog: calendar edit series*/ /*Dialog: calendar edit series*/
// Kalender Widget // Kalender Widget
div#ui-datepicker-div{ div#ui-datepicker-div {
.rounded (3px); .rounded (3px);
border: 1px solid @gray_30; border: 1px solid @gray_30;
.box_shadow_standard_light_inset; .box_shadow_standard_light_inset;
} }
.ui-datepicker-header { background-color: transparent;}
.ui-datepicker { .ui-datepicker {
.ui-state-default {
/*padding: 1px 0em;*/ border: none;
padding: 2px;
/* .ui-widget-header .ui-icon { text-align: center;
background-image: url("images/ui-icons_d8e7f3_256x240.png"); }
}*/ .ui-state-highlight {.color_90_gray; font-weight: bold;}
.ui-datepicker-close {border:1px solid #b4b4b4;}
// Kalender Tabelle // Kalender Tabelle
table.ui-datepicker-calendar{ table.ui-datepicker-calendar {
//aktiver Tag //aktiver Tag
.ui-state-active {background-color: @egw_color_2_a;color: @gray_0;} .ui-state-active {background-color: @egw_color_2_a;color: @gray_0;}
} }
div.ui-timepicker-div {
div.ui-timepicker-div{
padding: 3px; padding: 3px;
//Uhrzeit - Label //Uhrzeit - Label
dt.ui_tpicker_time_label{font-size: 0.9em} dt.ui_tpicker_time_label {font-size: 0.9em}
//Uhrzeit //Uhrzeit
dd.ui_tpicker_time { dd.ui_tpicker_time {
padding-left: 75px; background-color: @egw_color_1_a; padding-left: 75px; background-color: @egw_color_1_a;
@ -368,34 +342,28 @@ div.ui-timepicker-div{
} }
//Stunde - Label //Stunde - Label
dt.ui_tpicker_time_label{font-size: 0.9em} dt.ui_tpicker_time_label {font-size: 0.9em}
// Minute - Label // Minute - Label
dt.ui_tpicker_minute_label {font-size: 0.9em} dt.ui_tpicker_minute_label {font-size: 0.9em}
// Schieberegler // Schieberegler
div.ui_tpicker_hour_slider{ div.ui_tpicker_hour_slider {
a.ui-slider-handle {background-color: @egw_color_2_a;} a.ui-slider-handle {background-color: @egw_color_2_a;}
} }
div.ui_tpicker_minute_slider{ div.ui_tpicker_minute_slider {
a.ui-slider-handle {background-color: @egw_color_2_a;} a.ui-slider-handle {background-color: @egw_color_2_a;}
} }
}
}
//Buttons //Buttons
div.ui-datepicker-buttonpane{ div.ui-datepicker-buttonpane {background-color: @color_button_panel_bg_color;}
background-color: @color_button_panel_bg_color;
} button.ui-datepicker-current .ui-state-hover {
button.ui-datepicker-current .ui-state-hover{
background-color: @color_positive_action_active !important; background-color: @color_positive_action_active !important;
&:hover {background-color: @color_positive_action_active;} &:hover {background-color: @color_positive_action_active;}
&:active {background-color: @color_positive_action_active;} &:active {background-color: @color_positive_action_active;}
} }
} }
@ -415,5 +383,3 @@ div.ui-timepicker-div{
.ui-widget-overlay, .ui-widget-shadow { .ui-widget-overlay, .ui-widget-shadow {
background-image: none; background-image: none;
} }
//

View File

@ -1402,11 +1402,20 @@ div#ui-datepicker-div {
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); -moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5); box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
} }
.ui-datepicker { .ui-datepicker-header {
/*padding: 1px 0em;*/ background-color: transparent;
/* .ui-widget-header .ui-icon { }
background-image: url("images/ui-icons_d8e7f3_256x240.png"); .ui-datepicker .ui-state-default {
}*/ border: none;
padding: 2px;
text-align: center;
}
.ui-datepicker .ui-state-highlight {
color: #1a1a1a;
font-weight: bold;
}
.ui-datepicker .ui-datepicker-close {
border: 1px solid #b4b4b4;
} }
.ui-datepicker table.ui-datepicker-calendar .ui-state-active { .ui-datepicker table.ui-datepicker-calendar .ui-state-active {
background-color: #0c5da5; background-color: #0c5da5;
@ -1488,26 +1497,6 @@ div#ui-datepicker-div {
.ms-ctn .ms-trigger { .ms-ctn .ms-trigger {
border-left: none; border-left: none;
} }
/**
* EGroupware: CSS with less preprocessor
* traditional.less
* included in pixelegg.less since 17/03/2014
*
* Please do NOT change css-files directly, instead change less-files and compile them!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhard <stefan.reinhard@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
/*
font styling
allowed attributes: font-family,font-size,color,font-weight
*/
/** /**
* layout_*.less files are Pixelegg template specific * layout_*.less files are Pixelegg template specific
*/ */
@ -2482,7 +2471,6 @@ button[id="add"] {
button[id="add"]:active { button[id="add"]:active {
background-color: #1aa200 !important; background-color: #1aa200 !important;
} }
/*Button Ende #######################################################*/
/** /**
* EGroupware: Stylite Pixelegg template * EGroupware: Stylite Pixelegg template
* *
@ -3410,10 +3398,6 @@ h6 {
td.lettersearch { td.lettersearch {
background-image: none; background-image: none;
} }
/*.nextmatch_header table {
border: none !important;
width: 99% !important;
}*/
/** /**
* EGroupware: CSS with less preprocessor * EGroupware: CSS with less preprocessor
* *
@ -5170,21 +5154,6 @@ button.image_button {
* @package pixelegg * @package pixelegg
* @version $Id: layout_table.less 3089 2014-06-11 14:02:57Z pixelegg $ * @version $Id: layout_table.less 3089 2014-06-11 14:02:57Z pixelegg $
*/ */
/* disabled for now in pixelegg.less, until we use svg outside filemanager thumbnails
//SVG Filter / not for Logo
#egw_fw_sidebar img[src$="svg"]{
.gradient_vertical (@gray_60, @gray_60);
.rounded(3px);
border: 1px solid @gray_0;;
}
#egw_fw_main img[src$="svg"],
#egw_fw_footer img[src$="svg"]{
//.gradient_vertical (@egw_color_2_a, @egw_color_2_a);
.gradient_vertical (fade(@gray_100,50%), fade(@gray_100,50%));
}*/
/** /**
* EGroupware: Stylite Pixelegg template * EGroupware: Stylite Pixelegg template
* *