Reduce CSS footprint

This commit is contained in:
djmaze 2021-03-08 17:23:21 +01:00
parent 4570b87232
commit ab9e56f8b6
18 changed files with 222 additions and 249 deletions

View file

@ -1,6 +1,4 @@
#rl-popups {
.b-account-add-content {
.b-account-add-content {
.modal-header {
}
}
}

View file

@ -2,11 +2,11 @@
&.modal {
width: 660px;
}
.modal-body {
overflow: auto;
}
}
.information {
display: inline-block;

View file

@ -1,13 +1,11 @@
#rl-popups {
.b-advanced-search-content {
.b-advanced-search-content {
&.modal {
width: 780px;
}
.control-label {
width: 110px;
}
.span4 {
width: 360px;
}
}
}
}

View file

@ -1,5 +1,4 @@
#rl-popups {
.b-ask-content {
.b-ask-content {
.modal-body {
text-align: center;
@ -8,5 +7,4 @@
.desc-place {
font-size: 18px;
}
}
}

View file

@ -5,11 +5,11 @@
width: 98%;
max-width: 1000px;
min-height: calc(100% - 52px);
}
.modal-body {
padding: 0;
}
}
.textAreaParent, .attachmentAreaParent {
box-sizing: border-box;

View file

@ -25,6 +25,7 @@
max-width: 900px;
min-height: 300px;
max-height: 700px;
}
.modal-body {
overflow: auto;
@ -32,8 +33,6 @@
padding: 0;
}
}
.b-list-toolbar {
padding: 0;
height: 44px;

View file

@ -1,5 +1,4 @@
#rl-popups {
.b-filter-content {
.b-filter-content {
width: 750px;
@ -11,5 +10,4 @@
margin-top: -2px;
margin-left: 5px;
}
}
}

View file

@ -1,6 +1,4 @@
#rl-popups {
.b-folder-clear-content {
.b-folder-clear-content {
.modal-header {
}
}
}

View file

@ -1,6 +1,4 @@
#rl-popups {
.b-folder-create-content {
.b-folder-create-content {
.modal-header {
}
}
}

View file

@ -1,6 +1,4 @@
#rl-popups {
.b-folder-system-content {
.b-folder-system-content {
.modal-header {
}
}
}

View file

@ -1,5 +1,4 @@
#rl-popups {
.b-identity-content {
.b-identity-content {
&.modal {
width: 770px;
@ -19,5 +18,4 @@
margin-top: 5px;
font-weight: bold;
}
}
}

View file

@ -1,5 +1,4 @@
#rl-popups {
.b-languages-content {
.b-languages-content {
&.modal {
width: 700px;
@ -36,7 +35,6 @@
border-color: #ccc;
}
}
}
}
@media screen and (max-width: 999px) {

View file

@ -1,11 +1,10 @@
#rl-popups {
.b-open-pgp-key-view-content, .b-open-pgp-key-generate-content {
.b-open-pgp-key-view-content, .b-open-pgp-key-generate-content {
&.modal {
width: 570px;
}
}
}
.b-open-pgp-key-view-content, .b-open-pgp-key-generate-content, .b-open-pgp-key-add-content, .b-compose-open-pgp-content, .b-message-open-pgp-content {
.b-open-pgp-key-view-content, .b-open-pgp-key-generate-content, .b-open-pgp-key-add-content, .b-compose-open-pgp-content, .b-message-open-pgp-content {
.inputKey {
font-family: var(--fontMono);
@ -15,9 +14,9 @@
max-height: 500px;
overflow: auto;
}
}
}
.b-compose-open-pgp-content {
.b-compose-open-pgp-content {
&.modal {
width: 800px;
}
@ -99,9 +98,9 @@
background-color: #f5f5f5;
}
}
}
}
.b-message-open-pgp-content {
.b-message-open-pgp-content {
&.modal {
width: 700px;
}
@ -136,9 +135,9 @@
}
}
}
}
}
.b-open-pgp-key-add-content {
.b-open-pgp-key-add-content {
&.modal {
width: 645px;
@ -148,5 +147,4 @@
}
}
}
}

View file

@ -169,8 +169,8 @@ Secondly, we can't rely on MUA's what to do with :empty
right: 0;
}
.rl-mobile #rl-popups .b-compose.modal,
.rl-mobile #rl-popups .b-identity-content.modal {
.rl-mobile .b-compose.modal,
.rl-mobile .b-identity-content.modal {
margin-bottom: 50px;
}
.rl-mobile .b-compose.modal {

View file

@ -1,5 +1,4 @@
#rl-popups {
.b-template-add-content {
.b-template-add-content {
&.modal {
width: 750px;
@ -8,5 +7,4 @@
.e-template-place {
height: 300px;
}
}
}

View file

@ -1,12 +1,8 @@
#rl-popups {
.b-two-factor-content {
.b-two-factor-content {
width: 750px;
.modal-body {
min-height: 100px;
}
}
}

View file

@ -97,7 +97,7 @@ label.inline, span.inline {
/* mobile and tablet */
@media screen and (max-width: 999px) {
#rl-popups .modal {
.modal {
width: calc(~'100% - 20px') !important;
}

View file

@ -1,4 +1,4 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Text-level semantics
========================================================================== */