minimal-mistakes-jekyll 4.6.0 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/LICENSE.txt +59 -21
  4. data/README.md +217 -160
  5. data/_data/navigation.yml +11 -11
  6. data/_data/ui-text.yml +931 -888
  7. data/_includes/analytics-providers/custom.html +2 -2
  8. data/_includes/analytics-providers/google-universal.html +9 -9
  9. data/_includes/analytics-providers/google.html +10 -10
  10. data/_includes/analytics.html +11 -11
  11. data/_includes/archive-single.html +37 -37
  12. data/_includes/author-profile-custom-links.html +6 -6
  13. data/_includes/author-profile.html +249 -249
  14. data/_includes/base_path +4 -4
  15. data/_includes/breadcrumbs.html +39 -39
  16. data/_includes/browser-upgrade.html +2 -2
  17. data/_includes/category-list.html +25 -25
  18. data/_includes/comment.html +22 -22
  19. data/_includes/comments-providers/custom.html +2 -2
  20. data/_includes/comments-providers/discourse.html +13 -13
  21. data/_includes/comments-providers/facebook.html +7 -7
  22. data/_includes/comments-providers/google-plus.html +1 -1
  23. data/_includes/comments-providers/scripts.html +17 -15
  24. data/_includes/comments-providers/staticman.html +41 -41
  25. data/_includes/comments-providers/staticman_v2.html +42 -0
  26. data/_includes/comments.html +168 -96
  27. data/_includes/feature_row +49 -49
  28. data/_includes/figure +12 -12
  29. data/_includes/footer.html +25 -25
  30. data/_includes/footer/custom.html +2 -2
  31. data/_includes/gallery +46 -46
  32. data/_includes/group-by-array +46 -46
  33. data/_includes/head.html +42 -42
  34. data/_includes/head/custom.html +4 -4
  35. data/_includes/masthead.html +23 -20
  36. data/_includes/nav_list +46 -46
  37. data/_includes/page__hero_video.html +4 -4
  38. data/_includes/page__taxonomy.html +6 -6
  39. data/_includes/paginator.html +69 -69
  40. data/_includes/post_pagination.html +13 -13
  41. data/_includes/read-time.html +14 -14
  42. data/_includes/scripts.html +15 -15
  43. data/_includes/seo.html +162 -147
  44. data/_includes/sidebar.html +22 -22
  45. data/_includes/social-share.html +13 -13
  46. data/_includes/tag-list.html +25 -25
  47. data/_includes/toc +6 -6
  48. data/_includes/toc.html +75 -0
  49. data/_includes/video +11 -11
  50. data/_layouts/archive-taxonomy.html +14 -14
  51. data/_layouts/archive.html +25 -25
  52. data/_layouts/compress.html +10 -10
  53. data/_layouts/default.html +1 -1
  54. data/_layouts/home.html +11 -11
  55. data/_layouts/single.html +92 -84
  56. data/_layouts/splash.html +21 -21
  57. data/_sass/minimal-mistakes.scss +1 -1
  58. data/_sass/minimal-mistakes/_animations.scss +20 -20
  59. data/_sass/minimal-mistakes/_archive.scss +317 -317
  60. data/_sass/minimal-mistakes/_base.scss +315 -315
  61. data/_sass/minimal-mistakes/_buttons.scss +97 -97
  62. data/_sass/minimal-mistakes/_footer.scss +82 -82
  63. data/_sass/minimal-mistakes/_forms.scss +399 -389
  64. data/_sass/minimal-mistakes/_masthead.scss +82 -82
  65. data/_sass/minimal-mistakes/_mixins.scss +91 -91
  66. data/_sass/minimal-mistakes/_navigation.scss +552 -552
  67. data/_sass/minimal-mistakes/_notices.scss +99 -99
  68. data/_sass/minimal-mistakes/_page.scss +430 -430
  69. data/_sass/minimal-mistakes/_reset.scss +186 -186
  70. data/_sass/minimal-mistakes/_sidebar.scss +262 -262
  71. data/_sass/minimal-mistakes/_syntax.scss +286 -146
  72. data/_sass/minimal-mistakes/_tables.scss +36 -36
  73. data/_sass/minimal-mistakes/_utilities.scss +519 -519
  74. data/_sass/minimal-mistakes/_variables.scss +137 -137
  75. data/_sass/minimal-mistakes/skins/_air.scss +22 -22
  76. data/_sass/minimal-mistakes/skins/_aqua.scss +30 -0
  77. data/_sass/minimal-mistakes/skins/_contrast.scss +33 -33
  78. data/_sass/minimal-mistakes/skins/_dark.scss +23 -23
  79. data/_sass/minimal-mistakes/skins/_default.scss +5 -5
  80. data/_sass/minimal-mistakes/skins/_dirt.scss +14 -14
  81. data/_sass/minimal-mistakes/skins/_mint.scss +22 -22
  82. data/_sass/minimal-mistakes/skins/_neon.scss +35 -0
  83. data/_sass/minimal-mistakes/skins/_plum.scss +42 -0
  84. data/_sass/minimal-mistakes/skins/_sunrise.scss +25 -25
  85. data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -114
  86. data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +94 -94
  87. data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -151
  88. data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +49 -49
  89. data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -15
  90. data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -215
  91. data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -82
  92. data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +70 -70
  93. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -33
  94. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -82
  95. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -31
  96. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -26
  97. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -36
  98. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -21
  99. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -22
  100. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +21 -21
  101. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -60
  102. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -13
  103. data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -18
  104. data/_sass/minimal-mistakes/vendor/font-awesome/_animated.scss +34 -34
  105. data/_sass/minimal-mistakes/vendor/font-awesome/_bordered-pulled.scss +25 -25
  106. data/_sass/minimal-mistakes/vendor/font-awesome/_core.scss +12 -12
  107. data/_sass/minimal-mistakes/vendor/font-awesome/_fixed-width.scss +6 -6
  108. data/_sass/minimal-mistakes/vendor/font-awesome/_font-awesome.scss +18 -18
  109. data/_sass/minimal-mistakes/vendor/font-awesome/_icons.scss +789 -789
  110. data/_sass/minimal-mistakes/vendor/font-awesome/_larger.scss +13 -13
  111. data/_sass/minimal-mistakes/vendor/font-awesome/_list.scss +19 -19
  112. data/_sass/minimal-mistakes/vendor/font-awesome/_mixins.scss +60 -60
  113. data/_sass/minimal-mistakes/vendor/font-awesome/_path.scss +15 -15
  114. data/_sass/minimal-mistakes/vendor/font-awesome/_rotated-flipped.scss +20 -20
  115. data/_sass/minimal-mistakes/vendor/font-awesome/_screen-reader.scss +5 -5
  116. data/_sass/minimal-mistakes/vendor/font-awesome/_stacked.scss +20 -20
  117. data/_sass/minimal-mistakes/vendor/font-awesome/_variables.scss +800 -800
  118. data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -649
  119. data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +45 -45
  120. data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -13
  121. data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -5
  122. data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -5
  123. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -7
  124. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -114
  125. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -67
  126. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -14
  127. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -18
  128. data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -133
  129. data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -318
  130. data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -261
  131. data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -163
  132. data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -329
  133. data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -441
  134. data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -213
  135. data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -191
  136. data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -56
  137. data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -167
  138. data/assets/css/main.scss +7 -7
  139. data/assets/fonts/fontawesome-webfont.svg +2671 -2671
  140. data/assets/js/_main.js +72 -72
  141. data/assets/js/main.min.js +1 -1
  142. data/assets/js/plugins/jquery.fitvids.js +81 -81
  143. data/assets/js/plugins/jquery.greedy-navigation.js +77 -77
  144. metadata +8 -3
@@ -1,98 +1,98 @@
1
- /* ==========================================================================
2
- BUTTONS
3
- ========================================================================== */
4
-
5
- /*
6
- Default button
7
- ========================================================================== */
8
-
9
- .btn {
10
- /* default */
11
- display: inline-block;
12
- margin-bottom: 0.25em;
13
- padding: 0.5em 1em;
14
- font-family: $sans-serif;
15
- font-size: $type-size-6;
16
- font-weight: bold;
17
- text-align: center;
18
- text-decoration: none;
19
- border-width: 0;
20
- border-radius: $border-radius;
21
- cursor: pointer;
22
-
23
- .icon {
24
- margin-right: 0.5em;
25
- }
26
-
27
- .icon + .hidden {
28
- margin-left: -0.5em; /* override for hidden text*/
29
- }
30
-
31
- /* button colors */
32
- $buttoncolors:
33
- (primary, $primary-color),
34
- (inverse, #fff),
35
- (light-outline, transparent),
36
- (success, $success-color),
37
- (warning, $warning-color),
38
- (danger, $danger-color),
39
- (info, $info-color),
40
- (facebook, $facebook-color),
41
- (twitter, $twitter-color),
42
- (google-plus, $google-plus-color),
43
- (linkedin, $linkedin-color);
44
-
45
- @each $buttoncolor, $color in $buttoncolors {
46
- &--#{$buttoncolor} {
47
- @include yiq-contrasted($color);
48
- @if ($buttoncolor == inverse) {
49
- border: 1px solid $border-color;
50
- }
51
- @if ($buttoncolor == light-outline) {
52
- border: 1px solid #fff;
53
- }
54
-
55
- &:hover {
56
- @include yiq-contrasted(mix(#000, $color, 20%));
57
- }
58
-
59
- &:visited {
60
- @include yiq-contrasted($color);
61
- }
62
- }
63
- }
64
-
65
- /* fills width of parent container */
66
- &--block {
67
- display: block;
68
- width: 100%;
69
-
70
- + .btn--block {
71
- margin-top: 0.25em;
72
- }
73
- }
74
-
75
- /* disabled */
76
- &--disabled {
77
- pointer-events: none;
78
- cursor: not-allowed;
79
- filter: alpha(opacity=65);
80
- box-shadow: none;
81
- opacity: 0.65;
82
- }
83
-
84
- /* extra large button */
85
- &--x-large {
86
- font-size: $type-size-4;
87
- }
88
-
89
- /* large button */
90
- &--large {
91
- font-size: $type-size-5;
92
- }
93
-
94
- /* small button */
95
- &--small {
96
- font-size: $type-size-7;
97
- }
1
+ /* ==========================================================================
2
+ BUTTONS
3
+ ========================================================================== */
4
+
5
+ /*
6
+ Default button
7
+ ========================================================================== */
8
+
9
+ .btn {
10
+ /* default */
11
+ display: inline-block;
12
+ margin-bottom: 0.25em;
13
+ padding: 0.5em 1em;
14
+ font-family: $sans-serif;
15
+ font-size: $type-size-6;
16
+ font-weight: bold;
17
+ text-align: center;
18
+ text-decoration: none;
19
+ border-width: 0;
20
+ border-radius: $border-radius;
21
+ cursor: pointer;
22
+
23
+ .icon {
24
+ margin-right: 0.5em;
25
+ }
26
+
27
+ .icon + .hidden {
28
+ margin-left: -0.5em; /* override for hidden text*/
29
+ }
30
+
31
+ /* button colors */
32
+ $buttoncolors:
33
+ (primary, $primary-color),
34
+ (inverse, #fff),
35
+ (light-outline, transparent),
36
+ (success, $success-color),
37
+ (warning, $warning-color),
38
+ (danger, $danger-color),
39
+ (info, $info-color),
40
+ (facebook, $facebook-color),
41
+ (twitter, $twitter-color),
42
+ (google-plus, $google-plus-color),
43
+ (linkedin, $linkedin-color);
44
+
45
+ @each $buttoncolor, $color in $buttoncolors {
46
+ &--#{$buttoncolor} {
47
+ @include yiq-contrasted($color);
48
+ @if ($buttoncolor == inverse) {
49
+ border: 1px solid $border-color;
50
+ }
51
+ @if ($buttoncolor == light-outline) {
52
+ border: 1px solid #fff;
53
+ }
54
+
55
+ &:hover {
56
+ @include yiq-contrasted(mix(#000, $color, 20%));
57
+ }
58
+
59
+ &:visited {
60
+ @include yiq-contrasted($color);
61
+ }
62
+ }
63
+ }
64
+
65
+ /* fills width of parent container */
66
+ &--block {
67
+ display: block;
68
+ width: 100%;
69
+
70
+ + .btn--block {
71
+ margin-top: 0.25em;
72
+ }
73
+ }
74
+
75
+ /* disabled */
76
+ &--disabled {
77
+ pointer-events: none;
78
+ cursor: not-allowed;
79
+ filter: alpha(opacity=65);
80
+ box-shadow: none;
81
+ opacity: 0.65;
82
+ }
83
+
84
+ /* extra large button */
85
+ &--x-large {
86
+ font-size: $type-size-4;
87
+ }
88
+
89
+ /* large button */
90
+ &--large {
91
+ font-size: $type-size-5;
92
+ }
93
+
94
+ /* small button */
95
+ &--small {
96
+ font-size: $type-size-7;
97
+ }
98
98
  }
@@ -1,83 +1,83 @@
1
- /* ==========================================================================
2
- FOOTER
3
- ========================================================================== */
4
-
5
- .page__footer {
6
- @include clearfix;
7
- float: left;
8
- margin-left: 0;
9
- margin-right: 0;
10
- width: 100%;
11
- clear: both;
12
- /* sticky footer fix start */
13
- position: absolute;
14
- bottom: 0;
15
- height: auto;
16
- /* sticky footer fix end */
17
- margin-top: 3em;
18
- color: $muted-text-color;
19
- -webkit-animation: $intro-transition;
20
- animation: $intro-transition;
21
- -webkit-animation-delay: 0.45s;
22
- animation-delay: 0.45s;
23
- background-color: $footer-background-color;
24
-
25
- footer {
26
- @include clearfix;
27
- margin-left: auto;
28
- margin-right: auto;
29
- margin-top: 2em;
30
- max-width: 100%;
31
- padding: 0 1em 2em;
32
-
33
- @include breakpoint($x-large) {
34
- max-width: $x-large;
35
- }
36
- }
37
-
38
- a {
39
- color: inherit;
40
- text-decoration: none;
41
-
42
- &:hover {
43
- text-decoration: underline;
44
- }
45
- }
46
-
47
- .fa {
48
- color: $muted-text-color;
49
- }
50
- }
51
-
52
- .page__footer-copyright {
53
- font-family: $global-font-family;
54
- font-size: $type-size-7;
55
- }
56
-
57
- .page__footer-follow {
58
-
59
- ul {
60
- margin: 0;
61
- padding: 0;
62
- list-style-type: none;
63
- }
64
-
65
- li {
66
- display: inline-block;
67
- padding-top: 5px;
68
- padding-bottom: 5px;
69
- font-family: $sans-serif-narrow;
70
- font-size: $type-size-6;
71
- text-transform: uppercase;
72
- }
73
-
74
- li + li:before {
75
- content: "";
76
- padding-right: 5px;
77
- }
78
-
79
- a {
80
- padding-right: 10px;
81
- font-weight: bold;
82
- }
1
+ /* ==========================================================================
2
+ FOOTER
3
+ ========================================================================== */
4
+
5
+ .page__footer {
6
+ @include clearfix;
7
+ float: left;
8
+ margin-left: 0;
9
+ margin-right: 0;
10
+ width: 100%;
11
+ clear: both;
12
+ /* sticky footer fix start */
13
+ position: absolute;
14
+ bottom: 0;
15
+ height: auto;
16
+ /* sticky footer fix end */
17
+ margin-top: 3em;
18
+ color: $muted-text-color;
19
+ -webkit-animation: $intro-transition;
20
+ animation: $intro-transition;
21
+ -webkit-animation-delay: 0.45s;
22
+ animation-delay: 0.45s;
23
+ background-color: $footer-background-color;
24
+
25
+ footer {
26
+ @include clearfix;
27
+ margin-left: auto;
28
+ margin-right: auto;
29
+ margin-top: 2em;
30
+ max-width: 100%;
31
+ padding: 0 1em 2em;
32
+
33
+ @include breakpoint($x-large) {
34
+ max-width: $x-large;
35
+ }
36
+ }
37
+
38
+ a {
39
+ color: inherit;
40
+ text-decoration: none;
41
+
42
+ &:hover {
43
+ text-decoration: underline;
44
+ }
45
+ }
46
+
47
+ .fa {
48
+ color: $muted-text-color;
49
+ }
50
+ }
51
+
52
+ .page__footer-copyright {
53
+ font-family: $global-font-family;
54
+ font-size: $type-size-7;
55
+ }
56
+
57
+ .page__footer-follow {
58
+
59
+ ul {
60
+ margin: 0;
61
+ padding: 0;
62
+ list-style-type: none;
63
+ }
64
+
65
+ li {
66
+ display: inline-block;
67
+ padding-top: 5px;
68
+ padding-bottom: 5px;
69
+ font-family: $sans-serif-narrow;
70
+ font-size: $type-size-6;
71
+ text-transform: uppercase;
72
+ }
73
+
74
+ li + li:before {
75
+ content: "";
76
+ padding-right: 5px;
77
+ }
78
+
79
+ a {
80
+ padding-right: 10px;
81
+ font-weight: bold;
82
+ }
83
83
  }
@@ -1,389 +1,399 @@
1
- /* ==========================================================================
2
- Forms
3
- ========================================================================== */
4
-
5
- form {
6
- margin: 0 0 5px 0;
7
- padding: 1em;
8
- background-color: $form-background-color;
9
-
10
- fieldset {
11
- margin-bottom: 5px;
12
- padding: 0;
13
- border-width: 0;
14
- }
15
-
16
- legend {
17
- display: block;
18
- width: 100%;
19
- margin-bottom: 5px * 2;
20
- *margin-left: -7px;
21
- padding: 0;
22
- color: $text-color;
23
- border: 0;
24
- white-space: normal;
25
- }
26
-
27
- p {
28
- margin-bottom: 5px / 2;
29
- }
30
-
31
- ul {
32
- list-style-type: none;
33
- margin: 0 0 5px 0;
34
- padding: 0;
35
- }
36
-
37
- br {
38
- display: none;
39
- }
40
- }
41
-
42
- label,
43
- input,
44
- button,
45
- select,
46
- textarea {
47
- vertical-align: baseline;
48
- *vertical-align: middle;
49
- }
50
-
51
- input,
52
- button,
53
- select,
54
- textarea {
55
- box-sizing: border-box;
56
- font-family: $sans-serif;
57
- }
58
-
59
- label {
60
- display: block;
61
- margin-bottom: 0.25em;
62
- color: $text-color;
63
- cursor: pointer;
64
-
65
- small {
66
- font-size: $type-size-6;
67
- }
68
-
69
- input,
70
- textarea,
71
- select {
72
- display: block;
73
- }
74
- }
75
-
76
- input,
77
- textarea,
78
- select {
79
- display: inline-block;
80
- width: 100%;
81
- padding: 0.25em;
82
- margin-bottom: 0.5em;
83
- color: $text-color;
84
- background-color: $background-color;
85
- border: $border-color;
86
- border-radius: $border-radius;
87
- box-shadow: $box-shadow;
88
- }
89
-
90
- .input-mini {
91
- width: 60px;
92
- }
93
-
94
- .input-small {
95
- width: 90px;
96
- }
97
-
98
- input[type="image"],
99
- input[type="checkbox"],
100
- input[type="radio"] {
101
- width: auto;
102
- height: auto;
103
- padding: 0;
104
- margin: 3px 0;
105
- *margin-top: 0;
106
- line-height: normal;
107
- cursor: pointer;
108
- border-radius: 0;
109
- border: 0 \9;
110
- }
111
-
112
- input[type="checkbox"],
113
- input[type="radio"] {
114
- box-sizing: border-box;
115
- padding: 0;
116
- *width: 13px;
117
- *height: 13px;
118
- }
119
-
120
- input[type="image"] {
121
- border: 0;
122
- box-shadow: none;
123
- }
124
-
125
- input[type="file"] {
126
- width: auto;
127
- padding: initial;
128
- line-height: initial;
129
- border: initial;
130
- background-color: transparent;
131
- background-color: initial;
132
- box-shadow: none;
133
- }
134
-
135
- input[type="button"],
136
- input[type="reset"],
137
- input[type="submit"] {
138
- width: auto;
139
- height: auto;
140
- cursor: pointer;
141
- *overflow: visible;
142
- }
143
-
144
- select,
145
- input[type="file"] {
146
- *margin-top: 4px;
147
- }
148
-
149
- select {
150
- width: auto;
151
- background-color: #fff;
152
- }
153
-
154
- select[multiple],
155
- select[size] {
156
- height: auto;
157
- }
158
-
159
- textarea {
160
- resize: vertical;
161
- height: auto;
162
- overflow: auto;
163
- vertical-align: top;
164
- }
165
-
166
- input[type="hidden"] {
167
- display: none;
168
- }
169
-
170
- .form {
171
- position: relative;
172
- }
173
-
174
- .radio,
175
- .checkbox {
176
- padding-left: 18px;
177
- font-weight: normal;
178
- }
179
-
180
- .radio input[type="radio"],
181
- .checkbox input[type="checkbox"] {
182
- float: left;
183
- margin-left: -18px;
184
- }
185
-
186
- .radio.inline,
187
- .checkbox.inline {
188
- display: inline-block;
189
- padding-top: 5px;
190
- margin-bottom: 0;
191
- vertical-align: middle;
192
- }
193
-
194
- .radio.inline + .radio.inline,
195
- .checkbox.inline + .checkbox.inline {
196
- margin-left: 10px;
197
- }
198
-
199
-
200
- /*
201
- Disabled state
202
- ========================================================================== */
203
-
204
- input[disabled],
205
- select[disabled],
206
- textarea[disabled],
207
- input[readonly],
208
- select[readonly],
209
- textarea[readonly] {
210
- opacity: 0.5;
211
- cursor: not-allowed;
212
- }
213
-
214
-
215
- /*
216
- Focus & active state
217
- ========================================================================== */
218
-
219
- input:focus,
220
- textarea:focus {
221
- border-color: $primary-color;
222
- outline: 0;
223
- outline: thin dotted \9;
224
- box-shadow: inset 0 1px 3px rgba($text-color, 0.06), 0 0 5px rgba($primary-color, 0.7);
225
- }
226
-
227
- input[type="file"]:focus,
228
- input[type="radio"]:focus,
229
- input[type="checkbox"]:focus,
230
- select:focus {
231
- box-shadow: none;
232
- }
233
-
234
-
235
- /*
236
- Help text
237
- ========================================================================== */
238
-
239
- .help-block,
240
- .help-inline {
241
- color: $muted-text-color;
242
- }
243
-
244
- .help-block {
245
- display: block;
246
- margin-bottom: 1em;
247
- line-height: 1em;
248
- }
249
-
250
- .help-inline {
251
- display: inline-block;
252
- vertical-align: middle;
253
- padding-left: 5px;
254
- }
255
-
256
-
257
- /*
258
- .form-inline
259
- ========================================================================== */
260
-
261
- .form-inline input,
262
- .form-inline textarea,
263
- .form-inline select {
264
- display: inline-block;
265
- margin-bottom: 0;
266
- }
267
-
268
- .form-inline label {
269
- display: inline-block;
270
- }
271
-
272
- .form-inline .radio,
273
- .form-inline .checkbox,
274
- .form-inline .radio {
275
- padding-left: 0;
276
- margin-bottom: 0;
277
- vertical-align: middle;
278
- }
279
-
280
- .form-inline .radio input[type="radio"],
281
- .form-inline .checkbox input[type="checkbox"] {
282
- float: left;
283
- margin-left: 0;
284
- margin-right: 3px; }
285
-
286
-
287
- /*
288
- .form-search
289
- ========================================================================== */
290
-
291
- .form-search input,
292
- .form-search textarea,
293
- .form-search select {
294
- display: inline-block;
295
- margin-bottom: 0;
296
- }
297
-
298
- .form-search .search-query {
299
- padding-left: 14px;
300
- padding-right: 14px;
301
- margin-bottom: 0;
302
- border-radius: 14px;
303
- }
304
-
305
- .form-search label {
306
- display: inline-block;
307
- }
308
-
309
- .form-search .radio,
310
- .form-search .checkbox,
311
- .form-inline .radio {
312
- padding-left: 0;
313
- margin-bottom: 0;
314
- vertical-align: middle;
315
- }
316
-
317
- .form-search .radio input[type="radio"],
318
- .form-search .checkbox input[type="checkbox"] {
319
- float: left;
320
- margin-left: 0;
321
- margin-right: 3px;
322
- }
323
-
324
-
325
- /*
326
- .form--loading
327
- ========================================================================== */
328
-
329
- .form--loading:before {
330
- content: '';
331
- }
332
-
333
- .form--loading .form__spinner {
334
- display: block;
335
- }
336
-
337
- .form:before {
338
- position: absolute;
339
- top: 0;
340
- left: 0;
341
- width: 100%;
342
- height: 100%;
343
- background-color: rgba(255, 255, 255, 0.7);
344
- z-index: 10;
345
- }
346
-
347
- .form__spinner {
348
- display: none;
349
- position: absolute;
350
- top: 50%;
351
- left: 50%;
352
- z-index: 11;
353
- }
354
-
355
-
356
-
357
- /*
358
- Google search form
359
- ========================================================================== */
360
-
361
- #goog-fixurl {
362
- ul {
363
- list-style: none;
364
- margin-left: 0;
365
- padding-left: 0;
366
- li {
367
- list-style-type: none;
368
- }
369
- }
370
- }
371
-
372
- #goog-wm-qt {
373
- width: auto;
374
- margin-right: 10px;
375
- margin-bottom: 20px;
376
- padding: 8px 20px;
377
- display: inline-block;
378
- font-size: $type-size-6;
379
- background-color: #fff;
380
- color: #000;
381
- border-width: 2px !important;
382
- border-style: solid !important;
383
- border-color: $border-color;
384
- border-radius: $border-radius;
385
- }
386
-
387
- #goog-wm-sb {
388
- @extend .btn;
389
- }
1
+ /* ==========================================================================
2
+ Forms
3
+ ========================================================================== */
4
+
5
+ form {
6
+ margin: 0 0 5px 0;
7
+ padding: 1em;
8
+ background-color: $form-background-color;
9
+
10
+ fieldset {
11
+ margin-bottom: 5px;
12
+ padding: 0;
13
+ border-width: 0;
14
+ }
15
+
16
+ legend {
17
+ display: block;
18
+ width: 100%;
19
+ margin-bottom: 5px * 2;
20
+ *margin-left: -7px;
21
+ padding: 0;
22
+ color: $text-color;
23
+ border: 0;
24
+ white-space: normal;
25
+ }
26
+
27
+ p {
28
+ margin-bottom: 5px / 2;
29
+ }
30
+
31
+ ul {
32
+ list-style-type: none;
33
+ margin: 0 0 5px 0;
34
+ padding: 0;
35
+ }
36
+
37
+ br {
38
+ display: none;
39
+ }
40
+ }
41
+
42
+ label,
43
+ input,
44
+ button,
45
+ select,
46
+ textarea {
47
+ vertical-align: baseline;
48
+ *vertical-align: middle;
49
+ }
50
+
51
+ input,
52
+ button,
53
+ select,
54
+ textarea {
55
+ box-sizing: border-box;
56
+ font-family: $sans-serif;
57
+ }
58
+
59
+ label {
60
+ display: block;
61
+ margin-bottom: 0.25em;
62
+ color: $text-color;
63
+ cursor: pointer;
64
+
65
+ small {
66
+ font-size: $type-size-6;
67
+ }
68
+
69
+ input,
70
+ textarea,
71
+ select {
72
+ display: block;
73
+ }
74
+ }
75
+
76
+ input,
77
+ textarea,
78
+ select {
79
+ display: inline-block;
80
+ width: 100%;
81
+ padding: 0.25em;
82
+ margin-bottom: 0.5em;
83
+ color: $text-color;
84
+ background-color: $background-color;
85
+ border: $border-color;
86
+ border-radius: $border-radius;
87
+ box-shadow: $box-shadow;
88
+ }
89
+
90
+ .input-mini {
91
+ width: 60px;
92
+ }
93
+
94
+ .input-small {
95
+ width: 90px;
96
+ }
97
+
98
+ input[type="image"],
99
+ input[type="checkbox"],
100
+ input[type="radio"] {
101
+ width: auto;
102
+ height: auto;
103
+ padding: 0;
104
+ margin: 3px 0;
105
+ *margin-top: 0;
106
+ line-height: normal;
107
+ cursor: pointer;
108
+ border-radius: 0;
109
+ border: 0 \9;
110
+ }
111
+
112
+ input[type="checkbox"],
113
+ input[type="radio"] {
114
+ box-sizing: border-box;
115
+ padding: 0;
116
+ *width: 13px;
117
+ *height: 13px;
118
+ }
119
+
120
+ input[type="image"] {
121
+ border: 0;
122
+ box-shadow: none;
123
+ }
124
+
125
+ input[type="file"] {
126
+ width: auto;
127
+ padding: initial;
128
+ line-height: initial;
129
+ border: initial;
130
+ background-color: transparent;
131
+ background-color: initial;
132
+ box-shadow: none;
133
+ }
134
+
135
+ input[type="button"],
136
+ input[type="reset"],
137
+ input[type="submit"] {
138
+ width: auto;
139
+ height: auto;
140
+ cursor: pointer;
141
+ *overflow: visible;
142
+ }
143
+
144
+ select,
145
+ input[type="file"] {
146
+ *margin-top: 4px;
147
+ }
148
+
149
+ select {
150
+ width: auto;
151
+ background-color: #fff;
152
+ }
153
+
154
+ select[multiple],
155
+ select[size] {
156
+ height: auto;
157
+ }
158
+
159
+ textarea {
160
+ resize: vertical;
161
+ height: auto;
162
+ overflow: auto;
163
+ vertical-align: top;
164
+ }
165
+
166
+ input[type="hidden"] {
167
+ display: none;
168
+ }
169
+
170
+ .form {
171
+ position: relative;
172
+ }
173
+
174
+ .radio,
175
+ .checkbox {
176
+ padding-left: 18px;
177
+ font-weight: normal;
178
+ }
179
+
180
+ .radio input[type="radio"],
181
+ .checkbox input[type="checkbox"] {
182
+ float: left;
183
+ margin-left: -18px;
184
+ }
185
+
186
+ .radio.inline,
187
+ .checkbox.inline {
188
+ display: inline-block;
189
+ padding-top: 5px;
190
+ margin-bottom: 0;
191
+ vertical-align: middle;
192
+ }
193
+
194
+ .radio.inline + .radio.inline,
195
+ .checkbox.inline + .checkbox.inline {
196
+ margin-left: 10px;
197
+ }
198
+
199
+
200
+ /*
201
+ Disabled state
202
+ ========================================================================== */
203
+
204
+ input[disabled],
205
+ select[disabled],
206
+ textarea[disabled],
207
+ input[readonly],
208
+ select[readonly],
209
+ textarea[readonly] {
210
+ opacity: 0.5;
211
+ cursor: not-allowed;
212
+ }
213
+
214
+
215
+ /*
216
+ Focus & active state
217
+ ========================================================================== */
218
+
219
+ input:focus,
220
+ textarea:focus {
221
+ border-color: $primary-color;
222
+ outline: 0;
223
+ outline: thin dotted \9;
224
+ box-shadow: inset 0 1px 3px rgba($text-color, 0.06), 0 0 5px rgba($primary-color, 0.7);
225
+ }
226
+
227
+ input[type="file"]:focus,
228
+ input[type="radio"]:focus,
229
+ input[type="checkbox"]:focus,
230
+ select:focus {
231
+ box-shadow: none;
232
+ }
233
+
234
+
235
+ /*
236
+ Help text
237
+ ========================================================================== */
238
+
239
+ .help-block,
240
+ .help-inline {
241
+ color: $muted-text-color;
242
+ }
243
+
244
+ .help-block {
245
+ display: block;
246
+ margin-bottom: 1em;
247
+ line-height: 1em;
248
+ }
249
+
250
+ .help-inline {
251
+ display: inline-block;
252
+ vertical-align: middle;
253
+ padding-left: 5px;
254
+ }
255
+
256
+ /*
257
+ .form-group
258
+ ========================================================================== */
259
+
260
+ .form-group {
261
+ margin-bottom: 5px;
262
+ padding: 0;
263
+ border-width: 0;
264
+ }
265
+
266
+
267
+ /*
268
+ .form-inline
269
+ ========================================================================== */
270
+
271
+ .form-inline input,
272
+ .form-inline textarea,
273
+ .form-inline select {
274
+ display: inline-block;
275
+ margin-bottom: 0;
276
+ }
277
+
278
+ .form-inline label {
279
+ display: inline-block;
280
+ }
281
+
282
+ .form-inline .radio,
283
+ .form-inline .checkbox,
284
+ .form-inline .radio {
285
+ padding-left: 0;
286
+ margin-bottom: 0;
287
+ vertical-align: middle;
288
+ }
289
+
290
+ .form-inline .radio input[type="radio"],
291
+ .form-inline .checkbox input[type="checkbox"] {
292
+ float: left;
293
+ margin-left: 0;
294
+ margin-right: 3px; }
295
+
296
+
297
+ /*
298
+ .form-search
299
+ ========================================================================== */
300
+
301
+ .form-search input,
302
+ .form-search textarea,
303
+ .form-search select {
304
+ display: inline-block;
305
+ margin-bottom: 0;
306
+ }
307
+
308
+ .form-search .search-query {
309
+ padding-left: 14px;
310
+ padding-right: 14px;
311
+ margin-bottom: 0;
312
+ border-radius: 14px;
313
+ }
314
+
315
+ .form-search label {
316
+ display: inline-block;
317
+ }
318
+
319
+ .form-search .radio,
320
+ .form-search .checkbox,
321
+ .form-inline .radio {
322
+ padding-left: 0;
323
+ margin-bottom: 0;
324
+ vertical-align: middle;
325
+ }
326
+
327
+ .form-search .radio input[type="radio"],
328
+ .form-search .checkbox input[type="checkbox"] {
329
+ float: left;
330
+ margin-left: 0;
331
+ margin-right: 3px;
332
+ }
333
+
334
+
335
+ /*
336
+ .form--loading
337
+ ========================================================================== */
338
+
339
+ .form--loading:before {
340
+ content: '';
341
+ }
342
+
343
+ .form--loading .form__spinner {
344
+ display: block;
345
+ }
346
+
347
+ .form:before {
348
+ position: absolute;
349
+ top: 0;
350
+ left: 0;
351
+ width: 100%;
352
+ height: 100%;
353
+ background-color: rgba(255, 255, 255, 0.7);
354
+ z-index: 10;
355
+ }
356
+
357
+ .form__spinner {
358
+ display: none;
359
+ position: absolute;
360
+ top: 50%;
361
+ left: 50%;
362
+ z-index: 11;
363
+ }
364
+
365
+
366
+
367
+ /*
368
+ Google search form
369
+ ========================================================================== */
370
+
371
+ #goog-fixurl {
372
+ ul {
373
+ list-style: none;
374
+ margin-left: 0;
375
+ padding-left: 0;
376
+ li {
377
+ list-style-type: none;
378
+ }
379
+ }
380
+ }
381
+
382
+ #goog-wm-qt {
383
+ width: auto;
384
+ margin-right: 10px;
385
+ margin-bottom: 20px;
386
+ padding: 8px 20px;
387
+ display: inline-block;
388
+ font-size: $type-size-6;
389
+ background-color: #fff;
390
+ color: #000;
391
+ border-width: 2px !important;
392
+ border-style: solid !important;
393
+ border-color: $border-color;
394
+ border-radius: $border-radius;
395
+ }
396
+
397
+ #goog-wm-sb {
398
+ @extend .btn;
399
+ }