mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-02 21:12:02 +08:00
Centralize attachmentName styling
This commit is contained in:
parent
c121a233d6
commit
b138c1b4a0
3 changed files with 17 additions and 21 deletions
|
@ -35,7 +35,7 @@
|
||||||
@import "User/OpenPgpKey.less";
|
@import "User/OpenPgpKey.less";
|
||||||
@import "User/Identity.less";
|
@import "User/Identity.less";
|
||||||
@import "User/AdvancedSearch.less";
|
@import "User/AdvancedSearch.less";
|
||||||
@import "User/Attachmnets.less";
|
@import "User/Attachments.less";
|
||||||
@import "User/MessageList.less";
|
@import "User/MessageList.less";
|
||||||
@import "User/MessageView.less";
|
@import "User/MessageView.less";
|
||||||
@import "User/Contacts.less";
|
@import "User/Contacts.less";
|
||||||
|
|
|
@ -30,11 +30,6 @@
|
||||||
right: 6px;
|
right: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachmentSize {
|
|
||||||
font-size: 12px;
|
|
||||||
opacity: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.error {
|
&.error {
|
||||||
.iconMain, .iconPreview, .attachmentSize, .attachmentName {
|
.iconMain, .iconPreview, .attachmentSize, .attachmentName {
|
||||||
color: red;
|
color: red;
|
||||||
|
@ -73,16 +68,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachmentNameParent {
|
.attachmentNameParent {
|
||||||
|
|
||||||
position: relative;
|
|
||||||
|
|
||||||
margin-left: 60px;
|
|
||||||
padding: 4px 4px 3px 6px;
|
|
||||||
min-width: 90px;
|
|
||||||
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
border-left: 1px solid #ddd;
|
border-left: 1px solid #ddd;
|
||||||
|
cursor: pointer;
|
||||||
|
margin-left: 60px;
|
||||||
|
min-width: 90px;
|
||||||
|
padding: 4px 4px 3px 6px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.attachmentName {
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.attachmentSize {
|
||||||
|
font-size: 12px;
|
||||||
|
opacity: 0.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconMain, .iconPreview {
|
.iconMain, .iconPreview {
|
|
@ -36,12 +36,6 @@
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.attachmentName {
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.no-attachments-desc {
|
.no-attachments-desc {
|
||||||
padding-top: 50px;
|
padding-top: 50px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in a new issue