snappymail/dev/Styles/User/Layout.less

328 lines
4.9 KiB
Plaintext
Raw Normal View History

2022-11-22 17:01:56 +08:00
#rl-app.UserBackground {
2022-08-23 19:45:22 +08:00
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}
#rl-left {
flex-grow: 0;
flex-shrink: 0;
position: relative;
/* transition: width 0.3s ease-out;*/
width: @rlLeftWidth;
z-index: 0;
}
#rl-right {
flex-grow: 1;
max-width: 100vw;
position: relative;
z-index: 1;
}
/*
.resizable::after {
2020-09-30 20:07:03 +08:00
background-color: #aaa;
bottom: 0;
content: '';
height: 22px;
pointer-events: none;
position: absolute;
right: 0;
text-align: center;
width: 20px;
}
.resizable::-webkit-resizer {
2020-09-30 20:07:03 +08:00
background: #aaa;
background: rgba(255,255,255,0.5);
}
*/
.resizer {
background: #aaa;
background: rgba(255,255,255,0.5);
display: none;
opacity: 0;
position: absolute;
z-index: 102;
}
.resizer:hover {
opacity: 1;
}
html:not(.rl-left-panel-disabled) #rl-left {
resize: horizontal; overflow: auto;
min-width: 155px;
max-width: 350px;
}
2021-11-05 17:20:06 +08:00
#rl-left > .resizer,
.rl-side-preview-pane #V-MailMessageList > .resizer {
cursor: ew-resize;
height: 100%;
right: 0;
top: 0;
width: 5px;
}
.rl-side-preview-pane #V-MailMessageList {
resize: horizontal; overflow: auto;
2021-11-05 17:20:06 +08:00
min-width: 320px;
max-width: 60%;
}
.rl-bottom-preview-pane #V-MailMessageList {
resize: vertical; overflow: auto;
min-height: 200px;
2021-11-05 17:20:06 +08:00
max-height: 60%;
}
.rl-bottom-preview-pane #V-MailMessageList > .resizer {
cursor: ns-resize;
height: 5px;
left: 0;
bottom: 0;
width: 100%;
}
html:not(.rl-left-panel-disabled) #rl-left > .resizer,
#V-MailMessageList > .resizer {
display: block;
}
#V-MailMessageList {
2023-01-05 23:27:13 +08:00
position: relative;
height: 100%;
width: 50%;
}
#V-MailMessageView {
position: absolute;
2023-02-06 16:49:49 +08:00
top: 0;
2021-11-05 17:20:06 +08:00
bottom: 13px;
right: 0;
left: 0;
2017-03-02 02:38:18 +08:00
.b-message-view-backdrop {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, .4);
z-index: 10;
text-align: center;
.backdrop-message {
position: relative;
display: inline-block;
color: white;
font-size: 20px;
line-height: 30px;
background: rgba(0, 0, 0, .6);
padding: 15px;
border-radius: var(--border-radius, 5px);
text-shadow: 0 1px 1px #000;
transform: translateY(-50%);
top: 50%;
2017-03-02 02:38:18 +08:00
}
}
}
html.rl-side-preview-pane {
#V-MailMessageView {
left: 50%;
}
}
2022-07-21 17:45:08 +08:00
#top-system-dropdown-id::after,
#button-add-prop-dropdown-id::after {
content: '▼';
font-size: 80%;
}
2021-03-22 20:46:03 +08:00
.dropdown-menu * + .dividerbar {
margin-top: 9px;
padding-top: 9px;
border-top: 1px solid var(--border-color, #e5e5e5);
2021-03-22 20:46:03 +08:00
}
2021-11-15 19:16:02 +08:00
.dropdown.show {
box-shadow: 0 0 1px var(--main-color, #333);
2021-03-22 20:46:03 +08:00
}
.btn.btn-transparent {
background: none !important;
border-color: transparent !important;
box-shadow: none !important;
color: inherit;
text-shadow: none !important;
2021-03-22 20:46:03 +08:00
opacity: .6;
&:hover {
opacity: 1;
}
}
.btn-group.open .btn.btn-transparent.dropdown-toggle {
color: #BD362F;
}
.btn-group > .btn.single {
border-radius: var(--input-border-radius, 3px) !important;
2021-03-22 20:46:03 +08:00
}
2023-01-12 23:54:40 +08:00
.search-input-wrp {
position: relative;
2023-01-16 21:10:55 +08:00
text-align: right;
2023-01-12 23:54:40 +08:00
}
.search-input-wrp a {
position: absolute;
right: 0;
top: 5px;
margin: 0 7px;
z-index: 100;
opacity: .4;
cursor: pointer;
&:hover {
opacity: .6;
}
}
2023-01-25 16:52:30 +08:00
#rl-left .search-input-wrp {
margin-right: 8px;
}
2023-01-12 23:54:40 +08:00
/* desktop */
@media screen and (min-width: 1000px) {
}
/* desktop-large */
@media screen and (min-width: 1401px) {
#rl-left {
width: @rlLeftWidth + 20;
}
#V-MailMessageList {
width: 40%;
}
html.rl-side-preview-pane {
#V-MailMessageView {
left: 40%;
}
}
}
/* mobile and tablet */
@media screen and (max-width: 999px) {
#rl-left {
width: 155px;
}
2021-04-30 22:39:27 +08:00
#rl-settings-subscreen {
padding: 10px;
}
2021-03-22 20:46:03 +08:00
.dropdown-menu a {
line-height: 2.5;
}
}
2020-10-01 17:10:40 +08:00
html:not(.rl-ctrl-key-pressed) .visible-on-ctrl-btn,
html.rl-ctrl-key-pressed .hidden-on-ctrl-btn,
2014-05-08 06:20:17 +08:00
.show-on-panel-disabled {
display: none;
}
2014-04-27 08:54:22 +08:00
html.rl-left-panel-disabled {
#rl-left {
width: 60px !important;
2014-05-08 06:20:17 +08:00
.show-on-panel-disabled {
display: block;
}
2021-04-30 22:39:27 +08:00
.b-content {
2014-08-28 23:27:30 +08:00
opacity: 0.3;
2014-05-08 06:20:17 +08:00
}
.hide-on-panel-disabled {
display: none;
}
}
}
html.rl-no-preview-pane {
#V-MailMessageList {
position: absolute;
left: 0;
right: 0;
width: auto;
}
}
html.rl-mobile #rl-left > .resizer,
html.rl-no-preview-pane #rl-right .resizer {
2015-01-09 07:31:31 +08:00
display: none !important;
}
html.rl-mobile {
2023-01-26 22:37:27 +08:00
#rl-left {
background: var(--main-bg-color, #aaa);
border-right: 1px solid var(--border-color, #ddd);
2023-01-26 22:37:27 +08:00
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: 50vw;
z-index: 2;
}
&.rl-left-panel-disabled #rl-left {
display: none;
}
}
html.rl-bottom-preview-pane {
#V-MailMessageList {
2021-11-05 17:20:06 +08:00
height: 300px;
position: absolute;
left: 0;
right: 0;
width: auto;
}
#V-MailMessageView {
top: 300px;
}
}
html.rl-mobile .hide-mobile,
html:not(.rl-mobile) .show-mobile {
2016-05-01 19:51:49 +08:00
display: none !important;
2016-05-01 09:07:10 +08:00
}
.e-paginator {
2021-11-05 18:17:46 +08:00
a {
opacity: 0.5;
text-decoration: none;
font-size: 22px;
padding: 3px;
cursor: pointer;
&:hover {
opacity: 0.8;
}
&.current {
opacity: 1;
font-size: 25px;
cursor: default;
}
}
}