Refinements to timestamp button

- Smaller buttons, better positioning
This commit is contained in:
Nathan Gray 2015-12-22 17:01:32 +00:00
parent dde64ba491
commit ff868f4539
4 changed files with 26 additions and 5 deletions

View File

@ -64,6 +64,16 @@ tr.dialogOperators td,.dialogFooterToolbar {
white-space: normal;
}
button.infologExtraButton {
background-position: center;
background-size: 16px;
padding: 0px;
width: 24px;
height: 24px;
}
button.infologExtraButton:hover {
background-size: 16px;
}
td.infologEncrypt {
position: relative;
}
@ -77,7 +87,7 @@ td.infologTimestamp {
}
button#infolog-edit_timestamp {
position: absolute;
right: 19px;
right: -35px;
top: 3px;
}
div#infolog-edit_infolog-edit-description {

View File

@ -215,8 +215,8 @@
</row>
<row class="et2_toolbar">
<description id="spacer" span="6"/>
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
<buttononly statustext="Encrypt description" id="encrypt" class="infologEncrypt" background_image="1" image="lock" onclick="app.infolog.toggleEncrypt"/>
<buttononly statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" background_image="1" image="timestamp" onclick="app.infolog.insert_text('info_des');"/>
<buttononly statustext="Encrypt description" id="encrypt" class="infologExtraButton infologEncrypt" background_image="1" image="lock" onclick="app.infolog.toggleEncrypt"/>
</row>
<row>
<tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tab_height="250px">

View File

@ -137,6 +137,16 @@ tr.dialogOperators td,
#infolog-index .egwGridView_grid .et2_hbox.et2_box_widget.infolog_CompletedClmn {
white-space: normal;
}
button.infologExtraButton {
background-position: center;
background-size: 16px;
padding: 0px;
width: 24px;
height: 24px;
}
button.infologExtraButton:hover {
background-size: 16px;
}
td.infologEncrypt {
position: relative;
}
@ -150,7 +160,7 @@ td.infologTimestamp {
}
button#infolog-edit_timestamp {
position: absolute;
right: 19px;
right: -35px;
top: 3px;
}
div#infolog-edit_infolog-edit-description {
@ -444,7 +454,7 @@ button#infolog-edit_timestamp {
white-space: nowrap !important;
}
label[id^='infolog-index_'][id$='info_enddate]'] {
font-size: 8pt;
font-size: 9pt;
float: right;
}
label[id^='infolog-index_'][id$='info_startdate]'] {

View File

@ -12,6 +12,7 @@
* @version $Id$
*/
@import (reference) "../../../pixelegg/less/def_buttons.less";
@import (reference) "../../../pixelegg/less/def_mobile.less";
@import (less) "../default/app.css";