Fix infolog encryption and timestamp buttons misalignment

This commit is contained in:
Hadi Nategh 2018-09-20 10:38:04 +02:00
parent 6c4cc97a5f
commit 86de4bbc16
3 changed files with 13 additions and 11 deletions

View File

@ -62,12 +62,12 @@ button.infologExtraButton {
button.infologExtraButton:hover { button.infologExtraButton:hover {
background-size: 16px; background-size: 16px;
} }
td.infologEncrypt { div.et2_hbox.tab_toolbar {
position: relative; position: relative;
} }
button#infolog-edit_encrypt { button#infolog-edit_encrypt {
position: absolute; position: absolute;
right: -2px; right: 0px;
top: 3px; top: 3px;
} }
td.infologTimestamp { td.infologTimestamp {
@ -75,7 +75,7 @@ td.infologTimestamp {
} }
button#infolog-edit_timestamp { button#infolog-edit_timestamp {
position: absolute; position: absolute;
right: -25px; right: 29px;
top: 3px; top: 3px;
} }
div#infolog-edit_infolog-edit-description { div#infolog-edit_infolog-edit-description {

View File

@ -174,9 +174,11 @@
<date-time statustext="til when should the ToDo or Phonecall be finished" id="info_enddate" class="et2_fullWidth" span="4"/> <date-time statustext="til when should the ToDo or Phonecall be finished" id="info_enddate" class="et2_fullWidth" span="4"/>
</row> </row>
<row class="et2_toolbar"> <row class="et2_toolbar">
<description id="spacer" span="5"/> <description id="spacer" span="6"/>
<timestamper statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" target="info_des"/> <hbox class="tab_toolbar">
<buttononly statustext="Encrypt description" id="encrypt" class="infologExtraButton infologEncrypt" background_image="1" image="lock" onclick="app.infolog.toggleEncrypt"/> <timestamper statustext="Insert timestamp into description field" id="timestamp" class="infologExtraButton infologTimestamp" target="info_des"/>
<buttononly statustext="Encrypt description" id="encrypt" class="infologExtraButton infologEncrypt" background_image="1" image="lock" onclick="app.infolog.toggleEncrypt"/>
</hbox>
</row> </row>
<row> <row>
<tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tab_height="250px"> <tabbox id="tabs" class="et2_nowrap" span="all" width="100%" tab_height="250px">

View File

@ -39,7 +39,7 @@
} }
.normal, .normal,
.normal_done { .normal_done {
color: #000000; color: black;
} }
.high { .high {
color: #cc0000; color: #cc0000;
@ -129,12 +129,12 @@ button.infologExtraButton {
button.infologExtraButton:hover { button.infologExtraButton:hover {
background-size: 16px; background-size: 16px;
} }
td.infologEncrypt { div.et2_hbox.tab_toolbar {
position: relative; position: relative;
} }
button#infolog-edit_encrypt { button#infolog-edit_encrypt {
position: absolute; position: absolute;
right: -2px; right: 0px;
top: 3px; top: 3px;
} }
td.infologTimestamp { td.infologTimestamp {
@ -142,7 +142,7 @@ td.infologTimestamp {
} }
button#infolog-edit_timestamp { button#infolog-edit_timestamp {
position: absolute; position: absolute;
right: -25px; right: 29px;
top: 3px; top: 3px;
} }
div#infolog-edit_infolog-edit-description { div#infolog-edit_infolog-edit-description {
@ -198,7 +198,7 @@ div#infolog-edit_infolog-edit-description {
height: auto; height: auto;
} }
div#infolog-edit_info_contact input.ui-autocomplete-input span.ui-icon-close { div#infolog-edit_info_contact input.ui-autocomplete-input span.ui-icon-close {
background-color: #ffffff; background-color: #FFFFFF;
background-size: contain; background-size: contain;
background-position: 5px 5px; background-position: 5px 5px;
top: 9px !important; top: 9px !important;