framework/less/admin/DashboardPage.less
Sami Mazouz ef20e29b20
[1.x] Custom Colorising with CSS Custom Properties (#3001)
* Start of conversion to CSS variables
* Use variable for Badge colors
* Use variable for avatar bg
* Use variable for user card bg
* Use css variables for hero
* Use css variables for buttons
* Use css variables for sidenav links
* Cleaner style attr

Co-authored-by: David Wheatley <hi@davwheat.dev>
2021-08-16 10:17:48 +01:00

47 lines
779 B
Plaintext

.DashboardPage {
background: @body-bg;
color: @control-color;
min-height: 100vh;
padding-bottom: 30px;
}
.Widget {
background: @control-bg;
color: @text-color;
border-radius: @border-radius;
padding: 20px;
margin-bottom: 20px;
.Button {
.Button--color(@control-color, @body-bg, 'button-alternate')
}
}
.StatusWidget {
color: @muted-color;
>ul {
margin: 0;
padding: 0;
list-style-type: none;
>li {
display: inline-block;
margin-right: 30px;
vertical-align: middle;
&[class^="item-version-"] {
max-width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&.item-tools {
float: right;
margin-right: 0;
}
}
}
}