Files
notifications-admin/app/assets/stylesheets/views/dashboard.scss
Chris Hill-Scott 89b88ee4cb Restyle template statistics
This makes the template statistics section of the dashboard look less
like its own weird thing and more like:
- the templates page
- the upcoming changes to the styling of the received text messages
  banner on the dashboard
2020-02-17 09:55:52 +00:00

85 lines
1.3 KiB
SCSS

.dashboard {
th {
font-weight: normal;
}
> .heading-medium:first-of-type {
margin-top: $gutter-half;
}
}
.keyline-block {
border-top: 1px solid $border-colour;
padding-top: $gutter-half;
}
.spark-bar {
@include core-16;
box-sizing: border-box;
display: block;
width: 100%;
margin-bottom: $gutter-half;
height: $gutter-half;
color: $text-colour;
text-align: left;
&-bar {
@include bold-27;
box-sizing: border-box;
display: inline-block;
overflow: visible;
background: $panel-colour;
color: $black;
padding: 10px 6px 8px 0;
text-indent: 12px;
text-align: right;
margin: 2px 0 1px 0;
transition: width 0.6s ease-in-out;
}
}
.file-list {
&-filename {
@include bold-19;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-bottom: 30px;
padding-top: 10px;
margin-bottom: -30px;
margin-top: -10px;
}
&-filename-unlinked {
@include core-19;
}
&-hint {
@include core-16;
display: block;
color: $secondary-text-colour;
pointer-events: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 580px;
}
}
.failure-highlight {
@include bold-19;
color: $error-colour;
}
.align-with-message-body {
display: block;
margin-top: $gutter * 5 / 6;
}