mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
CSS "dark mode" improvements
This commit is contained in:
parent
e8deb4ff16
commit
eb0d1ecccb
4 changed files with 473 additions and 510 deletions
|
|
@ -28,33 +28,18 @@
|
|||
|
||||
.modal-body {
|
||||
overflow: auto;
|
||||
height: 100%;
|
||||
background-color: #f5f5f5;
|
||||
height: calc(100% - 49px);
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.b-header-toolbar {
|
||||
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
color: #fff;
|
||||
height: 40px;
|
||||
|
||||
.close {
|
||||
color: #fff;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.btn {
|
||||
margin-top: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.b-list-toolbar {
|
||||
padding: 0;
|
||||
height: 45px;
|
||||
text-align: right;
|
||||
height: 44px;
|
||||
text-align: center;
|
||||
width: @contacts-popup-left-width;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
border-bottom: 1px solid rgba(128,128,128,0.4);
|
||||
|
||||
.e-search {
|
||||
margin-top: 7px;
|
||||
|
|
@ -66,9 +51,9 @@
|
|||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
height: 105px;
|
||||
height: 46px;
|
||||
width: @contacts-popup-left-width;
|
||||
background-color: #eee;
|
||||
background-color: var(--message-list-toolbar-bg-color,#eee);
|
||||
box-shadow: inset 0 1px 0 #ccc;
|
||||
|
||||
.footer-pager {
|
||||
|
|
@ -80,7 +65,7 @@
|
|||
.b-list-content {
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
bottom: 105px;
|
||||
bottom: 46px;
|
||||
left: 0;
|
||||
width: @contacts-popup-left-width;
|
||||
overflow: hidden;
|
||||
|
|
@ -92,12 +77,10 @@
|
|||
}
|
||||
|
||||
.listClear {
|
||||
color: #333;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 13px;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
}
|
||||
|
||||
|
|
@ -114,22 +97,21 @@
|
|||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
// .e-contact-foreach {
|
||||
// border-bottom: 1px solid #ddd;
|
||||
// }
|
||||
}
|
||||
|
||||
.e-contact-item {
|
||||
display: flex;
|
||||
height: 55px;
|
||||
max-height: 45px;
|
||||
line-height: 45px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
|
||||
margin: 0;
|
||||
border: 0;
|
||||
border-left: 6px solid #eee;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-bottom: 1px solid rgba(128,128,128,0.25);
|
||||
|
||||
&.focused {
|
||||
border-left-color: #bbb;
|
||||
|
|
@ -146,7 +128,6 @@
|
|||
}
|
||||
|
||||
.nameParent {
|
||||
color: #333;
|
||||
font-size: 16px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -164,7 +145,7 @@
|
|||
|
||||
&.selected {
|
||||
|
||||
background-color: #fff;
|
||||
background-color: rgba(140, 200, 255, 0.3);
|
||||
border-left-color: #398CF2;
|
||||
|
||||
&.focused {
|
||||
|
|
@ -172,18 +153,16 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.b-view-content-toolbar {
|
||||
background-color: #f5f5f5;
|
||||
padding: 7px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: @contacts-popup-left-width;
|
||||
height: 31px;
|
||||
height: 30px;
|
||||
text-align: right;
|
||||
box-shadow: inset 0 -1px 0 #ccc;
|
||||
border-bottom: 1px solid rgba(128,128,128,0.4);
|
||||
|
||||
.button-save-contact {
|
||||
&.dirty:enabled {
|
||||
|
|
@ -200,13 +179,11 @@
|
|||
.b-view-content {
|
||||
position: absolute;
|
||||
top: 45px;
|
||||
bottom: 60px;
|
||||
bottom: 0;
|
||||
left: @contacts-popup-left-width;
|
||||
right: 0;
|
||||
overflow: auto;
|
||||
|
||||
background-color: #fff;
|
||||
border-left: 1px solid #ddd;
|
||||
border-left: 1px solid rgba(128,128,128,0.25);
|
||||
|
||||
.content {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
|
@ -218,7 +195,6 @@
|
|||
font-size: 18px;
|
||||
display: inline-block;
|
||||
padding: 5px 7px;
|
||||
color: #555;
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -280,10 +256,6 @@
|
|||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
border-color: #999;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: #ddd;
|
||||
}
|
||||
}
|
||||
|
||||
.contactValueTextArea {
|
||||
|
|
@ -331,21 +303,6 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.e-contact-item {
|
||||
|
||||
position: relative;
|
||||
height: 55px;
|
||||
max-height: 60px;
|
||||
line-height: 22px;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
|
||||
margin: 0;
|
||||
border: 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -134,7 +134,6 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
|
||||
.listClear {
|
||||
color: #333;
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
|
|
@ -201,6 +200,7 @@ html.rl-no-preview-pane {
|
|||
background-color: #f4f4f4;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.messageListItem {
|
||||
|
||||
|
|
@ -408,7 +408,7 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
|
||||
&.selected {
|
||||
background-color: #DFEFFF;
|
||||
background-color: rgba(140, 200, 255, 0.3);
|
||||
border-bottom-color: rgba(57, 140, 242, 0.2);
|
||||
border-left-color: #398CF2;
|
||||
z-index: 101;
|
||||
|
|
@ -424,7 +424,6 @@ html.rl-no-preview-pane {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.message-focused {
|
||||
.b-message-list-wrapper {
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="b-list-footer-toolbar">
|
||||
<div class="b-list-footer-toolbar thm-message-list-bottom-toolbar">
|
||||
<div class="footer-pager">
|
||||
<!-- ko template: { name: 'Paginator', data: contactsPaginator } --><!-- /ko -->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@
|
|||
text-shadow: 0 -1px 0 rgba(255,255,255,.25);
|
||||
background-color: #000;
|
||||
}
|
||||
.btn:not(.btn-success):not(.btn-warning):not(.btn-danger).active, .btn:not(.btn-success):not(.btn-warning):not(.btn-danger):active {
|
||||
.btn:not(.btn-success):not(.btn-warning):not(.btn-danger).active,
|
||||
.btn:not(.btn-success):not(.btn-warning):not(.btn-danger):active {
|
||||
box-shadow: inset 0 2px 4px rgba(255,255,255,.5), 0 1px 2px rgba(255,255,255,.25);
|
||||
}
|
||||
.btn .icon-spinner {
|
||||
|
|
@ -120,13 +121,13 @@
|
|||
border-bottom-color: #444;
|
||||
}
|
||||
|
||||
.messageList .b-content .messageListItem {
|
||||
.messageList .messageListItem {
|
||||
background-color: #111;
|
||||
border-left-color: #111;
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
.messageList .b-content .messageListItem.focused,
|
||||
.messageList .messageListItem.focused,
|
||||
#rl-popups .b-languages-content .lang-item {
|
||||
background-color: #222;
|
||||
}
|
||||
|
|
@ -137,17 +138,23 @@
|
|||
background-color: #333;
|
||||
}
|
||||
|
||||
.messageList .b-content .messageListItem.hasUnseenSubMessage,
|
||||
.messageList .b-content .messageListItem.unseen,
|
||||
.messageList .messageListItem.hasUnseenSubMessage,
|
||||
.messageList .messageListItem.unseen,
|
||||
#rl-popups .b-languages-content .lang-item.user {
|
||||
background-color: #220;
|
||||
}
|
||||
|
||||
.messageList .b-content .messageListItem.selected {
|
||||
background-color: #345;
|
||||
}
|
||||
|
||||
.b-themes-list .e-item.selected,
|
||||
#rl-popups .b-languages-content .lang-item.selected {
|
||||
background-color: #020;
|
||||
}
|
||||
|
||||
.table-striped tbody tr:nth-child(2n+1) td,
|
||||
.table-striped tbody tr:nth-child(2n+1) th {
|
||||
background-color: #111;
|
||||
}
|
||||
.nav-tabs > .active > a,
|
||||
.nav-tabs > .active > a:hover {
|
||||
color: #fff;
|
||||
background-color: #000;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue