snappymail/dev/Styles/Layout.less

400 lines
4.7 KiB
Text
Raw Normal View History

#rl-bg {
z-index: -1;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
}
#rl-content {
height: 100%;
width: 100%;
}
#rl-center {
.g-ui-absolute-reset;
2014-04-27 08:54:22 +08:00
min-width: 600px;
min-height: 400px;
}
2016-05-01 09:07:10 +08:00
html.rl-mobile {
#rl-center {
min-width: 250px;
min-height: 250px;
}
&.rl-left-panel-enabled #rl-right {
right: -150px;
}
&.rl-left-panel-disabled #rl-right {
left: 5px !important;
}
}
#rl-top {
.g-ui-absolute-reset;
bottom: auto;
z-index: 2;
}
#rl-bottom {
.g-ui-absolute-reset;
top: auto;
z-index: 1;
}
#rl-left {
.g-ui-absolute-reset;
width: @rlLeftWidth;
2014-05-08 06:20:17 +08:00
min-width: 60px;
}
#rl-right {
.g-ui-absolute-reset;
z-index: 1;
left: @rlLeftWidth;
}
#rl-sub-left {
position: absolute;
top: 0;
bottom: 0;
left: 0;
2013-12-31 19:57:02 +08:00
width: 500px;
}
#rl-sub-right {
position: absolute;
top: 0;
bottom: 0;
right: 0;
2013-12-31 19:57:02 +08:00
left: 500px;
}
html.ssm-state-desktop-large {
#rl-left {
width: @rlLeftWidth + 20;
}
#rl-right {
left: @rlLeftWidth + 20;
}
#rl-sub-left {
width: 500px;
}
#rl-sub-right {
left: 500px;
}
.b-compose.modal {
width: 1000px;
}
.b-contacts-content.modal {
width: 900px;
}
}
html.ssm-state-desktop {
#rl-left {
width: @rlLeftWidth;
}
#rl-right {
left: @rlLeftWidth;
}
#rl-sub-left {
width: 400px;
}
#rl-sub-right {
left: 400px;
}
.b-compose.modal {
width: 1000px;
}
.b-contacts-content.modal {
width: 900px;
}
}
html.ssm-state-tablet, html.ssm-state-mobile {
#rl-left {
width: 155px;
}
#rl-right {
left: 155px;
}
#rl-sub-left {
width: 310px;
.messageList .inputSearch {
width: 200px;
}
}
#rl-sub-right {
left: 310px;
}
.b-compose.modal {
2015-02-22 06:00:51 +08:00
width: 720px;
}
.b-contacts-content.modal {
2014-05-08 22:52:54 +08:00
width: 700px;
}
.b-contacts-content.modal {
.contactValueInput {
width: 200px;
}
}
}
html.ssm-state-tablet {
.b-compose.modal {
2015-02-22 06:00:51 +08:00
width: 720px;
}
.b-contacts-content.modal {
width: 800px;
}
.b-contacts-content.modal {
.contactValueInput {
width: 250px;
}
}
}
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;
}
.opacity-on-panel-disabled {
2014-08-28 23:27:30 +08:00
opacity: 0.3;
2014-05-08 06:20:17 +08:00
}
.visibility-hidden-on-panel-disabled {
visibility: hidden;
}
.hide-on-panel-disabled {
display: none;
}
&.ui-state-disabled {
2014-08-28 23:27:30 +08:00
opacity: 1;
2014-05-08 06:20:17 +08:00
}
}
#rl-right {
left: 60px !important;
}
}
html.rl-left-panel-short {
#rl-left {
width: 60px !important;
}
#rl-right {
left: 60px !important;
}
}
html.rl-left-panel-none {
#rl-left {
width: 10px !important;
}
#rl-right {
left: 10px !important;
}
}
2015-01-09 07:31:31 +08:00
.ui-resizable-helper-w {
2014-01-03 21:32:25 +08:00
border-right: 5px solid #777;
border-right-color: rgba(255,255,255,0.7);
}
2015-01-09 07:31:31 +08:00
.ui-resizable-helper-h {
border-bottom: 5px solid #ccc;
border-bottom-color: rgba(0,0,0,0.3);
}
2015-01-19 04:29:11 +08:00
.ui-resizable-handle:hover {
background: #aaa;
background: rgba(255,255,255,0.5);
2015-01-09 07:31:31 +08:00
}
html.rl-no-preview-pane {
#rl-sub-left {
right: @rlBottomMargin !important;
width: inherit;
.messageList .inputSearch {
width: 300px !important;
}
}
#rl-sub-right {
left: 0 !important;
}
#rl-right .ui-resizable-handle {
display: none !important;
}
}
2015-01-09 07:31:31 +08:00
html.rl-side-preview-pane #rl-right .ui-resizable-handle {
display: none !important;
}
html.rl-bottom-preview-pane {
#rl-sub-left {
right: @rlBottomMargin !important;
width: inherit;
.b-message-list-wrapper {
bottom: inherit;
height: 300px;
box-shadow: none;
}
.messageList .inputSearch {
width: 300px !important;
}
}
#rl-sub-right {
left: 0 !important;
.messageView .top-toolbar {
display: none;
}
.b-message-view-wrapper {
top: 356px;
left: 0;
right: 5px;
box-shadow: none;
}
}
}
.visible-on-ctrl, .visible-on-ctrl-btn {
display: none;
}
.hidden-on-ctrl-btn {
display: inline-block;
}
html.rl-ctrl-key-pressed {
.visible-on-ctrl {
display: inline-block;
}
.btn-group.open .visible-on-ctrl-btn {
display: inline-block;
}
.hidden-on-ctrl {
display: none;
}
.btn-group.open .hidden-on-ctrl-btn {
display: none;
}
}
#rl-loading, #rl-loading-error {
position: absolute;
2014-08-28 16:03:23 +08:00
font-size: 30px;
2016-05-20 08:04:15 +08:00
line-height: 130%;
top: 50%;
width: 100%;
height: 65px;
margin: 0;
margin-top: -60px;
background-color: transparent;
text-align: center;
color: #000;
}
#rl-loading-error {
background-image: none;
display: none;
}
2014-10-29 06:05:50 +08:00
2015-01-10 03:58:10 +08:00
#rl-loading-error-additional {
margin-top: 20px;
font-size: 20px;
}
2016-05-01 09:07:10 +08:00
2016-05-20 08:04:15 +08:00
#rl-app{
display: none;
}
#rl-check{
2016-05-24 05:56:48 +08:00
display: none;
}
.rl-content-show {
display: block !important;
2016-05-20 08:04:15 +08:00
}
2016-05-01 09:07:10 +08:00
html.rl-mobile .hide-on-mobile {
2016-05-01 19:51:49 +08:00
display: none !important;
2016-05-01 09:07:10 +08:00
}
.show-on-mobile {
2016-05-01 19:51:49 +08:00
display: none !important;
2016-05-01 09:07:10 +08:00
}
html.rl-mobile .show-on-mobile {
2016-05-01 19:51:49 +08:00
display: initial !important;
2016-05-01 09:07:10 +08:00
}
2016-05-01 19:51:49 +08:00
2016-05-01 09:07:10 +08:00
html.rl-mobile .width100-on-mobile {
2016-05-01 19:51:49 +08:00
width: 100% !important;
2016-05-01 09:07:10 +08:00
}