mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Cleanup some css and remove a float
This commit is contained in:
parent
5e9941d58f
commit
43c4293330
5 changed files with 11 additions and 17 deletions
|
|
@ -273,12 +273,14 @@
|
||||||
|
|
||||||
&.buttonCompose {
|
&.buttonCompose {
|
||||||
width: calc(~'100% - 85px');
|
width: calc(~'100% - 85px');
|
||||||
|
max-width: -moz-fit-content;
|
||||||
|
max-width: -webkit-fit-content;
|
||||||
max-width: fit-content;
|
max-width: fit-content;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
display: inline-block;
|
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
|
padding: 4px 8px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -449,6 +449,8 @@ html.rl-no-preview-pane {
|
||||||
height: auto;
|
height: auto;
|
||||||
transform: translate(-25%,0);
|
transform: translate(-25%,0);
|
||||||
width: auto;
|
width: auto;
|
||||||
|
width: -moz-fit-content;
|
||||||
|
width: -webkit-fit-content;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -123,15 +123,6 @@ select {
|
||||||
.btn {
|
.btn {
|
||||||
border-radius: @btnBorderRadius;
|
border-radius: @btnBorderRadius;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
padding-left: 13px;
|
|
||||||
padding-right: 13px;
|
|
||||||
|
|
||||||
&.disabled, &[disabled] {
|
|
||||||
opacity: 0.8;
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
|
||||||
}
|
|
||||||
|
|
||||||
border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25);
|
|
||||||
|
|
||||||
// &:active {
|
// &:active {
|
||||||
// .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.3), 0 0 0 rgba(0,0,0,.1)");
|
// .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.3), 0 0 0 rgba(0,0,0,.1)");
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<div class="b-folders g-ui-user-select-none thm-folders" data-bind="css: {'focused': folderListFocused, 'single-root-inbox': foldersListWithSingleInboxRootFolder, 'inbox-is-starred': isInboxStarred}">
|
<div class="b-folders g-ui-user-select-none thm-folders" data-bind="css: {'focused': folderListFocused, 'single-root-inbox': foldersListWithSingleInboxRootFolder, 'inbox-is-starred': isInboxStarred}">
|
||||||
<div class="b-toolbar btn-toolbar hide-on-mobile">
|
<div class="b-toolbar btn-toolbar hide-on-mobile">
|
||||||
<a class="btn buttonCompose pull-left" data-bind="visible: allowComposer, click: composeClick, tooltip: 'FOLDER_LIST/BUTTON_NEW_MESSAGE', css: {'btn-warning': composeInEdit, 'btn-success': !composeInEdit()}">
|
<a class="btn buttonCompose" data-bind="visible: allowComposer, click: composeClick, tooltip: 'FOLDER_LIST/BUTTON_NEW_MESSAGE', css: {'btn-warning': composeInEdit, 'btn-success': !composeInEdit()}">
|
||||||
<i class="icon-paper-plane"></i>
|
<i class="icon-paper-plane"></i>
|
||||||
<span class="btn-text-wrp buttonComposeText">
|
<span class="btn-text-wrp buttonComposeText">
|
||||||
<span class="i18n" data-i18n="FOLDER_LIST/BUTTON_NEW_MESSAGE"></span>
|
<span class="i18n" data-i18n="FOLDER_LIST/BUTTON_NEW_MESSAGE"></span>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="btn buttonContacts pull-left" data-bind="visible: allowContacts, click: contactsClick, tooltip: 'GLOBAL/CONTACTS'">
|
<a class="btn buttonContacts" data-bind="visible: allowContacts, click: contactsClick, tooltip: 'GLOBAL/CONTACTS'">
|
||||||
<i class="icon-address-book"></i>
|
<i class="icon-address-book"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
9
vendors/bootstrap/less/buttons.less
vendored
9
vendors/bootstrap/less/buttons.less
vendored
|
|
@ -9,7 +9,7 @@
|
||||||
// Core
|
// Core
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 4px 14px;
|
padding: 4px 13px;
|
||||||
margin-bottom: 0; // For input.btn
|
margin-bottom: 0; // For input.btn
|
||||||
font-size: @baseFontSize;
|
font-size: @baseFontSize;
|
||||||
line-height: @baseLineHeight;
|
line-height: @baseLineHeight;
|
||||||
|
|
@ -18,8 +18,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
.buttonBackground(@btnBackground, @btnBackgroundHighlight, @grayDark, 0 1px 1px rgba(255,255,255,.75));
|
.buttonBackground(@btnBackground, @btnBackgroundHighlight, @grayDark, 0 1px 1px rgba(255,255,255,.75));
|
||||||
border: 1px solid @btnBorder;
|
border: 1px solid @btnBorder;
|
||||||
border-bottom-color: darken(@btnBorder, 10%);
|
border-color: rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25) rgba(0, 0, 0, 0.25);
|
||||||
border-radius: 4px;
|
|
||||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||||
|
|
||||||
// Hover state
|
// Hover state
|
||||||
|
|
@ -54,8 +53,8 @@
|
||||||
cursor: default;
|
cursor: default;
|
||||||
background-color: darken(@white, 10%);
|
background-color: darken(@white, 10%);
|
||||||
background-image: none;
|
background-image: none;
|
||||||
opacity: 0.65;
|
opacity: 0.8;
|
||||||
box-shadow: none;
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue