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

277 lines
3.3 KiB
SCSS
Raw Normal View History

// Extra CSS overlaying elements
2016-02-01 11:59:45 +00:00
#global-header-bar {
2016-07-28 09:05:10 +01:00
background-color: $govuk-blue;
2016-02-01 11:59:45 +00:00
}
2016-11-22 17:21:12 +00:00
#global-header,
#global-header.with-proposition {
2016-02-01 11:54:10 +00:00
2016-02-08 11:11:55 +00:00
#logo {
white-space: nowrap;
2016-11-18 10:54:34 +00:00
#product-name {
font-size: 24px;
font-weight: 400;
padding-left: 5px;
2016-02-08 11:11:55 +00:00
}
}
2016-11-22 17:21:12 +00:00
.header-wrapper {
.header-global {
.header-logo {
@include media(desktop) {
width: auto;
}
&:after {
display: none;
}
}
}
}
2016-02-08 11:11:55 +00:00
.header-proposition {
#proposition-links {
li {
padding: 0 0 0 15px;
}
}
2016-02-01 11:54:10 +00:00
}
2015-12-14 16:37:15 +00:00
}
@include media(desktop) {
#proposition-menu {
float: right;
}
}
2016-02-08 11:11:55 +00:00
a {
&:visited {
color: $link-colour;
}
2015-12-15 08:20:25 +00:00
}
2016-02-18 07:44:50 +00:00
.form-control-1-1 {
width: 100%;
}
.form-control-5em {
2016-02-08 11:11:55 +00:00
width: 100%;
@include media(tablet) {
width: 5em;
}
2016-02-08 11:11:55 +00:00
}
2016-02-03 15:49:28 +00:00
.column-main {
2017-02-23 10:39:26 +00:00
.heading-large,
2016-11-18 11:18:29 +00:00
> .heading-medium {
margin: 10px 0 15px 0;
2018-01-26 14:47:56 +00:00
word-wrap: break-word;
2016-02-03 15:49:28 +00:00
}
2016-11-18 11:18:29 +00:00
> .grid-row:first-child {
2016-05-17 09:18:23 +01:00
2016-11-18 11:18:29 +00:00
.heading-large,
.heading-medium {
margin: 10px 0 15px 0;
2018-01-26 14:47:56 +00:00
word-wrap: break-word;
2016-03-29 16:15:15 +01:00
}
2016-05-17 09:18:23 +01:00
2016-03-29 16:15:15 +01:00
}
2016-02-03 15:49:28 +00:00
}
.highlight {
font-family: monospace;
overflow-x: scroll;
padding: 10px 0 10px 10px;
}
2016-02-19 15:02:13 +00:00
.inline {
.block-label {
@include media(tablet) {
float: none;
display: inline-block;
}
}
}
td {
vertical-align: top;
}
.heading-xlarge {
margin-bottom: 20px;
}
2016-04-18 11:10:47 +01:00
.heading-medium {
margin-top: $gutter;
}
.form-label {
margin-bottom: 5px;
2016-03-23 10:41:37 +00:00
}
2016-04-06 13:38:10 +01:00
.hint {
color: $secondary-text-colour;
}
2016-04-18 11:10:47 +01:00
2016-04-20 15:47:25 +01:00
.list-bullet {
.list-bullet {
list-style: circle;
}
}
2016-05-17 09:18:23 +01:00
details summary {
text-decoration: underline;
margin-bottom: $gutter-half;
}
.spreadsheet {
margin-bottom: -$gutter;
.table {
margin-bottom: 0;
}
th,
.table-field-index {
background: $grey-4;
font-weight: bold;
text-align: center;
}
th, td {
padding-left: 10px;
padding-right: 10px;
border: 1px solid $border-colour;
}
td {
border-top: 0;
// 194 is the width of the table * 1/3.5, so the overflow cuts off
// at 3.5 columns wide.
// 11 accounts for the padding of the table cell
min-width: 194px - 11px;
&:first-child {
min-width: auto;
}
}
.fullscreen-fixed-table {
z-index: 1000;
.table-field-heading-first {
background: $grey-4;
}
}
}
2016-07-28 09:05:10 +01:00
2016-09-29 18:44:10 +01:00
.body-copy-table {
2017-03-06 14:35:31 +00:00
table {
th,
td {
@include core-19;
2017-09-14 13:10:56 +01:00
word-wrap: break-word;
2017-03-06 14:35:31 +00:00
}
thead {
th {
@include bold-19;
}
}
2016-09-29 18:44:10 +01:00
}
}
.tabular-numbers {
@include core-19($tabular-numbers: true);
}
2016-10-12 15:55:53 +01:00
summary::-moz-details-marker {
display: none;
}
summary::-ms-details-marker {
display: none;
}
summary::-o-details-marker {
display: none;
}
summary::details-marker {
display: none;
}
summary::-webkit-details-marker {
display: none;
}
details .arrow {
font-size: 16px;
}
2016-11-01 15:34:04 +00:00
.block-label-hint {
@include core-16;
margin-top: 5px;
}
2017-02-14 11:33:55 +00:00
#content.override-elements-content {
padding-bottom: 0;
}
.multiple-choice input:disabled+label {
opacity: 1;
color: $secondary-text-colour;
cursor: default;
}
2017-06-26 14:41:00 +01:00
.heading-inline {
display: inline-block;
}
.bordered-image {
padding: 5px;
outline: 1px solid $border-colour;
max-width: 100%;
label & {
cursor: pointer;
}
}
2018-06-25 13:34:54 +01:00
.bordered-text-box {
padding: 5px;
outline: 2px solid $black;
max-width: 100%;
}
2018-07-02 09:16:48 +01:00
.nowrap {
white-space: nowrap;
}