jekyll-rtd-theme 1.1.3 → 2.0.0.pre.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -12
- data/_includes/addons/analytics.liquid +5 -2
- data/_includes/addons/github.liquid +16 -4
- data/_includes/assets/sw.caches.js +43 -0
- data/_includes/breadcrumbs.liquid +20 -36
- data/_includes/extend/toctree.liquid +6 -15
- data/_includes/footer.liquid +31 -32
- data/_includes/reset/defaults.liquid +4 -36
- data/_includes/reset/workdir.liquid +1 -14
- data/_includes/safe/shortcodes.liquid +9 -0
- data/_includes/shortcodes/danger.liquid +7 -0
- data/_includes/shortcodes/mermaid.liquid +1 -0
- data/_includes/shortcodes/note.liquid +7 -0
- data/_includes/shortcodes/tip.liquid +7 -0
- data/_includes/shortcodes/warning.liquid +7 -0
- data/_includes/toctree.liquid +7 -6
- data/_layouts/default.liquid +99 -141
- data/_layouts/plugins/compress.liquid +13 -10
- data/_layouts/plugins/extension.liquid +30 -22
- data/_sass/@primer/base/base.scss +90 -0
- data/_sass/@primer/base/index.scss +6 -0
- data/_sass/@primer/base/kbd.scss +21 -0
- data/_sass/@primer/base/normalize.scss +423 -0
- data/_sass/@primer/base/typography-base.scss +100 -0
- data/_sass/@primer/breadcrumb/breadcrumb.scss +28 -0
- data/_sass/@primer/breadcrumb/index.scss +3 -0
- data/_sass/@primer/buttons/button-group.scss +91 -0
- data/_sass/@primer/buttons/button.scss +296 -0
- data/_sass/@primer/buttons/index.scss +4 -0
- data/_sass/@primer/buttons/misc.scss +205 -0
- data/_sass/@primer/forms/form-control.scss +278 -0
- data/_sass/@primer/forms/form-group.scss +279 -0
- data/_sass/@primer/forms/form-select.scss +38 -0
- data/_sass/@primer/forms/form-validation.scss +369 -0
- data/_sass/@primer/forms/index.scss +7 -0
- data/_sass/@primer/forms/input-group.scss +53 -0
- data/_sass/@primer/forms/radio-group.scss +43 -0
- data/_sass/@primer/markdown/blob-csv.scss +31 -0
- data/_sass/@primer/markdown/code.scss +73 -0
- data/_sass/@primer/markdown/headings.scss +72 -0
- data/_sass/@primer/markdown/images.scss +131 -0
- data/_sass/@primer/markdown/index.scss +8 -0
- data/_sass/@primer/markdown/lists.scss +76 -0
- data/_sass/@primer/markdown/markdown-body.scss +99 -0
- data/_sass/@primer/markdown/tables.scss +38 -0
- data/_sass/@primer/support/index.scss +11 -0
- data/_sass/@primer/support/mixins/buttons.scss +184 -0
- data/_sass/@primer/support/mixins/layout.scss +55 -0
- data/_sass/@primer/support/mixins/misc.scss +32 -0
- data/_sass/@primer/support/mixins/typography.scss +88 -0
- data/_sass/@primer/support/variables/color-system.scss +243 -0
- data/_sass/@primer/support/variables/colors.scss +55 -0
- data/_sass/@primer/support/variables/layout.scss +149 -0
- data/_sass/@primer/support/variables/misc.scss +42 -0
- data/_sass/@primer/support/variables/typography.scss +43 -0
- data/_sass/@primer/utilities/animations.scss +187 -0
- data/_sass/@primer/utilities/borders.scss +184 -0
- data/_sass/@primer/utilities/box-shadow.scss +25 -0
- data/_sass/@primer/utilities/colors.scss +185 -0
- data/_sass/@primer/utilities/details.scss +34 -0
- data/_sass/@primer/utilities/flexbox.scss +121 -0
- data/_sass/@primer/utilities/index.scss +14 -0
- data/_sass/@primer/utilities/layout.scss +134 -0
- data/_sass/@primer/utilities/margin.scss +68 -0
- data/_sass/@primer/utilities/padding.scss +59 -0
- data/_sass/@primer/utilities/typography.scss +325 -0
- data/_sass/@primer/utilities/visibility-display.scss +82 -0
- data/_sass/_font-face.scss +65 -0
- data/_sass/_icons.scss +53 -0
- data/_sass/_layout.scss +76 -0
- data/_sass/_reset.scss +21 -0
- data/_sass/_root.scss +9 -0
- data/_sass/_variables.scss +29 -0
- data/_sass/class/addons-wrap.scss +39 -0
- data/_sass/class/container.scss +11 -0
- data/_sass/class/content-wrap.scss +4 -0
- data/_sass/class/header.scss +10 -0
- data/_sass/class/highlight.scss +214 -0
- data/_sass/class/markdown-body.scss +49 -0
- data/_sass/class/sidebar-wrap.scss +72 -0
- data/_sass/class/title.scss +13 -0
- data/_sass/theme.scss +29 -0
- data/assets/404.liquid +2 -4
- data/assets/css/theme.min.css +1 -0
- data/assets/css/theme.scss +4 -0
- data/assets/js/mermaid.min.js +6 -5
- data/assets/js/search.js +90 -0
- data/assets/js/theme.js +228 -1
- data/assets/js/theme.min.js +1 -0
- data/assets/robots.liquid +1 -1
- data/assets/search.liquid +5 -12
- data/assets/sitemap.liquid +1 -1
- data/assets/sw.caches.liquid +8 -0
- metadata +80 -54
- data/_includes/addons.liquid +0 -24
- data/_includes/addons/i18n.liquid +0 -13
- data/_includes/addons/plugins.liquid +0 -6
- data/_includes/album.liquid +0 -7
- data/_includes/assets/common.js +0 -62
- data/_includes/assets/custom.js +0 -0
- data/_includes/assets/custom.scss +0 -0
- data/_includes/assets/search.js +0 -76
- data/_includes/i18n/en.liquid +0 -29
- data/_includes/i18n/es.liquid +0 -29
- data/_includes/i18n/fr.liquid +0 -29
- data/_includes/i18n/it.liquid +0 -29
- data/_includes/i18n/ja.liquid +0 -29
- data/_includes/i18n/ko.liquid +0 -29
- data/_includes/i18n/ru.liquid +0 -29
- data/_includes/i18n/sv.liquid +0 -29
- data/_includes/i18n/zh-cn.liquid +0 -29
- data/_includes/reset/i18n.liquid +0 -31
- data/_includes/reset/languages.liquid +0 -110
- data/_sass/_album.scss +0 -19
- data/_sass/_embed.scss +0 -23
- data/_sass/fluid.scss +0 -7
- data/_sass/jekyll-rtd-theme.scss +0 -128
- data/assets/css/rougify/base16.css +0 -1
- data/assets/css/rougify/base16.dark.css +0 -1
- data/assets/css/rougify/base16.light.css +0 -1
- data/assets/css/rougify/base16.monokai.css +0 -1
- data/assets/css/rougify/base16.monokai.dark.css +0 -1
- data/assets/css/rougify/base16.monokai.light.css +0 -1
- data/assets/css/rougify/base16.solarized.css +0 -1
- data/assets/css/rougify/base16.solarized.dark.css +0 -1
- data/assets/css/rougify/base16.solarized.light.css +0 -1
- data/assets/css/rougify/bw.css +0 -1
- data/assets/css/rougify/colorful.css +0 -1
- data/assets/css/rougify/github.css +0 -1
- data/assets/css/rougify/gruvbox.css +0 -1
- data/assets/css/rougify/gruvbox.dark.css +0 -1
- data/assets/css/rougify/gruvbox.light.css +0 -1
- data/assets/css/rougify/igorpro.css +0 -1
- data/assets/css/rougify/magritte.css +0 -1
- data/assets/css/rougify/molokai.css +0 -1
- data/assets/css/rougify/monokai.css +0 -1
- data/assets/css/rougify/monokai.sublime.css +0 -1
- data/assets/css/rougify/pastie.css +0 -1
- data/assets/css/rougify/thankful_eyes.css +0 -1
- data/assets/css/rougify/tulip.css +0 -1
- data/assets/css/theme.css +0 -4
- data/assets/js/anchor.min.js +0 -9
- data/assets/js/html5shiv.min.js +0 -4
@@ -0,0 +1,205 @@
|
|
1
|
+
// stylelint-disable selector-max-type
|
2
|
+
|
3
|
+
// Link-like buttons
|
4
|
+
//
|
5
|
+
// This class is for styling <button> and <input> elements to look like links
|
6
|
+
.btn-link {
|
7
|
+
display: inline-block;
|
8
|
+
padding: 0;
|
9
|
+
font-size: inherit;
|
10
|
+
color: $text-blue;
|
11
|
+
text-decoration: none;
|
12
|
+
white-space: nowrap;
|
13
|
+
cursor: pointer;
|
14
|
+
user-select: none;
|
15
|
+
background-color: transparent;
|
16
|
+
border: 0;
|
17
|
+
appearance: none; // Corrects inability to style clickable `input` types in iOS.
|
18
|
+
|
19
|
+
&:hover {
|
20
|
+
text-decoration: underline;
|
21
|
+
}
|
22
|
+
|
23
|
+
&:disabled,
|
24
|
+
&[aria-disabled="true"] {
|
25
|
+
&,
|
26
|
+
&:hover {
|
27
|
+
// stylelint-disable-next-line primer/colors
|
28
|
+
color: rgba($gray-600, 0.5);
|
29
|
+
cursor: default;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
// Invisible button
|
35
|
+
//
|
36
|
+
// Typically used as a "cancel" button next to a .btn
|
37
|
+
.btn-invisible {
|
38
|
+
color: $text-blue;
|
39
|
+
background-color: transparent; // Reset default gradient backgrounds and colors
|
40
|
+
border: 0;
|
41
|
+
border-radius: 0;
|
42
|
+
box-shadow: none;
|
43
|
+
|
44
|
+
&:hover,
|
45
|
+
&:active,
|
46
|
+
&:focus,
|
47
|
+
&.selected,
|
48
|
+
&[aria-selected="true"],
|
49
|
+
&.zeroclipboard-is-hover,
|
50
|
+
&.zeroclipboard-is-active {
|
51
|
+
color: $text-blue;
|
52
|
+
background: none;
|
53
|
+
outline: none;
|
54
|
+
box-shadow: none;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
// Octicon button
|
59
|
+
//
|
60
|
+
// Icon-only buttons
|
61
|
+
.btn-octicon {
|
62
|
+
display: inline-block;
|
63
|
+
// stylelint-disable-next-line primer/spacing
|
64
|
+
padding: 5px;
|
65
|
+
// stylelint-disable-next-line primer/spacing
|
66
|
+
margin-left: 5px;
|
67
|
+
line-height: $lh-condensed-ultra;
|
68
|
+
color: $text-gray;
|
69
|
+
vertical-align: middle;
|
70
|
+
|
71
|
+
// For `<button>` elements
|
72
|
+
background: transparent;
|
73
|
+
border: 0;
|
74
|
+
|
75
|
+
&:hover {
|
76
|
+
color: $text-blue;
|
77
|
+
}
|
78
|
+
|
79
|
+
&.disabled,
|
80
|
+
&[aria-disabled="true"] {
|
81
|
+
// stylelint-disable-next-line primer/colors
|
82
|
+
color: $gray-400;
|
83
|
+
cursor: default;
|
84
|
+
|
85
|
+
// stylelint-disable-next-line primer/colors
|
86
|
+
&:hover {
|
87
|
+
color: $gray-400;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
.btn-octicon-danger:hover {
|
93
|
+
color: $text-red;
|
94
|
+
}
|
95
|
+
|
96
|
+
// Close button
|
97
|
+
//
|
98
|
+
// Typically used with an octicon-x
|
99
|
+
.close-button {
|
100
|
+
padding: 0;
|
101
|
+
background: transparent;
|
102
|
+
border: 0;
|
103
|
+
outline: none;
|
104
|
+
}
|
105
|
+
|
106
|
+
// Hidden text button
|
107
|
+
//
|
108
|
+
// Use `.hidden-text-expander` to indicate and expand hidden text.
|
109
|
+
.hidden-text-expander {
|
110
|
+
display: block;
|
111
|
+
|
112
|
+
&.inline {
|
113
|
+
position: relative;
|
114
|
+
top: -1px;
|
115
|
+
display: inline-block;
|
116
|
+
// stylelint-disable-next-line primer/spacing
|
117
|
+
margin-left: 5px;
|
118
|
+
line-height: 0;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.hidden-text-expander a,
|
123
|
+
.ellipsis-expander {
|
124
|
+
display: inline-block;
|
125
|
+
height: 12px;
|
126
|
+
// stylelint-disable-next-line primer/spacing
|
127
|
+
padding: 0 5px 5px;
|
128
|
+
font-size: $font-size-small;
|
129
|
+
font-weight: $font-weight-bold;
|
130
|
+
// stylelint-disable-next-line primer/typography
|
131
|
+
line-height: 6px;
|
132
|
+
// stylelint-disable-next-line primer/colors
|
133
|
+
color: $gray-700;
|
134
|
+
text-decoration: none;
|
135
|
+
vertical-align: middle;
|
136
|
+
// stylelint-disable-next-line primer/colors
|
137
|
+
background: lighten($gray-300, 5%);
|
138
|
+
border: 0;
|
139
|
+
// stylelint-disable-next-line primer/borders
|
140
|
+
border-radius: 1px;
|
141
|
+
|
142
|
+
&:hover {
|
143
|
+
text-decoration: none;
|
144
|
+
// stylelint-disable-next-line primer/colors
|
145
|
+
background-color: darken($gray-300, 4%);
|
146
|
+
}
|
147
|
+
|
148
|
+
&:active {
|
149
|
+
color: $text-white;
|
150
|
+
// stylelint-disable-next-line primer/colors
|
151
|
+
background-color: $blue-400;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
// Social button count
|
156
|
+
// TODO: Deprecate? Use BtnGroup instead?
|
157
|
+
|
158
|
+
.btn-with-count {
|
159
|
+
float: left;
|
160
|
+
border-top-right-radius: 0;
|
161
|
+
border-bottom-right-radius: 0;
|
162
|
+
|
163
|
+
&:focus {
|
164
|
+
z-index: 1;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
// Social count bubble
|
169
|
+
//
|
170
|
+
// A container that is used for social bubbles counts.
|
171
|
+
|
172
|
+
.social-count {
|
173
|
+
position: relative;
|
174
|
+
float: left;
|
175
|
+
// stylelint-disable-next-line primer/spacing
|
176
|
+
padding: 3px 12px;
|
177
|
+
font-size: $font-size-small;
|
178
|
+
font-weight: $font-weight-bold;
|
179
|
+
// stylelint-disable-next-line primer/typography
|
180
|
+
line-height: 20px;
|
181
|
+
color: $text-gray-dark;
|
182
|
+
vertical-align: middle;
|
183
|
+
background-color: $bg-white;
|
184
|
+
border: $border-width $border-style $border-color-button;
|
185
|
+
border-left: 0;
|
186
|
+
border-top-right-radius: $border-radius;
|
187
|
+
border-bottom-right-radius: $border-radius;
|
188
|
+
box-shadow: $box-shadow, $box-shadow-highlight;
|
189
|
+
|
190
|
+
&:hover,
|
191
|
+
&:active {
|
192
|
+
text-decoration: none;
|
193
|
+
}
|
194
|
+
|
195
|
+
&:hover {
|
196
|
+
color: $text-blue;
|
197
|
+
cursor: pointer;
|
198
|
+
}
|
199
|
+
|
200
|
+
&:focus {
|
201
|
+
z-index: 1;
|
202
|
+
outline: 0;
|
203
|
+
box-shadow: $box-shadow-focus;
|
204
|
+
}
|
205
|
+
}
|
@@ -0,0 +1,278 @@
|
|
1
|
+
// Needs refactoring
|
2
|
+
// stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors
|
3
|
+
// stylelint-disable selector-max-type
|
4
|
+
// Base form controls
|
5
|
+
//
|
6
|
+
// Overrides for common inputs for easier styling.
|
7
|
+
|
8
|
+
fieldset {
|
9
|
+
padding: 0;
|
10
|
+
margin: 0;
|
11
|
+
border: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
label {
|
15
|
+
font-weight: $font-weight-bold;
|
16
|
+
}
|
17
|
+
|
18
|
+
.form-control,
|
19
|
+
.form-select {
|
20
|
+
// stylelint-disable-next-line primer/spacing
|
21
|
+
padding: 5px 12px;
|
22
|
+
font-size: $body-font-size;
|
23
|
+
// stylelint-disable-next-line primer/typography
|
24
|
+
line-height: 20px;
|
25
|
+
color: $text-gray-dark;
|
26
|
+
vertical-align: middle;
|
27
|
+
background-color: $bg-white;
|
28
|
+
background-repeat: no-repeat; // Repeat and position set for form states (success, error, etc)
|
29
|
+
background-position: right 8px center; // For form validation. This keeps images 8px from right and centered vertically.
|
30
|
+
border: $border-width $border-style $border-color;
|
31
|
+
border-radius: $border-radius;
|
32
|
+
outline: none;
|
33
|
+
box-shadow: $box-shadow-inset;
|
34
|
+
|
35
|
+
&.focus,
|
36
|
+
&:focus {
|
37
|
+
border-color: $border-blue;
|
38
|
+
outline: none;
|
39
|
+
box-shadow: $box-shadow-focus;
|
40
|
+
}
|
41
|
+
|
42
|
+
&[disabled] {
|
43
|
+
// stylelint-disable-next-line primer/colors
|
44
|
+
color: $gray-400;
|
45
|
+
// stylelint-disable-next-line primer/colors
|
46
|
+
background-color: #f3f4f6; // custom gray
|
47
|
+
}
|
48
|
+
|
49
|
+
// Ensures inputs don't zoom on mobile but are body-font size on desktop
|
50
|
+
@include breakpoint(md) {
|
51
|
+
font-size: $body-font-size;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
|
55
|
+
// Textarea
|
56
|
+
textarea.form-control {
|
57
|
+
padding-top: $spacer-2;
|
58
|
+
padding-bottom: $spacer-2;
|
59
|
+
line-height: $lh-default;
|
60
|
+
}
|
61
|
+
|
62
|
+
// Inputs with contrast for easy light gray backgrounds against white.
|
63
|
+
.input-contrast {
|
64
|
+
background-color: $bg-gray-light;
|
65
|
+
|
66
|
+
&:focus {
|
67
|
+
background-color: $bg-white;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
|
71
|
+
// Inputs to be used against dark backgrounds.
|
72
|
+
.input-dark {
|
73
|
+
color: $text-white;
|
74
|
+
// stylelint-disable-next-line primer/colors
|
75
|
+
background-color: $white-fade-15;
|
76
|
+
border-color: transparent;
|
77
|
+
box-shadow: none;
|
78
|
+
|
79
|
+
&::placeholder {
|
80
|
+
color: inherit;
|
81
|
+
opacity: 0.6; // inceases contrast ratio to 4.52
|
82
|
+
}
|
83
|
+
|
84
|
+
&.focus,
|
85
|
+
&:focus {
|
86
|
+
// stylelint-disable-next-line primer/borders
|
87
|
+
border-color: $black-fade-30;
|
88
|
+
// stylelint-disable-next-line primer/box-shadow
|
89
|
+
box-shadow: 0 0 0 0.2em rgba($blue-300, 0.4);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
// Custom styling for HTML5 validation bubbles (WebKit only)
|
94
|
+
::placeholder {
|
95
|
+
color: $text-gray-light;
|
96
|
+
opacity: 1; // override opacity in normalize.css
|
97
|
+
}
|
98
|
+
|
99
|
+
// Mini inputs, to match .minibutton
|
100
|
+
.input-sm {
|
101
|
+
// stylelint-disable-next-line primer/spacing
|
102
|
+
padding-top: 3px;
|
103
|
+
// stylelint-disable-next-line primer/spacing
|
104
|
+
padding-bottom: 3px;
|
105
|
+
font-size: $font-size-small;
|
106
|
+
// stylelint-disable-next-line primer/typography
|
107
|
+
line-height: 20px;
|
108
|
+
}
|
109
|
+
|
110
|
+
// Large inputs
|
111
|
+
.input-lg {
|
112
|
+
font-size: $h4-size;
|
113
|
+
}
|
114
|
+
|
115
|
+
// Full-width inputs
|
116
|
+
.input-block {
|
117
|
+
display: block;
|
118
|
+
width: 100%;
|
119
|
+
}
|
120
|
+
|
121
|
+
// Inputs with monospace text
|
122
|
+
.input-monospace {
|
123
|
+
font-family: $mono-font;
|
124
|
+
}
|
125
|
+
|
126
|
+
// Hide the icon that tries to autofill contact info in webkit
|
127
|
+
.input-hide-webkit-autofill {
|
128
|
+
&::-webkit-contacts-auto-fill-button {
|
129
|
+
position: absolute;
|
130
|
+
right: 0;
|
131
|
+
display: none !important;
|
132
|
+
pointer-events: none;
|
133
|
+
visibility: hidden;
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
// Checkboxes and Radiobuttons
|
138
|
+
//
|
139
|
+
// For checkboxes and radio button selections.
|
140
|
+
.form-checkbox {
|
141
|
+
// stylelint-disable-next-line primer/spacing
|
142
|
+
padding-left: 20px;
|
143
|
+
// stylelint-disable-next-line primer/spacing
|
144
|
+
margin: 15px 0;
|
145
|
+
vertical-align: middle;
|
146
|
+
|
147
|
+
label {
|
148
|
+
em.highlight {
|
149
|
+
position: relative;
|
150
|
+
left: -$spacer-1;
|
151
|
+
// stylelint-disable-next-line primer/spacing
|
152
|
+
padding: 2px $spacer-1;
|
153
|
+
font-style: normal;
|
154
|
+
// stylelint-disable-next-line primer/colors
|
155
|
+
background: $yellow-100;
|
156
|
+
border-radius: $border-radius;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
input[type="checkbox"],
|
161
|
+
input[type="radio"] {
|
162
|
+
float: left;
|
163
|
+
// stylelint-disable-next-line primer/spacing
|
164
|
+
margin: 5px 0 0 -20px;
|
165
|
+
vertical-align: middle;
|
166
|
+
}
|
167
|
+
|
168
|
+
.note {
|
169
|
+
display: block;
|
170
|
+
margin: 0;
|
171
|
+
font-size: $font-size-small;
|
172
|
+
font-weight: $font-weight-normal;
|
173
|
+
color: $text-gray;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
.form-checkbox-details {
|
178
|
+
display: none;
|
179
|
+
}
|
180
|
+
|
181
|
+
.form-checkbox-details-trigger {
|
182
|
+
&:checked {
|
183
|
+
// child of sibling or sibling
|
184
|
+
~ * .form-checkbox-details,
|
185
|
+
~ .form-checkbox-details {
|
186
|
+
// eslint-disable selector-combinator-space-before
|
187
|
+
display: block;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
// Field groups
|
193
|
+
//
|
194
|
+
// Wrap field groups in `<div.hfields>` to lay them out horizontally - great for
|
195
|
+
// the top of pages with autosave.
|
196
|
+
.hfields {
|
197
|
+
// stylelint-disable-next-line primer/spacing
|
198
|
+
margin: 15px 0;
|
199
|
+
@include clearfix;
|
200
|
+
|
201
|
+
.form-group {
|
202
|
+
float: left;
|
203
|
+
// stylelint-disable-next-line primer/spacing
|
204
|
+
margin: 0 30px 0 0;
|
205
|
+
|
206
|
+
dt, // TODO: Deprecate
|
207
|
+
.form-group-header {
|
208
|
+
label {
|
209
|
+
display: inline-block;
|
210
|
+
// stylelint-disable-next-line primer/spacing
|
211
|
+
margin: 5px 0 0;
|
212
|
+
color: $text-gray;
|
213
|
+
}
|
214
|
+
|
215
|
+
img {
|
216
|
+
position: relative;
|
217
|
+
top: -2px;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
.btn {
|
223
|
+
float: left;
|
224
|
+
// stylelint-disable-next-line primer/spacing
|
225
|
+
margin: 28px 25px 0 -20px;
|
226
|
+
}
|
227
|
+
|
228
|
+
// stylelint-disable-next-line primer/spacing
|
229
|
+
.form-select {
|
230
|
+
margin-top: 5px;
|
231
|
+
}
|
232
|
+
}
|
233
|
+
|
234
|
+
// Hide the up/down buttons in <input type="number"> in the login form, the
|
235
|
+
// input is used for two-factor auth codes, type="number" makes it more usable
|
236
|
+
// on phones
|
237
|
+
input::-webkit-outer-spin-button,
|
238
|
+
input::-webkit-inner-spin-button {
|
239
|
+
margin: 0;
|
240
|
+
appearance: none;
|
241
|
+
}
|
242
|
+
|
243
|
+
// Input groups
|
244
|
+
|
245
|
+
.form-actions {
|
246
|
+
@include clearfix;
|
247
|
+
|
248
|
+
.btn {
|
249
|
+
float: right;
|
250
|
+
|
251
|
+
+ .btn {
|
252
|
+
// stylelint-disable-next-line primer/spacing
|
253
|
+
margin-right: 5px;
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
|
258
|
+
.form-warning {
|
259
|
+
padding: $spacer-2 10px;
|
260
|
+
// stylelint-disable-next-line primer/spacing
|
261
|
+
margin: 10px 0;
|
262
|
+
font-size: $h5-size;
|
263
|
+
// stylelint-disable-next-line primer/colors
|
264
|
+
color: $yellow-900;
|
265
|
+
// stylelint-disable-next-line primer/colors
|
266
|
+
background: $yellow-100;
|
267
|
+
border: $border-width $border-style $border-yellow;
|
268
|
+
border-radius: $border-radius;
|
269
|
+
|
270
|
+
p {
|
271
|
+
margin: 0;
|
272
|
+
line-height: $lh-default;
|
273
|
+
}
|
274
|
+
|
275
|
+
a {
|
276
|
+
font-weight: $font-weight-bold;
|
277
|
+
}
|
278
|
+
}
|