Move date picker prev / next buttons to right side of header, with today button in between

This commit is contained in:
Nathan Gray 2016-01-22 20:47:58 +00:00
parent 403fb60ad6
commit 1804a84062
8 changed files with 45 additions and 9 deletions

View File

@ -431,6 +431,30 @@ span.et2_date span {
span.et2_date_duration input.et2_date_duration{
width: 5em;
}
/* customize calendar layout */
.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
margin-left: 2px;
margin-right: 4.6em;
text-align: left;
}
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
left: initial;
right: 4em;
}
.ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] {
position: absolute;
top: -2px;
right: 24px;
width: 23px;
height: 23px;
overflow: hidden;
background-color: white;
margin-left: 3px;
text-indent: 20px;
background-size: contain;
background-image: url(images/today.png);
}
/**
* Dialog widget
* It uses jQueryUI, so this is just our little bits - icon on left

Binary file not shown.

After

Width:  |  Height:  |  Size: 784 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -220,6 +220,9 @@
span.et2_date span {
color: #ffffff;
}
.ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] {
background-image: url(../images/today.png);
}
.et2_file .progress li:hover div.remove {
width: 16px;
height: 16px;
@ -2186,6 +2189,7 @@ body {
* @package pixelegg
* @version $Id$
*/
@import-once "def_colors.less";
#socialMedia {
position: relative;
bottom: 20px;
@ -4263,7 +4267,7 @@ td.message span.message {
text-decoration: none;
height: 32px;
/*font-size: 1.1em;*/
font-size: 12.1px;
font-size: 12.100000000000001px;
line-height: 1.5em;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li a:hover {
@ -4287,7 +4291,7 @@ td.message span.message {
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul a#topmenu_home:before {
padding-right: 20px;
font-size: 12.1px;
font-size: 12.100000000000001px;
content: " ";
background-image: url(../images/topmenu_items/home.png);
background-repeat: no-repeat;
@ -4683,7 +4687,7 @@ td.message span.message {
padding-left: 3em;
color: #999999;
/*font-size: 12px;*/
font-size: 12.1px;
font-size: 12.100000000000001px;
line-height: 17px;
}
#egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_scrollarea_outerdiv .egw_fw_ui_sidemenu_entry_header object {
@ -4855,7 +4859,7 @@ td.message span.message {
margin: 5px 0px 3px 5px;
padding: 0px 0px 0px 15px;
line-height: 1em;
font-size: 12.1px;
font-size: 12.100000000000001px;
background-image: url(../images/arrow_left.png);
background-repeat: no-repeat;
background-position: left center;
@ -7171,7 +7175,7 @@ span.egw_tutorial_title {
margin: 5px 0px 3px 5px;
padding: 0px 0px 0px 15px;
line-height: 1em;
font-size: 12.1px;
font-size: 12.100000000000001px;
background-image: url(../images/arrow_left.png);
background-repeat: no-repeat;
background-position: left center;

View File

@ -209,6 +209,9 @@
span.et2_date span {
color: #ffffff;
}
.ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] {
background-image: url(../images/today.png);
}
.et2_file .progress li:hover div.remove {
width: 16px;
height: 16px;
@ -2175,6 +2178,7 @@ body {
* @package pixelegg
* @version $Id$
*/
@import-once "def_colors.less";
#socialMedia {
position: relative;
bottom: 20px;
@ -4252,7 +4256,7 @@ td.message span.message {
text-decoration: none;
height: 32px;
/*font-size: 1.1em;*/
font-size: 12.1px;
font-size: 12.100000000000001px;
line-height: 1.5em;
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul li a:hover {
@ -4276,7 +4280,7 @@ td.message span.message {
}
#egw_fw_header #egw_fw_topmenu #egw_fw_topmenu_items ul a#topmenu_home:before {
padding-right: 20px;
font-size: 12.1px;
font-size: 12.100000000000001px;
content: " ";
background-image: url(../images/topmenu_items/home.png);
background-repeat: no-repeat;
@ -4672,7 +4676,7 @@ td.message span.message {
padding-left: 3em;
color: #999999;
/*font-size: 12px;*/
font-size: 12.1px;
font-size: 12.100000000000001px;
line-height: 17px;
}
#egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_scrollarea_outerdiv .egw_fw_ui_sidemenu_entry_header object {
@ -4844,7 +4848,7 @@ td.message span.message {
margin: 5px 0px 3px 5px;
padding: 0px 0px 0px 15px;
line-height: 1em;
font-size: 12.1px;
font-size: 12.100000000000001px;
background-image: url(../images/arrow_left.png);
background-repeat: no-repeat;
background-position: left center;

BIN
pixelegg/images/day.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -168,6 +168,10 @@ span.et2_date span {
color: @gray_0;
}
.ui-datepicker .ui-datepicker-buttonpane button[data-handler="today"] {
background-image: url(../images/today.png);
}
.et2_file .progress li:hover div.remove {
.dimension_width_height_s;
}