mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
Cleanup CSS and drop bMobileDevice detection.
Touch devices can be any size and can use (bluetooth/usb-c mouse/keyboard) these days. It's all about pixels and currently if the mode is mobile/no-mobile (this can be improved later).
This commit is contained in:
parent
25b4c899d0
commit
efcefbaf78
60 changed files with 233 additions and 379 deletions
|
|
@ -22,6 +22,8 @@
|
|||
}
|
||||
|
||||
.e-signature-place {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -280,6 +280,8 @@ html:not(.rl-left-panel-disabled) #rl-left.resizable > .resizer,
|
|||
}
|
||||
}
|
||||
|
||||
.visible-on-ctrl,
|
||||
.visible-on-ctrl-btn,
|
||||
.show-on-panel-disabled {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -388,10 +390,6 @@ html.rl-bottom-preview-pane {
|
|||
}
|
||||
}
|
||||
|
||||
.visible-on-ctrl, .visible-on-ctrl-btn {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hidden-on-ctrl-btn {
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,8 +58,3 @@ html.mobile *, html.rl-mobile * {
|
|||
input[type="search"]{
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
input::-ms-clear,
|
||||
input::-ms-reveal {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,14 +21,8 @@
|
|||
}
|
||||
|
||||
.open-pgp-key-img {
|
||||
|
||||
margin-right: 10px;
|
||||
vertical-align: top;
|
||||
|
||||
.svg-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.open-pgp-key-id, .open-pgp-key-user {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,7 @@
|
|||
}
|
||||
|
||||
.squire-toolgroup > button,
|
||||
.squire-toolgroup > select,
|
||||
.squire-toolgroup > input[type="color"] {
|
||||
.squire-toolgroup > select {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
|
|
@ -104,8 +103,7 @@ Secondly, we can't rely on MUA's what to do with :empty
|
|||
right: 0;
|
||||
}
|
||||
.rl-mobile .squire-toolgroup > button,
|
||||
.rl-mobile .squire-toolgroup > select,
|
||||
.rl-mobile .squire-toolgroup > input[type="color"] {
|
||||
.rl-mobile .squire-toolgroup > select {
|
||||
height: 2.5em;
|
||||
line-height: 2.8;
|
||||
width: 3em;
|
||||
|
|
|
|||
|
|
@ -183,6 +183,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
html.mobile .hide-mobile,
|
||||
.command.command-disabled.hide-on-disabled-command {
|
||||
display:none;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -67,10 +67,6 @@ select {
|
|||
width: 223px;
|
||||
}
|
||||
|
||||
.btn .svg-icon {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.btn-small.btn-small-small {
|
||||
padding: 3px 9px;
|
||||
font-size: 11px;
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
}
|
||||
|
||||
.cke_top {
|
||||
padding: 6px 4px 1px 6px;
|
||||
padding: 2px;
|
||||
box-shadow: none !important;
|
||||
border-bottom: 1px solid #b6b6b6 !important;
|
||||
background: #F0F0F0 !important;
|
||||
|
|
|
|||
|
|
@ -73,25 +73,6 @@
|
|||
z-index: 2002;
|
||||
}
|
||||
|
||||
svg-icon {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.svg-icon {
|
||||
border: 0;
|
||||
outline: 0;
|
||||
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
display: inline-block;
|
||||
fill: #333;
|
||||
|
||||
&.svg-icon-archive {
|
||||
height: 14px;
|
||||
width: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
.lg-backdrop.in {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
|
@ -116,3 +97,23 @@ html.glass {
|
|||
transition: color 9999s ease-out, background-color 9999s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
@media (pointer: coarse), (hover: none) {
|
||||
[title] {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
justify-content: center;
|
||||
}
|
||||
[title]:focus::after {
|
||||
content: attr(title);
|
||||
position: absolute;
|
||||
top: 90%;
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
border: 1px solid;
|
||||
width: fit-content;
|
||||
padding: 3px;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,77 +1,10 @@
|
|||
|
||||
.inputosaurus-container {
|
||||
|
||||
width: 99%;
|
||||
line-height: 20px;
|
||||
padding: 2px;
|
||||
border: 1px solid #cccccc;
|
||||
border-radius: 3px;
|
||||
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
transition: border linear .2s, box-shadow linear .2s;
|
||||
|
||||
&.inputosaurus-focused {
|
||||
background-color: #fff;
|
||||
border: @rlInputBorderSize solid darken(@inputBorder, 20%);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
li {
|
||||
max-width: 500px;
|
||||
background-color: #eee;
|
||||
border: 1px solid #aaa;
|
||||
line-height: 18px;
|
||||
padding: 2px 15px 2px 5px;
|
||||
margin: 2px 2px 2px;
|
||||
color: #555;
|
||||
z-index: 100;
|
||||
|
||||
position: relative;
|
||||
|
||||
a {
|
||||
color: #999;
|
||||
font-size: 12px;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 2px;
|
||||
|
||||
&:hover {
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
&.inputosaurus-required {
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
&.inputosaurus-selected {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
&.pgp {
|
||||
background-color: #E5F3E2;
|
||||
}
|
||||
}
|
||||
|
||||
.inputosaurus-input {
|
||||
|
||||
margin: 1px 10px 1px 0;
|
||||
height: 22px;
|
||||
|
||||
input {
|
||||
border: 0;
|
||||
height : 21px;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.inputosaurus-fake-span {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -5000px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue