govuk-jekyll-theme 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +62 -0
- data/_includes/footer.html +19 -0
- data/_includes/header.html +23 -0
- data/_layouts/default.html +35 -0
- data/_layouts/page.html +7 -0
- data/_sass/_image_url.scss +6 -0
- data/_sass/govuk-jekyll.scss +44 -0
- data/_sass/govuk_elements/_elements.scss +31 -0
- data/_sass/govuk_elements/_frontend-toolkit.scss +23 -0
- data/_sass/govuk_elements/_govuk-elements.scss +5 -0
- data/_sass/govuk_elements/elements/_breadcrumbs.scss +6 -0
- data/_sass/govuk_elements/elements/_buttons.scss +51 -0
- data/_sass/govuk_elements/elements/_components.scss +9 -0
- data/_sass/govuk_elements/elements/_details.scss +35 -0
- data/_sass/govuk_elements/elements/_elements-typography.scss +315 -0
- data/_sass/govuk_elements/elements/_forms.scss +239 -0
- data/_sass/govuk_elements/elements/_govuk-template-base.scss +143 -0
- data/_sass/govuk_elements/elements/_helpers.scss +25 -0
- data/_sass/govuk_elements/elements/_icons.scss +102 -0
- data/_sass/govuk_elements/elements/_layout.scss +68 -0
- data/_sass/govuk_elements/elements/_lists.scss +33 -0
- data/_sass/govuk_elements/elements/_panels.scss +62 -0
- data/_sass/govuk_elements/elements/_phase-banner.scss +17 -0
- data/_sass/govuk_elements/elements/_reset.scss +136 -0
- data/_sass/govuk_elements/elements/_shame.scss +16 -0
- data/_sass/govuk_elements/elements/_tables.scss +57 -0
- data/_sass/govuk_elements/elements/forms/_form-date.scss +38 -0
- data/_sass/govuk_elements/elements/forms/_form-multiple-choice.scss +143 -0
- data/_sass/govuk_elements/elements/forms/_form-validation.scss +94 -0
- data/_sass/govuk_frontend_toolkit/_colours.scss +2 -0
- data/_sass/govuk_frontend_toolkit/_conditionals.scss +81 -0
- data/_sass/govuk_frontend_toolkit/_css3.scss +90 -0
- data/_sass/govuk_frontend_toolkit/_device-pixels.scss +10 -0
- data/_sass/govuk_frontend_toolkit/_font_stack.scss +25 -0
- data/_sass/govuk_frontend_toolkit/_grid_layout.scss +136 -0
- data/_sass/govuk_frontend_toolkit/_helpers.scss +16 -0
- data/_sass/govuk_frontend_toolkit/_measurements.scss +14 -0
- data/_sass/govuk_frontend_toolkit/_shims.scss +55 -0
- data/_sass/govuk_frontend_toolkit/_typography.scss +249 -0
- data/_sass/govuk_frontend_toolkit/_url-helpers.scss +16 -0
- data/_sass/govuk_frontend_toolkit/colours/_organisation.scss +104 -0
- data/_sass/govuk_frontend_toolkit/colours/_palette.scss +77 -0
- data/_sass/govuk_frontend_toolkit/design-patterns/_alpha-beta.scss +67 -0
- data/_sass/govuk_frontend_toolkit/design-patterns/_breadcrumbs.scss +53 -0
- data/_sass/govuk_frontend_toolkit/design-patterns/_buttons.scss +145 -0
- data/_sass/govuk_frontend_toolkit/design-patterns/_media-player.scss +264 -0
- data/_sass/govuk_template/fonts-ie8.css +30 -0
- data/_sass/govuk_template/fonts.scss +28 -0
- data/_sass/govuk_template/govuk-template-ie6.css +588 -0
- data/_sass/govuk_template/govuk-template-ie7.css +586 -0
- data/_sass/govuk_template/govuk-template-ie8.css +564 -0
- data/_sass/govuk_template/govuk-template-print.css +75 -0
- data/_sass/govuk_template/govuk-template.scss +622 -0
- data/assets/accordion-arrow-2x.png +0 -0
- data/assets/accordion-arrow.png +0 -0
- data/assets/arrow-sprite.png +0 -0
- data/assets/crests/bis_crest_13px.png +0 -0
- data/assets/crests/bis_crest_13px_x2.png +0 -0
- data/assets/crests/bis_crest_18px.png +0 -0
- data/assets/crests/bis_crest_18px_x2.png +0 -0
- data/assets/crests/bis_crest_27px.png +0 -0
- data/assets/crests/bis_crest_27px_x2.png +0 -0
- data/assets/crests/coastguard_13px.png +0 -0
- data/assets/crests/coastguard_13px_x2.png +0 -0
- data/assets/crests/coastguard_18px.png +0 -0
- data/assets/crests/coastguard_18px_x2.png +0 -0
- data/assets/crests/coastguard_27px.png +0 -0
- data/assets/crests/coastguard_27px_x2.png +0 -0
- data/assets/crests/dit_crest_13px.png +0 -0
- data/assets/crests/dit_crest_13px_x2.png +0 -0
- data/assets/crests/dit_crest_18px.png +0 -0
- data/assets/crests/dit_crest_18px_x2.png +0 -0
- data/assets/crests/dit_crest_27px.png +0 -0
- data/assets/crests/dit_crest_27px_x2.png +0 -0
- data/assets/crests/hmrc_crest_13px.png +0 -0
- data/assets/crests/hmrc_crest_13px_x2.png +0 -0
- data/assets/crests/hmrc_crest_18px.png +0 -0
- data/assets/crests/hmrc_crest_18px_x2.png +0 -0
- data/assets/crests/hmrc_crest_27px.png +0 -0
- data/assets/crests/hmrc_crest_27px_x2.png +0 -0
- data/assets/crests/ho_crest_13px.png +0 -0
- data/assets/crests/ho_crest_13px_x2.png +0 -0
- data/assets/crests/ho_crest_18px.png +0 -0
- data/assets/crests/ho_crest_18px_x2.png +0 -0
- data/assets/crests/ho_crest_27px.png +0 -0
- data/assets/crests/ho_crest_27px_x2.png +0 -0
- data/assets/crests/mod_crest_13px.png +0 -0
- data/assets/crests/mod_crest_13px_x2.png +0 -0
- data/assets/crests/mod_crest_18px.png +0 -0
- data/assets/crests/mod_crest_18px_x2.png +0 -0
- data/assets/crests/mod_crest_27px.png +0 -0
- data/assets/crests/mod_crest_27px_x2.png +0 -0
- data/assets/crests/org_crest_13px.png +0 -0
- data/assets/crests/org_crest_13px_x2.png +0 -0
- data/assets/crests/org_crest_18px.png +0 -0
- data/assets/crests/org_crest_18px_x2.png +0 -0
- data/assets/crests/org_crest_27px.png +0 -0
- data/assets/crests/org_crest_27px_x2.png +0 -0
- data/assets/crests/portcullis_13px.png +0 -0
- data/assets/crests/portcullis_13px_x2.png +0 -0
- data/assets/crests/portcullis_18px.png +0 -0
- data/assets/crests/portcullis_18px_x2.png +0 -0
- data/assets/crests/portcullis_27px.png +0 -0
- data/assets/crests/portcullis_27px_x2.png +0 -0
- data/assets/crests/so_crest_13px.png +0 -0
- data/assets/crests/so_crest_13px_x2.png +0 -0
- data/assets/crests/so_crest_18px.png +0 -0
- data/assets/crests/so_crest_18px_x2.png +0 -0
- data/assets/crests/so_crest_27px.png +0 -0
- data/assets/crests/so_crest_27px_x2.png +0 -0
- data/assets/crests/ukaea_crest_13px.png +0 -0
- data/assets/crests/ukaea_crest_13px_x2.png +0 -0
- data/assets/crests/ukaea_crest_18px.png +0 -0
- data/assets/crests/ukaea_crest_18px_x2.png +0 -0
- data/assets/crests/ukaea_crest_27px.png +0 -0
- data/assets/crests/ukaea_crest_27px_x2.png +0 -0
- data/assets/crests/ukho_13px.png +0 -0
- data/assets/crests/ukho_13px_x2.png +0 -0
- data/assets/crests/ukho_18px.png +0 -0
- data/assets/crests/ukho_18px_x2.png +0 -0
- data/assets/crests/ukho_27px.png +0 -0
- data/assets/crests/ukho_27px_x2.png +0 -0
- data/assets/crests/wales_crest_13px.png +0 -0
- data/assets/crests/wales_crest_13px_x2.png +0 -0
- data/assets/crests/wales_crest_18px.png +0 -0
- data/assets/crests/wales_crest_18px_x2.png +0 -0
- data/assets/crests/wales_crest_27px.png +0 -0
- data/assets/crests/wales_crest_27px_x2.png +0 -0
- data/assets/icon-arrow-left.png +0 -0
- data/assets/icon-calendar-2x.png +0 -0
- data/assets/icon-calendar.png +0 -0
- data/assets/icon-file-download-2x.png +0 -0
- data/assets/icon-file-download.png +0 -0
- data/assets/icon-important-2x.png +0 -0
- data/assets/icon-important.png +0 -0
- data/assets/icon-information-2x.png +0 -0
- data/assets/icon-information.png +0 -0
- data/assets/icon-locator-2x.png +0 -0
- data/assets/icon-locator.png +0 -0
- data/assets/icon-pointer-2x.png +0 -0
- data/assets/icon-pointer-black-2x.png +0 -0
- data/assets/icon-pointer-black.png +0 -0
- data/assets/icon-pointer-indexed.png +0 -0
- data/assets/icon-pointer.png +0 -0
- data/assets/icon-search-2x.png +0 -0
- data/assets/icon-search.png +0 -0
- data/assets/icon-steps/icon-step-1-2x.png +0 -0
- data/assets/icon-steps/icon-step-1.png +0 -0
- data/assets/icon-steps/icon-step-10-2x.png +0 -0
- data/assets/icon-steps/icon-step-10.png +0 -0
- data/assets/icon-steps/icon-step-11-2x.png +0 -0
- data/assets/icon-steps/icon-step-11.png +0 -0
- data/assets/icon-steps/icon-step-12-2x.png +0 -0
- data/assets/icon-steps/icon-step-12.png +0 -0
- data/assets/icon-steps/icon-step-13-2x.png +0 -0
- data/assets/icon-steps/icon-step-13.png +0 -0
- data/assets/icon-steps/icon-step-14-2x.png +0 -0
- data/assets/icon-steps/icon-step-14.png +0 -0
- data/assets/icon-steps/icon-step-2-2x.png +0 -0
- data/assets/icon-steps/icon-step-2.png +0 -0
- data/assets/icon-steps/icon-step-3-2x.png +0 -0
- data/assets/icon-steps/icon-step-3.png +0 -0
- data/assets/icon-steps/icon-step-4-2x.png +0 -0
- data/assets/icon-steps/icon-step-4.png +0 -0
- data/assets/icon-steps/icon-step-5-2x.png +0 -0
- data/assets/icon-steps/icon-step-5.png +0 -0
- data/assets/icon-steps/icon-step-6-2x.png +0 -0
- data/assets/icon-steps/icon-step-6.png +0 -0
- data/assets/icon-steps/icon-step-7-2x.png +0 -0
- data/assets/icon-steps/icon-step-7.png +0 -0
- data/assets/icon-steps/icon-step-8-2x.png +0 -0
- data/assets/icon-steps/icon-step-8.png +0 -0
- data/assets/icon-steps/icon-step-9-2x.png +0 -0
- data/assets/icon-steps/icon-step-9.png +0 -0
- data/assets/images/apple-touch-icon-152x152.png +0 -0
- data/assets/images/apple-touch-icon-167x167.png +0 -0
- data/assets/images/apple-touch-icon-180x180.png +0 -0
- data/assets/images/apple-touch-icon.png +0 -0
- data/assets/images/close.png +0 -0
- data/assets/images/favicon.ico +0 -0
- data/assets/images/gov.uk_logotype_crown-1x.png +0 -0
- data/assets/images/gov.uk_logotype_crown.png +0 -0
- data/assets/images/gov.uk_logotype_crown.svg +7 -0
- data/assets/images/gov.uk_logotype_crown_invert.png +0 -0
- data/assets/images/gov.uk_logotype_crown_invert_trans.png +0 -0
- data/assets/images/govuk-crest-2x.png +0 -0
- data/assets/images/govuk-crest-ie.png +0 -0
- data/assets/images/govuk-crest.png +0 -0
- data/assets/images/open-government-licence.png +0 -0
- data/assets/images/open-government-licence_2x.png +0 -0
- data/assets/images/opengraph-image.png +0 -0
- data/assets/player-icon-forward.png +0 -0
- data/assets/player-icon-pause.png +0 -0
- data/assets/player-icon-play.png +0 -0
- data/assets/player-icon-rewind.png +0 -0
- data/assets/player-icon-volume.png +0 -0
- data/assets/separator-2x.png +0 -0
- data/assets/separator.png +0 -0
- metadata +271 -0
@@ -0,0 +1,145 @@
|
|
1
|
+
@import '../shims';
|
2
|
+
@import '../css3';
|
3
|
+
@import '../conditionals';
|
4
|
+
@import '../colours';
|
5
|
+
|
6
|
+
// Mixin and defaults for making buttons on GOV.UK services.
|
7
|
+
|
8
|
+
// For guidance, see: https://www.gov.uk/service-manual/design-and-content/resources/buttons.html
|
9
|
+
|
10
|
+
// Example usage:
|
11
|
+
|
12
|
+
// .button{
|
13
|
+
// @include button;
|
14
|
+
// }
|
15
|
+
// .button-secondary{
|
16
|
+
// @include button($grey-3);
|
17
|
+
// }
|
18
|
+
// .button-warning{
|
19
|
+
// @include button($red);
|
20
|
+
// }
|
21
|
+
|
22
|
+
|
23
|
+
@mixin button($colour: $button-colour) {
|
24
|
+
// Colour
|
25
|
+
background-color: $colour;
|
26
|
+
|
27
|
+
// Size and shape
|
28
|
+
position: relative;
|
29
|
+
@include inline-block;
|
30
|
+
padding: .526315em .789473em .263157em; // 10px 15px 5px
|
31
|
+
border: none;
|
32
|
+
@include border-radius(0);
|
33
|
+
outline: 1px solid transparent; // keep some button appearance when changing colour settings in browsers
|
34
|
+
outline-offset: -1px; // fixes bug in Safari that outline width on focus is not overwritten, is reset to 0 on focus in govuk_template
|
35
|
+
-webkit-appearance: none;
|
36
|
+
|
37
|
+
// Bottom edge effect
|
38
|
+
@include box-shadow(0 2px 0 darken($colour, 15%));
|
39
|
+
@include ie-lte(8) {
|
40
|
+
border-bottom: 2px solid darken($colour, 15%);
|
41
|
+
}
|
42
|
+
|
43
|
+
// Text
|
44
|
+
font-size: 1em; // inherit from parent
|
45
|
+
line-height: 1.25;
|
46
|
+
text-decoration: none;
|
47
|
+
-webkit-font-smoothing: antialiased;
|
48
|
+
|
49
|
+
// Interaction
|
50
|
+
cursor: pointer;
|
51
|
+
|
52
|
+
&:visited {
|
53
|
+
background-color: $colour;
|
54
|
+
}
|
55
|
+
|
56
|
+
&:hover,
|
57
|
+
&:focus {
|
58
|
+
background-color: darken($colour, 5%);
|
59
|
+
}
|
60
|
+
|
61
|
+
&:active {
|
62
|
+
top: 2px;
|
63
|
+
@include box-shadow(0 0 0 $colour);
|
64
|
+
}
|
65
|
+
|
66
|
+
// Disabled button styles
|
67
|
+
&.disabled,
|
68
|
+
&[disabled="disabled"],
|
69
|
+
&[disabled] {
|
70
|
+
@include opacity(0.5);
|
71
|
+
&:hover {
|
72
|
+
cursor: default;
|
73
|
+
background-color: $colour;
|
74
|
+
}
|
75
|
+
|
76
|
+
&:active {
|
77
|
+
top: 0;
|
78
|
+
@include box-shadow(0 2px 0 darken($colour, 15%));
|
79
|
+
@include ie-lte(8) {
|
80
|
+
border-bottom: 2px solid darken($colour, 15%);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
// Set text colour depending on background colour
|
86
|
+
@if lightness($colour) < 50% {
|
87
|
+
color: $white;
|
88
|
+
|
89
|
+
&:link,
|
90
|
+
&:link:focus,
|
91
|
+
&:hover,
|
92
|
+
&:focus,
|
93
|
+
&:visited {
|
94
|
+
color: $white;
|
95
|
+
}
|
96
|
+
} @else {
|
97
|
+
color: $text-colour;
|
98
|
+
|
99
|
+
&:link,
|
100
|
+
&:link:focus,
|
101
|
+
&:hover,
|
102
|
+
&:focus,
|
103
|
+
&:visited {
|
104
|
+
color: $text-colour;
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// making the click target bigger than the button
|
109
|
+
// (and fill the space made when the button moves)
|
110
|
+
&:before {
|
111
|
+
content: "";
|
112
|
+
height: 110%;
|
113
|
+
width: 100%;
|
114
|
+
display: block;
|
115
|
+
background: transparent;
|
116
|
+
position: absolute;
|
117
|
+
top: 0;
|
118
|
+
left: 0;
|
119
|
+
}
|
120
|
+
|
121
|
+
&:active:before {
|
122
|
+
top: -10%;
|
123
|
+
height: 120%;
|
124
|
+
|
125
|
+
// IE6 ignores the :before psuedo-class but applies the block to :active
|
126
|
+
// It therefore needs to be reset
|
127
|
+
@include ie(6) {
|
128
|
+
top: auto;
|
129
|
+
height: 100%;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
|
133
|
+
// Fixes a bug where IE puts a black border around certain elements
|
134
|
+
@include ie-lte(8) {
|
135
|
+
&[type="submit"],
|
136
|
+
&[type="reset"],
|
137
|
+
&[type="button"] {
|
138
|
+
filter: chroma(color = $black);
|
139
|
+
}
|
140
|
+
|
141
|
+
&[type=submit].button {
|
142
|
+
filter: none;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
}
|
@@ -0,0 +1,264 @@
|
|
1
|
+
@import '../colours';
|
2
|
+
@import '../url-helpers';
|
3
|
+
|
4
|
+
// Player overrides
|
5
|
+
|
6
|
+
@mixin media-player {
|
7
|
+
display: block;
|
8
|
+
overflow: hidden;
|
9
|
+
margin: 30px 0;
|
10
|
+
|
11
|
+
&.player-wide {
|
12
|
+
min-width: 580px;
|
13
|
+
}
|
14
|
+
|
15
|
+
span {
|
16
|
+
display: block;
|
17
|
+
margin: 0;
|
18
|
+
padding: 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.video {
|
22
|
+
position: relative;
|
23
|
+
z-index: 3000;
|
24
|
+
|
25
|
+
iframe {
|
26
|
+
display: block;
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
.logo {
|
31
|
+
display: none;
|
32
|
+
}
|
33
|
+
|
34
|
+
.control-bar {
|
35
|
+
position: relative;
|
36
|
+
width: 100%;
|
37
|
+
height: 60px;
|
38
|
+
border-bottom: 1px solid $border-colour;
|
39
|
+
|
40
|
+
button {
|
41
|
+
background: transparent;
|
42
|
+
border: none;
|
43
|
+
padding: 0;
|
44
|
+
cursor: pointer;
|
45
|
+
}
|
46
|
+
|
47
|
+
a,
|
48
|
+
button {
|
49
|
+
&:focus {
|
50
|
+
background-color: $focus-colour;
|
51
|
+
outline: none;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
.player-controls {
|
56
|
+
.play,
|
57
|
+
.pause {
|
58
|
+
position: absolute;
|
59
|
+
bottom: 0;
|
60
|
+
left: 0;
|
61
|
+
width: 40px;
|
62
|
+
height: 40px;
|
63
|
+
overflow: hidden;
|
64
|
+
text-indent: -5000%;
|
65
|
+
background-repeat: no-repeat;
|
66
|
+
background-position: center left;
|
67
|
+
}
|
68
|
+
|
69
|
+
.play {
|
70
|
+
background-image: file-url('player-icon-play.png');
|
71
|
+
}
|
72
|
+
|
73
|
+
.pause {
|
74
|
+
background-image: file-url('player-icon-pause.png');
|
75
|
+
}
|
76
|
+
|
77
|
+
.rewind,
|
78
|
+
.forward {
|
79
|
+
position: absolute;
|
80
|
+
top: 0;
|
81
|
+
z-index: 30;
|
82
|
+
height: 20px;
|
83
|
+
width: 40px;
|
84
|
+
overflow: hidden;
|
85
|
+
text-indent: -5000%;
|
86
|
+
background-repeat: no-repeat;
|
87
|
+
background-position: center left;
|
88
|
+
}
|
89
|
+
|
90
|
+
.rewind {
|
91
|
+
left: 0;
|
92
|
+
background-image: file-url('player-icon-rewind.png');
|
93
|
+
}
|
94
|
+
|
95
|
+
.forward {
|
96
|
+
left: 100%;
|
97
|
+
margin-left: -40px;
|
98
|
+
background-image: file-url('player-icon-forward.png');
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.volume-controls {
|
103
|
+
position: absolute;
|
104
|
+
bottom: 0;
|
105
|
+
right: 0;
|
106
|
+
height: 40px;
|
107
|
+
width: 180px;
|
108
|
+
overflow: visible;
|
109
|
+
|
110
|
+
.mute {
|
111
|
+
position: absolute;
|
112
|
+
bottom: 0;
|
113
|
+
right: 0;
|
114
|
+
height: 40px;
|
115
|
+
width: 50px;
|
116
|
+
padding-top: 1px;
|
117
|
+
font-size: 14px;
|
118
|
+
line-height: 40px;
|
119
|
+
text-align: center;
|
120
|
+
}
|
121
|
+
|
122
|
+
.muted {
|
123
|
+
color: $light-blue;
|
124
|
+
|
125
|
+
~ * {
|
126
|
+
opacity: 0.333;
|
127
|
+
}
|
128
|
+
|
129
|
+
~ .vol-display {
|
130
|
+
text-decoration: line-through;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
.muted::after {
|
135
|
+
content: "d";
|
136
|
+
}
|
137
|
+
|
138
|
+
.vol-down,
|
139
|
+
.vol-up {
|
140
|
+
position: absolute;
|
141
|
+
bottom: 0;
|
142
|
+
height: 40px;
|
143
|
+
width: 60px;
|
144
|
+
font-size: 24px;
|
145
|
+
line-height: 40px;
|
146
|
+
text-align: center;
|
147
|
+
z-index: 10;
|
148
|
+
|
149
|
+
&:hover,
|
150
|
+
&:focus {
|
151
|
+
color: $light-blue;
|
152
|
+
background-color: transparent;
|
153
|
+
outline: none;
|
154
|
+
|
155
|
+
&:before {
|
156
|
+
background-color: $focus-colour;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
&:before {
|
161
|
+
content: "";
|
162
|
+
display: inline-block;
|
163
|
+
position: absolute;
|
164
|
+
width: 50%;
|
165
|
+
height: 100%;
|
166
|
+
z-index: -1;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
.vol-down {
|
171
|
+
text-align: left;
|
172
|
+
padding-left: 10px;
|
173
|
+
left: 0;
|
174
|
+
|
175
|
+
&:before {
|
176
|
+
left: 0;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
.vol-up {
|
181
|
+
text-align: right;
|
182
|
+
padding-right: 10px;
|
183
|
+
left: 65px;
|
184
|
+
|
185
|
+
&:before {
|
186
|
+
right: 0;
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.vol-display {
|
191
|
+
position: absolute;
|
192
|
+
bottom: 0;
|
193
|
+
left: 25px;
|
194
|
+
height: 40px;
|
195
|
+
width: 0;
|
196
|
+
padding-left: 35px;
|
197
|
+
overflow: visible;
|
198
|
+
font-size: 14px;
|
199
|
+
font-weight: bold;
|
200
|
+
line-height: 40px;
|
201
|
+
background-repeat: no-repeat;
|
202
|
+
background-position: center left;
|
203
|
+
background-image: file-url('player-icon-volume.png');
|
204
|
+
}
|
205
|
+
}
|
206
|
+
|
207
|
+
.current-time {
|
208
|
+
position: absolute;
|
209
|
+
bottom: 0;
|
210
|
+
left: 45px;
|
211
|
+
height: 40px;
|
212
|
+
font-size: 14px;
|
213
|
+
line-height: 40px;
|
214
|
+
font-weight: bold;
|
215
|
+
}
|
216
|
+
|
217
|
+
.duration-time {
|
218
|
+
display: none;
|
219
|
+
position: absolute;
|
220
|
+
bottom: 0;
|
221
|
+
right: 10px;
|
222
|
+
height: 40px;
|
223
|
+
line-height: 40px;
|
224
|
+
font-size: 16px;
|
225
|
+
font-weight: bold;
|
226
|
+
}
|
227
|
+
|
228
|
+
.ui-slider {
|
229
|
+
position: absolute;
|
230
|
+
top: 0;
|
231
|
+
right: 0;
|
232
|
+
width: 100%;
|
233
|
+
height: 20px;
|
234
|
+
overflow: hidden;
|
235
|
+
background: $border-colour;
|
236
|
+
|
237
|
+
.progress-bar {
|
238
|
+
position: absolute;
|
239
|
+
top: 0;
|
240
|
+
left: 0;
|
241
|
+
height: 100%;
|
242
|
+
padding-bottom: 1px;
|
243
|
+
background: $light-blue;
|
244
|
+
}
|
245
|
+
|
246
|
+
.ui-slider-handle {
|
247
|
+
position: absolute;
|
248
|
+
top: 0;
|
249
|
+
height: 100%;
|
250
|
+
padding-bottom: 1px;
|
251
|
+
width: 20px;
|
252
|
+
// Allow RGBA here, it is the only colour value with alpha transparency
|
253
|
+
// scss-lint:disable ColorVariable
|
254
|
+
color: rgba(0, 0, 0, 0.5);
|
255
|
+
z-index: 10;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
.ui-helper-hidden-accessible {
|
261
|
+
position: absolute;
|
262
|
+
left: -5000%;
|
263
|
+
}
|
264
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
/* The below comment needs a ! so that the copyright message doesn't get removed during the minification step. See: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#comments */
|
2
|
+
|
3
|
+
/*! Copyright (c) 2011 by Margaret Calvert & Henrik Kubel. All rights reserved. The font has been customised for exclusive use on gov.uk. This cut is not commercially available. */
|
4
|
+
|
5
|
+
|
6
|
+
@font-face {
|
7
|
+
font-family: 'nta';
|
8
|
+
src: url(fonts/GDSTransportWebsite.eot?0.23.0#) format('embedded-opentype');
|
9
|
+
font-weight: normal;
|
10
|
+
font-style: normal;
|
11
|
+
}
|
12
|
+
|
13
|
+
@font-face {
|
14
|
+
font-family: 'nta';
|
15
|
+
src: url(fonts/GDSTransportWebsite-Bold.eot?0.23.0#) format('embedded-opentype');
|
16
|
+
font-weight: bold;
|
17
|
+
}
|
18
|
+
|
19
|
+
@font-face {
|
20
|
+
font-family: 'ntatabularnumbers';
|
21
|
+
src: url(fonts/GDSTransportTabular-Light.eot?0.23.0#) format('embedded-opentype');
|
22
|
+
font-weight: normal;
|
23
|
+
font-style: normal;
|
24
|
+
}
|
25
|
+
|
26
|
+
@font-face {
|
27
|
+
font-family: 'ntatabularnumbers';
|
28
|
+
src: url(fonts/GDSTransportTabular-Bold.eot?0.23.0#) format('embedded-opentype');
|
29
|
+
font-weight: bold;
|
30
|
+
}
|