mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
Major CSS revamp
- Get rid of Bootstrap (except we still rely on some JS) - Use BEM class names - Rework variables/theme config - Fix various bugs, including some on mobile The CSS is still not ideal – it needs to be cleaned up some more. But that can be a focus for after beta.
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
top: @header-height;
|
||||
bottom: 0;
|
||||
width: @admin-pane-width;
|
||||
box-shadow: 0 2px 6px @fl-shadow-color;
|
||||
background: @fl-body-bg;
|
||||
border-top: 1px solid @fl-body-control-bg;
|
||||
box-shadow: 0 2px 6px @shadow-color;
|
||||
background: @body-bg;
|
||||
border-top: 1px solid @control-bg;
|
||||
|
||||
& .dropdown-select .dropdown-menu > li {
|
||||
& > a {
|
||||
@@ -26,14 +26,14 @@
|
||||
white-space: normal;
|
||||
}
|
||||
& > a, & > a:hover, &.active > a {
|
||||
color: @fl-body-muted-color;
|
||||
color: @muted-color;
|
||||
}
|
||||
&.active > a {
|
||||
background: @fl-body-secondary-color;
|
||||
background: @control-bg;
|
||||
font-weight: normal;
|
||||
|
||||
& .label, & .icon {
|
||||
color: @fl-body-color;
|
||||
color: @text-color;
|
||||
}
|
||||
& .label {
|
||||
font-weight: bold;
|
||||
|
Reference in New Issue
Block a user