Files
notifications-admin/app/assets/stylesheets/views/dashboard.scss
T

135 lines
2.5 KiB
SCSS
Raw Normal View History

2016-04-20 15:37:17 +01:00
.dashboard {
2016-05-25 13:36:35 +01:00
th {
font-weight: normal;
2016-04-20 15:37:17 +01:00
}
2016-11-18 11:18:29 +00:00
> .heading-medium:first-of-type {
2020-02-21 13:21:44 +00:00
margin-top: govuk-spacing(3);
2016-11-18 11:18:29 +00:00
}
2016-04-20 15:37:17 +01:00
}
.keyline-block {
border-top: 1px solid $border-colour;
2020-02-21 13:21:44 +00:00
padding-top: govuk-spacing(3);
}
2016-04-20 15:37:17 +01:00
.spark-bar {
2016-05-12 21:31:47 +01:00
@include core-16;
box-sizing: border-box;
display: block;
width: 100%;
2020-02-21 13:21:44 +00:00
margin-bottom: govuk-spacing(3);
height: govuk-spacing(3);
color: $text-colour;
text-align: left;
&-bar {
2020-03-27 09:30:28 +00:00
@include bold-27($tabular-numbers: true);
2016-05-12 21:31:47 +01:00
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;
2016-05-12 21:31:47 +01:00
transition: width 0.6s ease-in-out;
}
2016-04-20 15:37:17 +01:00
}
2016-05-25 13:36:35 +01:00
.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;
2016-05-25 13:36:35 +01:00
}
&-filename-large {
@include bold-24;
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
padding-bottom: 30px;
padding-top: 10px;
margin-bottom: -30px;
margin-top: -10px;
}
2019-12-31 13:27:27 +00:00
&-filename-unlinked {
@include core-19;
}
2016-05-25 13:36:35 +01:00
&-hint {
@include core-16;
display: block;
color: $secondary-text-colour;
pointer-events: none;
2017-10-17 12:00:51 +01:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 580px;
2016-05-25 13:36:35 +01:00
}
&-hint-large {
@include core-19;
display: block;
color: $secondary-text-colour;
pointer-events: none;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 580px;
}
&-status {
text-align: right;
}
2016-05-25 13:36:35 +01:00
}
2017-01-30 17:27:09 +00:00
2020-09-15 11:01:32 +01:00
/* The focus state for sibling links overlaps the hint so the hint's text colour needs to adapt */
.govuk-link:focus {
&.file-list-filename,
&.file-list-filename-large,
& + .file-list-hint,
& + .file-list-hint-large {
/* link needs non-static position to overlap the cell border, hint so it isn't overlapped itself */
position: relative;
}
&.file-list-filename,
&.file-list-filename-large {
/* override box-shadow to push underline down a bit */
box-shadow: 0 -2px $govuk-focus-colour, 0 5px $govuk-focus-text-colour;
}
& + .file-list-hint,
& + .file-list-hint-large {
color: $govuk-focus-text-colour;
}
}
2017-01-30 17:27:09 +00:00
.failure-highlight {
@include bold-19;
color: $error-colour;
}
2017-02-16 15:08:16 +00:00
2017-05-22 17:02:03 +01:00
.align-with-message-body {
display: block;
2020-02-21 13:21:44 +00:00
margin-top: govuk-spacing(5);
2017-05-22 17:02:03 +01:00
}