snappymail/dev/Styles/Layout.less
2014-08-28 19:27:30 +04:00

276 lines
3.2 KiB
Text

#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;
min-width: 600px;
min-height: 400px;
}
#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;
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;
width: 500px;
}
#rl-sub-right {
position: absolute;
top: 0;
bottom: 0;
right: 0;
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 {
width: 700px;
}
.b-contacts-content.modal {
width: 700px;
}
.b-contacts-content.modal {
.contactValueInput {
width: 200px;
}
}
}
html.ssm-state-tablet {
.b-compose.modal {
width: 700px;
}
.b-contacts-content.modal {
width: 800px;
}
.b-contacts-content.modal {
.contactValueInput {
width: 250px;
}
}
}
.show-on-panel-disabled {
display: none;
}
html.rl-left-panel-disabled {
#rl-left {
width: 60px !important;
.show-on-panel-disabled {
display: block;
}
.opacity-on-panel-disabled {
opacity: 0.3;
}
.visibility-hidden-on-panel-disabled {
visibility: hidden;
}
.hide-on-panel-disabled {
display: none;
}
&.ui-state-disabled {
opacity: 1;
}
}
#rl-right {
left: 60px !important;
}
}
.ui-resizable-helper {
border-right: 5px solid #777;
border-right-color: rgba(255,255,255,0.7);
}
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;
}
}
.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;
font-size: 30px;
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;
}