mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
settings/styles: Nest all .settings-section rules.
This commit is contained in:
committed by
Tim Abbott
parent
9acd8caa59
commit
a858d51a85
@@ -217,85 +217,86 @@ td .button {
|
|||||||
display: none;
|
display: none;
|
||||||
width: calc(100% - 40px);
|
width: calc(100% - 40px);
|
||||||
margin: 20px;
|
margin: 20px;
|
||||||
}
|
|
||||||
|
|
||||||
.settings-section.show {
|
&.show {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section form {
|
form {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section .no-padding {
|
.no-padding {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section label > a,
|
label > a,
|
||||||
.settings-section h3 > a {
|
h3 > a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section label .fa-question-circle-o {
|
label .fa-question-circle-o {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
left: 2px;
|
left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section h3 .fa-question-circle-o {
|
h3 .fa-question-circle-o {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section .fa-question-circle-o {
|
.fa-question-circle-o {
|
||||||
opacity: 0.4;
|
opacity: 0.4;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
|
||||||
|
|
||||||
.settings-section .fa-question-circle-o:hover {
|
&:hover {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings-section .settings-section-title {
|
.settings-section-title {
|
||||||
font-size: 1.4em;
|
font-size: 1.4em;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 10px 0px 10px 0px;
|
margin: 10px 0px 10px 0px;
|
||||||
}
|
|
||||||
|
|
||||||
.settings-section .settings-section-title.transparent {
|
&.transparent {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section .settings-section-title .table-title {
|
.table-title {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 6px 0px;
|
padding: 6px 0px;
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
}
|
|
||||||
|
|
||||||
.settings-section .settings-section-title .table-title i {
|
i {
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings-section .table-striped tbody {
|
.table-striped {
|
||||||
|
tbody {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section .table-striped thead th {
|
thead th {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
border-top: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
border-top: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
||||||
border-bottom: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
border-bottom: 1px solid hsla(0, 0%, 0%, 0.2) !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings-section input[type=text].search {
|
input[type=text].search {
|
||||||
float: right;
|
float: right;
|
||||||
margin: 2px 5px 2px 0px;
|
margin: 2px 5px 2px 0px;
|
||||||
padding: 2px 5px;
|
padding: 2px 5px;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section .upgrade-tip,
|
.upgrade-tip,
|
||||||
.settings-section .tip {
|
.tip {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
background-color: hsl(46, 63%, 95%);
|
background-color: hsl(46, 63%, 95%);
|
||||||
@@ -306,31 +307,33 @@ td .button {
|
|||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color: hsl(0, 0%, 40%);
|
color: hsl(0, 0%, 40%);
|
||||||
}
|
|
||||||
|
|
||||||
.settings-section .upgrade-tip::before,
|
&::before {
|
||||||
.settings-section .tip::before {
|
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
|
||||||
font-family: FontAwesome, "Yantramanav", Source Sans Pro;
|
font-family: FontAwesome, "Yantramanav", Source Sans Pro;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings-section .upgrade-tip::before {
|
.upgrade-tip {
|
||||||
|
&::before {
|
||||||
content: "\f135";
|
content: "\f135";
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-section .upgrade-tip:hover {
|
&:hover {
|
||||||
color: hsl(0, 0%, 20%);
|
color: hsl(0, 0%, 20%);
|
||||||
border: 1px solid hsl(49, 20%, 60%);
|
border: 1px solid hsl(49, 20%, 60%);
|
||||||
box-shadow: 0px 0px 4px hsla(199, 79%, 56%, .2);
|
box-shadow: 0px 0px 4px hsla(199, 79%, 56%, .2);
|
||||||
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings-section .tip::before {
|
.tip::before {
|
||||||
content: "\f0a2";
|
content: "\f0a2";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#admin-user-list .table tr:first-of-type td,
|
#admin-user-list .table tr:first-of-type td,
|
||||||
|
|||||||
Reference in New Issue
Block a user