mirror of
https://github.com/discourse/discourse.git
synced 2025-03-26 16:15:42 +08:00
Style the site setting category links. Required and Basic Setup are bigger and all other links are to the right of them.
This commit is contained in:
parent
c57232b73d
commit
d9e4eec49f
app/assets
@ -10,9 +10,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills site-settings-nav">
|
||||||
{{#each category in controller}}
|
{{#each category in controller}}
|
||||||
<li>{{#link-to 'adminSiteSettingsCategory' category.nameKey}}{{category.name}}{{/link-to}}</li>
|
<li {{bindAttr class="category.nameKey"}}>{{#link-to 'adminSiteSettingsCategory' category.nameKey class=category.nameKey}}{{category.name}}{{/link-to}}</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
@ -143,6 +143,24 @@ td {border-bottom: 1px solid #ddd; border-top: 1px solid #ddd;}
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.site-settings-nav {
|
||||||
|
li {
|
||||||
|
background-color: grayscale($nav-pills-background-color-hover);
|
||||||
|
margin-bottom: 5px;
|
||||||
|
|
||||||
|
&.required, &.basic {
|
||||||
|
margin-bottom: 20px; // so nothing floats underneath these ones
|
||||||
|
}
|
||||||
|
|
||||||
|
> a {
|
||||||
|
font-size: 13px;
|
||||||
|
&.required, &.basic {
|
||||||
|
font-size: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.settings {
|
.settings {
|
||||||
.setting {
|
.setting {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user