snappymail/dev/Styles/FolderList.less

274 lines
4.5 KiB
Plaintext
Raw Normal View History

@folderItemPadding: 10px;
@subPadding: 15px;
.b-folders {
&.focused .b-content {
}
2015-03-10 03:42:43 +08:00
.b-folders-user {
.e-link.print-count.system .badge {
display: none !important;
}
}
.b-toolbar {
position: absolute;
top: 0;
right: 0;
left: 0;
height: 30px;
2016-04-30 04:28:02 +08:00
padding: 10px 0 0 @rlLowMargin;
color: #fff;
2014-05-08 06:20:17 +08:00
z-index: 101;
}
.b-footer {
position: absolute;
2016-04-29 04:32:54 +08:00
bottom: 10px;
right: 0;
left: 0;
2016-04-29 04:32:54 +08:00
height: 30px;
2014-05-08 06:20:17 +08:00
padding: 0 10px 0 5px;
z-index: 101;
2016-04-29 04:32:54 +08:00
overflow: hidden;
white-space: nowrap;
}
.b-content {
position: absolute;
top: 50px + @rlLowMargin;
2014-05-08 06:20:17 +08:00
bottom: 32px + @rlLowMargin + @rlBottomMargin;
left: 0;
right: 0;
overflow: hidden;
overflow-y: auto;
min-width: 100px;
.content {
-webkit-overflow-scrolling: touch;
}
}
.b-list-delimiter {
margin: 10px;
border-top: 0px solid #000;
border-bottom: 1px solid #999;
}
.b-content .e-item {
overflow: hidden;
white-space: nowrap;
.e-link {
display: block;
position: relative;
z-index: 1;
height: 34px;
line-height: 34px;
background-color: transparent;
vertical-align: middle;
color: grey;
cursor: not-allowed;
font-size: 14px;
2015-10-14 00:36:43 +08:00
.focused-poiner {
float: left;
display: inline-block;
background-color: transparent;
height: 100%;
width: 3px;
position: absolute;
top: 0;
left: 0;
}
2016-04-29 04:32:54 +08:00
.inbox-star-icon {
display: none;
margin-left: 7px;
.icon-star {
display: none;
}
.icon-star-empty {
opacity: .5;
}
}
&.is-inbox .inbox-star-icon {
display: inline;
}
padding: 0;
padding-left: @folderItemPadding;
padding-right: @folderItemPadding;
outline: 0;
text-decoration: none;
&.selectable {
color: #000;
cursor: pointer;
&:hover, &.selected, &.focused, &.droppableHover {
background-color: #555;
color: #fff;
}
&.focused {
color: #fff;
}
}
&.focused {
background-color: #888;
2015-10-14 00:36:43 +08:00
.focused-poiner {
background-color: #fff;
}
}
&.system {
cursor: default;
color: grey;
}
.count {
position: relative;
display: none;
margin-top: 5px;
line-height: 19px;
}
&.print-count {
font-weight: bold;
.count {
display: inline;
}
}
2014-01-23 02:55:17 +08:00
&.unread-sub {
font-weight: bold;
}
.e-collapsed-sign {
cursor: pointer;
width: 22px;
height: 30px;
line-height: 30px;
text-align: center;
vertical-align: inherit;
}
}
.hidden.e-link {
display: none;
}
.b-sub-folders.collapsed {
max-height: 0;
height: 0;
display: none;
}
}
2016-04-29 04:32:54 +08:00
&.inbox-is-starred {
.icon-star {
color: orange;
display: inline-block !important;
}
.icon-star-empty {
display: none;
}
}
.b-folder-system-item {
font-weight: bold;
}
.b-sub-folders .e-item .e-link {
padding-left: @subPadding * 1 + @folderItemPadding;
}
.b-sub-folders .b-sub-folders .e-item .e-link {
padding-left: @subPadding * 2 + @folderItemPadding;
}
.b-sub-folders .b-sub-folders .b-sub-folders .e-item .e-link {
padding-left: @subPadding * 3 + @folderItemPadding;
}
.b-sub-folders .b-sub-folders .b-sub-folders .b-sub-folders .e-item .e-link {
padding-left: @subPadding * 4 + @folderItemPadding;
}
2015-02-23 02:25:34 +08:00
/**/
&.single-root-inbox .i-am-inbox.e-link {
2015-02-23 02:25:34 +08:00
display: none !important;
}
2015-02-23 02:25:34 +08:00
&.single-root-inbox .i-am-inbox-wrapper > .b-sub-folders {
max-height: none !important;
height: inherit !important;
display: block !important;
}
&.single-root-inbox .i-am-inbox-wrapper {
.b-sub-folders .e-item .e-link {
padding-left: @folderItemPadding;
}
.b-sub-folders .b-sub-folders .e-item .e-link {
padding-left: @subPadding * 1 + @folderItemPadding;
}
.b-sub-folders .b-sub-folders .b-sub-folders .e-item .e-link {
padding-left: @subPadding * 2 + @folderItemPadding;
}
.b-sub-folders .b-sub-folders .b-sub-folders .b-sub-folders .e-item .e-link {
padding-left: @subPadding * 3 + @folderItemPadding;
}
}
2015-02-18 04:12:48 +08:00
/**/
}
2014-05-08 06:20:17 +08:00
2016-04-30 04:28:02 +08:00
.btn {
.btn-text-wrp {
padding-left: 7px;
white-space: normal;
}
&.buttonCompose {
width: calc(~'100% - 85px');
max-width: fit-content;
white-space: nowrap;
overflow: hidden;
2016-05-01 09:07:10 +08:00
height: 19px;
2016-04-30 04:28:02 +08:00
display: inline-block;
2016-05-01 19:51:49 +08:00
margin-top: 1px;
2016-04-30 04:28:02 +08:00
}
}
html.rl-left-panel-disabled, html.rl-left-panel-short {
2016-04-30 04:28:02 +08:00
.buttonComposeText{
display: none;
}
.btn.buttonCompose {
width: auto;
}
2014-05-08 06:20:17 +08:00
.btn.buttonContacts {
margin-top: 10px !important;
margin-left: 0 !important;
}
2016-05-01 19:51:49 +08:00
&.rl-mobile #rl-left {
2016-05-01 09:07:10 +08:00
visibility: hidden;
}
}
html.rl-mobile {
.btn.buttonCompose {
width: 100%;
}
.btn.buttonContacts {
display: none;
}
2014-05-08 06:20:17 +08:00
}