vv5cv 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +138 -0
  4. data/_includes/colorpicker.html +7 -0
  5. data/_includes/head.html +13 -0
  6. data/_includes/icon-at.svg +4 -0
  7. data/_includes/icon-globe.svg +4 -0
  8. data/_includes/icon-marker.svg +4 -0
  9. data/_includes/icon-phone.svg +4 -0
  10. data/_includes/zone-languages.html +27 -0
  11. data/_includes/zone-otherskills.html +22 -0
  12. data/_includes/zone-profile.html +32 -0
  13. data/_includes/zone-software.html +20 -0
  14. data/_layouts/default.html +10 -0
  15. data/_layouts/home.html +27 -0
  16. data/_layouts/page.html +9 -0
  17. data/_layouts/post.html +5 -0
  18. data/_sass/_bootstrap-grid.scss +37 -0
  19. data/_sass/_bootstrap-reboot.scss +9 -0
  20. data/_sass/_bootstrap.scss +41 -0
  21. data/_sass/_custom.scss +123 -0
  22. data/_sass/_fonts.scss +1 -0
  23. data/_sass/_variables.scss +33 -0
  24. data/_sass/bootstrap/_alert.scss +48 -0
  25. data/_sass/bootstrap/_badge.scss +48 -0
  26. data/_sass/bootstrap/_breadcrumb.scss +38 -0
  27. data/_sass/bootstrap/_button-group.scss +198 -0
  28. data/_sass/bootstrap/_buttons.scss +141 -0
  29. data/_sass/bootstrap/_card.scss +223 -0
  30. data/_sass/bootstrap/_carousel.scss +185 -0
  31. data/_sass/bootstrap/_close.scss +29 -0
  32. data/_sass/bootstrap/_code.scss +64 -0
  33. data/_sass/bootstrap/_custom-forms.scss +254 -0
  34. data/_sass/bootstrap/_dropdown.scss +128 -0
  35. data/_sass/bootstrap/_forms.scss +390 -0
  36. data/_sass/bootstrap/_functions.scss +90 -0
  37. data/_sass/bootstrap/_grid.scss +53 -0
  38. data/_sass/bootstrap/_images.scss +43 -0
  39. data/_sass/bootstrap/_input-group.scss +176 -0
  40. data/_sass/bootstrap/_jumbotron.scss +16 -0
  41. data/_sass/bootstrap/_list-group.scss +114 -0
  42. data/_sass/bootstrap/_media.scss +8 -0
  43. data/_sass/bootstrap/_mixins.scss +41 -0
  44. data/_sass/bootstrap/_modal.scss +142 -0
  45. data/_sass/bootstrap/_nav.scss +118 -0
  46. data/_sass/bootstrap/_navbar.scss +284 -0
  47. data/_sass/bootstrap/_pagination.scss +66 -0
  48. data/_sass/bootstrap/_popover.scss +195 -0
  49. data/_sass/bootstrap/_print.scss +111 -0
  50. data/_sass/bootstrap/_progress.scss +32 -0
  51. data/_sass/bootstrap/_reboot.scss +481 -0
  52. data/_sass/bootstrap/_tables.scss +168 -0
  53. data/_sass/bootstrap/_tooltip.scss +107 -0
  54. data/_sass/bootstrap/_transitions.scss +34 -0
  55. data/_sass/bootstrap/_type.scss +123 -0
  56. data/_sass/bootstrap/_utilities.scss +14 -0
  57. data/_sass/bootstrap/_variables.scss +839 -0
  58. data/_sass/bootstrap/mixins/_alert.scss +13 -0
  59. data/_sass/bootstrap/mixins/_background-variant.scss +12 -0
  60. data/_sass/bootstrap/mixins/_badge.scss +12 -0
  61. data/_sass/bootstrap/mixins/_border-radius.scss +35 -0
  62. data/_sass/bootstrap/mixins/_box-shadow.scss +5 -0
  63. data/_sass/bootstrap/mixins/_breakpoints.scss +105 -0
  64. data/_sass/bootstrap/mixins/_buttons.scss +83 -0
  65. data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
  66. data/_sass/bootstrap/mixins/_float.scss +9 -0
  67. data/_sass/bootstrap/mixins/_forms.scss +81 -0
  68. data/_sass/bootstrap/mixins/_gradients.scss +37 -0
  69. data/_sass/bootstrap/mixins/_grid-framework.scss +56 -0
  70. data/_sass/bootstrap/mixins/_grid.scss +47 -0
  71. data/_sass/bootstrap/mixins/_hover.scss +60 -0
  72. data/_sass/bootstrap/mixins/_image.scss +36 -0
  73. data/_sass/bootstrap/mixins/_list-group.scss +26 -0
  74. data/_sass/bootstrap/mixins/_lists.scss +7 -0
  75. data/_sass/bootstrap/mixins/_nav-divider.scss +10 -0
  76. data/_sass/bootstrap/mixins/_navbar-align.scss +9 -0
  77. data/_sass/bootstrap/mixins/_pagination.scss +22 -0
  78. data/_sass/bootstrap/mixins/_reset-text.scss +18 -0
  79. data/_sass/bootstrap/mixins/_resize.scss +6 -0
  80. data/_sass/bootstrap/mixins/_screen-reader.scss +35 -0
  81. data/_sass/bootstrap/mixins/_size.scss +6 -0
  82. data/_sass/bootstrap/mixins/_table-row.scss +30 -0
  83. data/_sass/bootstrap/mixins/_text-emphasis.scss +12 -0
  84. data/_sass/bootstrap/mixins/_text-hide.scss +8 -0
  85. data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
  86. data/_sass/bootstrap/mixins/_transition.scss +9 -0
  87. data/_sass/bootstrap/mixins/_visibility.scss +5 -0
  88. data/_sass/bootstrap/utilities/_align.scss +6 -0
  89. data/_sass/bootstrap/utilities/_background.scss +6 -0
  90. data/_sass/bootstrap/utilities/_borders.scss +52 -0
  91. data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
  92. data/_sass/bootstrap/utilities/_display.scss +53 -0
  93. data/_sass/bootstrap/utilities/_embed.scss +52 -0
  94. data/_sass/bootstrap/utilities/_flex.scss +44 -0
  95. data/_sass/bootstrap/utilities/_float.scss +9 -0
  96. data/_sass/bootstrap/utilities/_position.scss +25 -0
  97. data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
  98. data/_sass/bootstrap/utilities/_sizing.scss +10 -0
  99. data/_sass/bootstrap/utilities/_spacing.scss +41 -0
  100. data/_sass/bootstrap/utilities/_text.scss +49 -0
  101. data/_sass/bootstrap/utilities/_visibility.scss +11 -0
  102. data/assets/icons/android.svg +1 -0
  103. data/assets/icons/angular.svg +1 -0
  104. data/assets/icons/apple.svg +1 -0
  105. data/assets/icons/freebsd.svg +1 -0
  106. data/assets/icons/github.svg +1 -0
  107. data/assets/icons/line.svg +1 -0
  108. data/assets/icons/playstation.svg +1 -0
  109. data/assets/icons/slack.svg +1 -0
  110. data/assets/main.scss +10 -0
  111. metadata +183 -0
@@ -0,0 +1,66 @@
1
+ .pagination {
2
+ display: flex;
3
+ // 1-2: Disable browser default list styles
4
+ padding-left: 0; // 1
5
+ list-style: none; // 2
6
+ @include border-radius();
7
+ }
8
+
9
+ .page-item {
10
+ &:first-child {
11
+ .page-link {
12
+ margin-left: 0;
13
+ @include border-left-radius($border-radius);
14
+ }
15
+ }
16
+ &:last-child {
17
+ .page-link {
18
+ @include border-right-radius($border-radius);
19
+ }
20
+ }
21
+
22
+ &.active .page-link {
23
+ z-index: 2;
24
+ color: $pagination-active-color;
25
+ background-color: $pagination-active-bg;
26
+ border-color: $pagination-active-border-color;
27
+ }
28
+
29
+ &.disabled .page-link {
30
+ color: $pagination-disabled-color;
31
+ pointer-events: none;
32
+ background-color: $pagination-disabled-bg;
33
+ border-color: $pagination-disabled-border-color;
34
+ }
35
+ }
36
+
37
+ .page-link {
38
+ position: relative;
39
+ display: block;
40
+ padding: $pagination-padding-y $pagination-padding-x;
41
+ margin-left: -1px;
42
+ line-height: $pagination-line-height;
43
+ color: $pagination-color;
44
+ background-color: $pagination-bg;
45
+ border: $pagination-border-width solid $pagination-border-color;
46
+
47
+ @include hover-focus {
48
+ color: $pagination-hover-color;
49
+ text-decoration: none;
50
+ background-color: $pagination-hover-bg;
51
+ border-color: $pagination-hover-border-color;
52
+ }
53
+ }
54
+
55
+
56
+ //
57
+ // Sizing
58
+ //
59
+
60
+ .pagination-lg {
61
+ @include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $line-height-lg, $border-radius-lg);
62
+ }
63
+
64
+ .pagination-sm {
65
+ @include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $line-height-sm, $border-radius-sm);
66
+ }
@@ -0,0 +1,195 @@
1
+ .popover {
2
+ position: absolute;
3
+ top: 0;
4
+ left: 0;
5
+ z-index: $zindex-popover;
6
+ display: block;
7
+ max-width: $popover-max-width;
8
+ padding: $popover-inner-padding;
9
+ // Our parent element can be arbitrary since tooltips are by default inserted as a sibling of their target element.
10
+ // So reset our font and text properties to avoid inheriting weird values.
11
+ @include reset-text();
12
+ font-size: $font-size-sm;
13
+ // Allow breaking very long words so they don't overflow the popover's bounds
14
+ word-wrap: break-word;
15
+ background-color: $popover-bg;
16
+ background-clip: padding-box;
17
+ border: $popover-border-width solid $popover-border-color;
18
+ @include border-radius($border-radius-lg);
19
+ @include box-shadow($popover-box-shadow);
20
+
21
+ // Arrows
22
+ //
23
+ // .arrow is outer, .arrow::after is inner
24
+
25
+ .arrow {
26
+ position: absolute;
27
+ display: block;
28
+ width: $popover-arrow-width;
29
+ height: $popover-arrow-height;
30
+ }
31
+
32
+ .arrow::before,
33
+ .arrow::after {
34
+ position: absolute;
35
+ display: block;
36
+ border-color: transparent;
37
+ border-style: solid;
38
+ }
39
+
40
+ .arrow::before {
41
+ content: "";
42
+ border-width: $popover-arrow-outer-width;
43
+ }
44
+ .arrow::after {
45
+ content: "";
46
+ border-width: $popover-arrow-outer-width;
47
+ }
48
+
49
+ // Popover directions
50
+
51
+ &.bs-popover-top {
52
+ margin-bottom: $popover-arrow-width;
53
+
54
+ .arrow {
55
+ bottom: 0;
56
+ }
57
+
58
+ .arrow::before,
59
+ .arrow::after {
60
+ border-bottom-width: 0;
61
+ }
62
+
63
+ .arrow::before {
64
+ bottom: -$popover-arrow-outer-width;
65
+ margin-left: -($popover-arrow-outer-width - 5);
66
+ border-top-color: $popover-arrow-outer-color;
67
+ }
68
+
69
+ .arrow::after {
70
+ bottom: -($popover-arrow-outer-width - 1);
71
+ margin-left: -($popover-arrow-outer-width - 5);
72
+ border-top-color: $popover-arrow-color;
73
+ }
74
+ }
75
+
76
+ &.bs-popover-right {
77
+ margin-left: $popover-arrow-width;
78
+
79
+ .arrow {
80
+ left: 0;
81
+ }
82
+
83
+ .arrow::before,
84
+ .arrow::after {
85
+ margin-top: -($popover-arrow-outer-width - 3);
86
+ border-left-width: 0;
87
+ }
88
+
89
+ .arrow::before {
90
+ left: -$popover-arrow-outer-width;
91
+ border-right-color: $popover-arrow-outer-color;
92
+ }
93
+
94
+ .arrow::after {
95
+ left: -($popover-arrow-outer-width - 1);
96
+ border-right-color: $popover-arrow-color;
97
+ }
98
+ }
99
+
100
+ &.bs-popover-bottom {
101
+ margin-top: $popover-arrow-width;
102
+
103
+ .arrow {
104
+ top: 0;
105
+ }
106
+
107
+ .arrow::before,
108
+ .arrow::after {
109
+ margin-left: -($popover-arrow-width - 3);
110
+ border-top-width: 0;
111
+ }
112
+
113
+ .arrow::before {
114
+ top: -$popover-arrow-outer-width;
115
+ border-bottom-color: $popover-arrow-outer-color;
116
+ }
117
+
118
+ .arrow::after {
119
+ top: -($popover-arrow-outer-width - 1);
120
+ border-bottom-color: $popover-arrow-color;
121
+ }
122
+
123
+ // This will remove the popover-header's border just below the arrow
124
+ .popover-header::before {
125
+ position: absolute;
126
+ top: 0;
127
+ left: 50%;
128
+ display: block;
129
+ width: 20px;
130
+ margin-left: -10px;
131
+ content: "";
132
+ border-bottom: 1px solid $popover-header-bg;
133
+ }
134
+ }
135
+
136
+ &.bs-popover-left {
137
+ margin-right: $popover-arrow-width;
138
+
139
+ .arrow {
140
+ right: 0;
141
+ }
142
+
143
+ .arrow::before,
144
+ .arrow::after {
145
+ margin-top: -($popover-arrow-outer-width - 3);
146
+ border-right-width: 0;
147
+ }
148
+
149
+ .arrow::before {
150
+ right: -$popover-arrow-outer-width;
151
+ border-left-color: $popover-arrow-outer-color;
152
+ }
153
+
154
+ .arrow::after {
155
+ right: -($popover-arrow-outer-width - 1);
156
+ border-left-color: $popover-arrow-color;
157
+ }
158
+ }
159
+ &.bs-popover-auto {
160
+ &[x-placement^="top"] {
161
+ @extend .bs-popover-top;
162
+ }
163
+ &[x-placement^="right"] {
164
+ @extend .bs-popover-right;
165
+ }
166
+ &[x-placement^="bottom"] {
167
+ @extend .bs-popover-bottom;
168
+ }
169
+ &[x-placement^="left"] {
170
+ @extend .bs-popover-left;
171
+ }
172
+ }
173
+ }
174
+
175
+
176
+ // Offset the popover to account for the popover arrow
177
+ .popover-header {
178
+ padding: $popover-header-padding-y $popover-header-padding-x;
179
+ margin-bottom: 0; // Reset the default from Reboot
180
+ font-size: $font-size-base;
181
+ color: $popover-header-color;
182
+ background-color: $popover-header-bg;
183
+ border-bottom: $popover-border-width solid darken($popover-header-bg, 5%);
184
+ $offset-border-width: calc(#{$border-radius-lg} - #{$popover-border-width});
185
+ @include border-top-radius($offset-border-width);
186
+
187
+ &:empty {
188
+ display: none;
189
+ }
190
+ }
191
+
192
+ .popover-body {
193
+ padding: $popover-body-padding-y $popover-body-padding-x;
194
+ color: $popover-body-color;
195
+ }
@@ -0,0 +1,111 @@
1
+ // scss-lint:disable QualifyingElement
2
+
3
+ // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
4
+
5
+ // ==========================================================================
6
+ // Print styles.
7
+ // Inlined to avoid the additional HTTP request:
8
+ // http://www.phpied.com/delay-loading-your-print-css/
9
+ // ==========================================================================
10
+
11
+ @if $enable-print-styles {
12
+ @media print {
13
+ *,
14
+ *::before,
15
+ *::after {
16
+ // Bootstrap specific; comment out `color` and `background`
17
+ //color: #000 !important; // Black prints faster:
18
+ // http://www.sanbeiji.com/archives/953
19
+ text-shadow: none !important;
20
+ //background: transparent !important;
21
+ box-shadow: none !important;
22
+ }
23
+
24
+ a,
25
+ a:visited {
26
+ text-decoration: underline;
27
+ }
28
+
29
+ // Bootstrap specific; comment the following selector out
30
+ //a[href]::after {
31
+ // content: " (" attr(href) ")";
32
+ //}
33
+
34
+ abbr[title]::after {
35
+ content: " (" attr(title) ")";
36
+ }
37
+
38
+ // Bootstrap specific; comment the following selector out
39
+ //
40
+ // Don't show links that are fragment identifiers,
41
+ // or use the `javascript:` pseudo protocol
42
+ //
43
+
44
+ //a[href^="#"]::after,
45
+ //a[href^="javascript:"]::after {
46
+ // content: "";
47
+ //}
48
+
49
+ pre {
50
+ white-space: pre-wrap !important;
51
+ }
52
+ pre,
53
+ blockquote {
54
+ border: $border-width solid #999; // Bootstrap custom code; using `$border-width` instead of 1px
55
+ page-break-inside: avoid;
56
+ }
57
+
58
+ //
59
+ // Printing Tables:
60
+ // http://css-discuss.incutio.com/wiki/Printing_Tables
61
+ //
62
+
63
+ thead {
64
+ display: table-header-group;
65
+ }
66
+
67
+ tr,
68
+ img {
69
+ page-break-inside: avoid;
70
+ }
71
+
72
+ p,
73
+ h2,
74
+ h3 {
75
+ orphans: 3;
76
+ widows: 3;
77
+ }
78
+
79
+ h2,
80
+ h3 {
81
+ page-break-after: avoid;
82
+ }
83
+
84
+ // Bootstrap specific changes start
85
+
86
+ // Bootstrap components
87
+ .navbar {
88
+ display: none;
89
+ }
90
+ .badge {
91
+ border: $border-width solid #000;
92
+ }
93
+
94
+ .table {
95
+ border-collapse: collapse !important;
96
+
97
+ td,
98
+ th {
99
+ background-color: #fff !important;
100
+ }
101
+ }
102
+ .table-bordered {
103
+ th,
104
+ td {
105
+ border: 1px solid #ddd !important;
106
+ }
107
+ }
108
+
109
+ // Bootstrap specific changes end
110
+ }
111
+ }
@@ -0,0 +1,32 @@
1
+ @keyframes progress-bar-stripes {
2
+ from { background-position: $progress-height 0; }
3
+ to { background-position: 0 0; }
4
+ }
5
+
6
+ .progress {
7
+ display: flex;
8
+ overflow: hidden; // force rounded corners by cropping it
9
+ font-size: $progress-font-size;
10
+ line-height: $progress-height;
11
+ text-align: center;
12
+ background-color: $progress-bg;
13
+ @include border-radius($progress-border-radius);
14
+ @include box-shadow($progress-box-shadow);
15
+ }
16
+
17
+ .progress-bar {
18
+ height: $progress-height;
19
+ line-height: $progress-height;
20
+ color: $progress-bar-color;
21
+ background-color: $progress-bar-bg;
22
+ @include transition($progress-bar-transition);
23
+ }
24
+
25
+ .progress-bar-striped {
26
+ @include gradient-striped();
27
+ background-size: $progress-height $progress-height;
28
+ }
29
+
30
+ .progress-bar-animated {
31
+ animation: progress-bar-stripes $progress-bar-animation-timing;
32
+ }
@@ -0,0 +1,481 @@
1
+ // scss-lint:disable QualifyingElement, DuplicateProperty, VendorPrefix
2
+
3
+ // Reboot
4
+ //
5
+ // Normalization of HTML elements, manually forked from Normalize.css to remove
6
+ // styles targeting irrelevant browsers while applying new styles.
7
+ //
8
+ // Normalize is licensed MIT. https://github.com/necolas/normalize.css
9
+
10
+
11
+ // Document
12
+ //
13
+ // 1. Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.
14
+ // 2. Change the default font family in all browsers.
15
+ // 3. Correct the line height in all browsers.
16
+ // 4. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
17
+ // 5. Setting @viewport causes scrollbars to overlap content in IE11 and Edge, so
18
+ // we force a non-overlapping, non-auto-hiding scrollbar to counteract.
19
+ // 6. Change the default tap highlight to be completely transparent in iOS.
20
+
21
+ html {
22
+ box-sizing: border-box; // 1
23
+ font-family: sans-serif; // 2
24
+ line-height: 1.15; // 3
25
+ -webkit-text-size-adjust: 100%; // 4
26
+ -ms-text-size-adjust: 100%; // 4
27
+ -ms-overflow-style: scrollbar; // 5
28
+ -webkit-tap-highlight-color: rgba(0,0,0,0); // 6
29
+ }
30
+
31
+ *,
32
+ *::before,
33
+ *::after {
34
+ box-sizing: inherit; // 1
35
+ }
36
+
37
+ // IE10+ doesn't honor `<meta name="viewport">` in some cases.
38
+ @at-root {
39
+ @-ms-viewport { width: device-width; }
40
+ }
41
+
42
+ // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
43
+ article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
44
+ display: block;
45
+ }
46
+
47
+ // Body
48
+ //
49
+ // 1. Remove the margin in all browsers.
50
+ // 2. As a best practice, apply a default `background-color`.
51
+
52
+ body {
53
+ margin: 0; // 1
54
+ font-family: $font-family-base;
55
+ font-size: $font-size-base;
56
+ font-weight: $font-weight-base;
57
+ line-height: $line-height-base;
58
+ color: $body-color;
59
+ background-color: $body-bg; // 2
60
+ }
61
+
62
+ // Suppress the focus outline on elements that cannot be accessed via keyboard.
63
+ // This prevents an unwanted focus outline from appearing around elements that
64
+ // might still respond to pointer events.
65
+ //
66
+ // Credit: https://github.com/suitcss/base
67
+ [tabindex="-1"]:focus {
68
+ outline: none !important;
69
+ }
70
+
71
+
72
+ // Content grouping
73
+ //
74
+ // 1. Add the correct box sizing in Firefox.
75
+ // 2. Show the overflow in Edge and IE.
76
+
77
+ hr {
78
+ box-sizing: content-box; // 1
79
+ height: 0; // 1
80
+ overflow: visible; // 2
81
+ }
82
+
83
+
84
+ //
85
+ // Typography
86
+ //
87
+
88
+ // Remove top margins from headings
89
+ //
90
+ // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
91
+ // margin for easier control within type scales as it avoids margin collapsing.
92
+ h1, h2, h3, h4, h5, h6 {
93
+ margin-top: 0;
94
+ margin-bottom: .5rem;
95
+ }
96
+
97
+ // Reset margins on paragraphs
98
+ //
99
+ // Similarly, the top margin on `<p>`s get reset. However, we also reset the
100
+ // bottom margin to use `rem` units instead of `em`.
101
+ p {
102
+ margin-top: 0;
103
+ margin-bottom: 1rem;
104
+ }
105
+
106
+ // Abbreviations
107
+ //
108
+ // 1. Remove the bottom border in Firefox 39-.
109
+ // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
110
+ // 3. Add explicit cursor to indicate changed behavior.
111
+ // 4. Duplicate behavior to the data-* attribute for our tooltip plugin
112
+
113
+ abbr[title],
114
+ abbr[data-original-title] { // 4
115
+ text-decoration: underline; // 2
116
+ text-decoration: underline dotted; // 2
117
+ cursor: help; // 3
118
+ border-bottom: 0; // 1
119
+ }
120
+
121
+ address {
122
+ margin-bottom: 1rem;
123
+ font-style: normal;
124
+ line-height: inherit;
125
+ }
126
+
127
+ ol,
128
+ ul,
129
+ dl {
130
+ margin-top: 0;
131
+ margin-bottom: 1rem;
132
+ }
133
+
134
+ ol ol,
135
+ ul ul,
136
+ ol ul,
137
+ ul ol {
138
+ margin-bottom: 0;
139
+ }
140
+
141
+ dt {
142
+ font-weight: $dt-font-weight;
143
+ }
144
+
145
+ dd {
146
+ margin-bottom: .5rem;
147
+ margin-left: 0; // Undo browser default
148
+ }
149
+
150
+ blockquote {
151
+ margin: 0 0 1rem;
152
+ }
153
+
154
+ dfn {
155
+ font-style: italic; // Add the correct font style in Android 4.3-
156
+ }
157
+
158
+ b,
159
+ strong {
160
+ font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari
161
+ }
162
+
163
+ small {
164
+ font-size: 80%; // Add the correct font size in all browsers
165
+ }
166
+
167
+ //
168
+ // Prevent `sub` and `sup` elements from affecting the line height in
169
+ // all browsers.
170
+ //
171
+
172
+ sub,
173
+ sup {
174
+ position: relative;
175
+ font-size: 75%;
176
+ line-height: 0;
177
+ vertical-align: baseline;
178
+ }
179
+
180
+ sub { bottom: -.25em; }
181
+ sup { top: -.5em; }
182
+
183
+
184
+ //
185
+ // Links
186
+ //
187
+
188
+ a {
189
+ color: $link-color;
190
+ text-decoration: $link-decoration;
191
+ background-color: transparent; // Remove the gray background on active links in IE 10.
192
+ -webkit-text-decoration-skip: objects; // Remove gaps in links underline in iOS 8+ and Safari 8+.
193
+
194
+ @include hover {
195
+ color: $link-hover-color;
196
+ text-decoration: $link-hover-decoration;
197
+ }
198
+ }
199
+
200
+ // And undo these styles for placeholder links/named anchors (without href)
201
+ // which have not been made explicitly keyboard-focusable (without tabindex).
202
+ // It would be more straightforward to just use a[href] in previous block, but that
203
+ // causes specificity issues in many other styles that are too complex to fix.
204
+ // See https://github.com/twbs/bootstrap/issues/19402
205
+
206
+ a:not([href]):not([tabindex]) {
207
+ color: inherit;
208
+ text-decoration: none;
209
+
210
+ @include hover-focus {
211
+ color: inherit;
212
+ text-decoration: none;
213
+ }
214
+
215
+ &:focus {
216
+ outline: 0;
217
+ }
218
+ }
219
+
220
+
221
+ //
222
+ // Code
223
+ //
224
+
225
+ pre,
226
+ code,
227
+ kbd,
228
+ samp {
229
+ font-family: monospace, monospace; // Correct the inheritance and scaling of font size in all browsers.
230
+ font-size: 1em; // Correct the odd `em` font sizing in all browsers.
231
+ }
232
+
233
+ pre {
234
+ // Remove browser default top margin
235
+ margin-top: 0;
236
+ // Reset browser default of `1em` to use `rem`s
237
+ margin-bottom: 1rem;
238
+ // Don't allow content to break outside
239
+ overflow: auto;
240
+ }
241
+
242
+
243
+ //
244
+ // Figures
245
+ //
246
+
247
+ figure {
248
+ // Apply a consistent margin strategy (matches our type styles).
249
+ margin: 0 0 1rem;
250
+ }
251
+
252
+
253
+ //
254
+ // Images and content
255
+ //
256
+
257
+ img {
258
+ vertical-align: middle;
259
+ border-style: none; // Remove the border on images inside links in IE 10-.
260
+ }
261
+
262
+ svg:not(:root) {
263
+ overflow: hidden; // Hide the overflow in IE
264
+ }
265
+
266
+
267
+ // Avoid 300ms click delay on touch devices that support the `touch-action` CSS property.
268
+ //
269
+ // In particular, unlike most other browsers, IE11+Edge on Windows 10 on touch devices and IE Mobile 10-11
270
+ // DON'T remove the click delay when `<meta name="viewport" content="width=device-width">` is present.
271
+ // However, they DO support removing the click delay via `touch-action: manipulation`.
272
+ // See:
273
+ // * https://v4-alpha.getbootstrap.com/content/reboot/#click-delay-optimization-for-touch
274
+ // * http://caniuse.com/#feat=css-touch-action
275
+ // * https://patrickhlauke.github.io/touch/tests/results/#suppressing-300ms-delay
276
+
277
+ a,
278
+ area,
279
+ button,
280
+ [role="button"],
281
+ input,
282
+ label,
283
+ select,
284
+ summary,
285
+ textarea {
286
+ touch-action: manipulation;
287
+ }
288
+
289
+
290
+ //
291
+ // Tables
292
+ //
293
+
294
+ table {
295
+ border-collapse: collapse; // Prevent double borders
296
+ }
297
+
298
+ caption {
299
+ padding-top: $table-cell-padding;
300
+ padding-bottom: $table-cell-padding;
301
+ color: $text-muted;
302
+ text-align: left;
303
+ caption-side: bottom;
304
+ }
305
+
306
+ th {
307
+ // Matches default `<td>` alignment
308
+ text-align: left;
309
+ }
310
+
311
+
312
+ //
313
+ // Forms
314
+ //
315
+
316
+ label {
317
+ // Allow labels to use `margin` for spacing.
318
+ display: inline-block;
319
+ margin-bottom: .5rem;
320
+ }
321
+
322
+ // Work around a Firefox/IE bug where the transparent `button` background
323
+ // results in a loss of the default `button` focus styles.
324
+ //
325
+ // Credit: https://github.com/suitcss/base/
326
+ button:focus {
327
+ outline: 1px dotted;
328
+ outline: 5px auto -webkit-focus-ring-color;
329
+ }
330
+
331
+ input,
332
+ button,
333
+ select,
334
+ optgroup,
335
+ textarea {
336
+ margin: 0; // Remove the margin in Firefox and Safari
337
+ font-family: inherit;
338
+ font-size: inherit;
339
+ line-height: inherit;
340
+ }
341
+
342
+ button,
343
+ input {
344
+ overflow: visible; // Show the overflow in Edge
345
+ }
346
+
347
+ button,
348
+ select {
349
+ text-transform: none; // Remove the inheritance of text transform in Firefox
350
+ }
351
+
352
+ // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
353
+ // controls in Android 4.
354
+ // 2. Correct the inability to style clickable types in iOS and Safari.
355
+ button,
356
+ html [type="button"], // 1
357
+ [type="reset"],
358
+ [type="submit"] {
359
+ -webkit-appearance: button; // 2
360
+ }
361
+
362
+ // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
363
+ button::-moz-focus-inner,
364
+ [type="button"]::-moz-focus-inner,
365
+ [type="reset"]::-moz-focus-inner,
366
+ [type="submit"]::-moz-focus-inner {
367
+ padding: 0;
368
+ border-style: none;
369
+ }
370
+
371
+ input[type="radio"],
372
+ input[type="checkbox"] {
373
+ box-sizing: border-box; // 1. Add the correct box sizing in IE 10-
374
+ padding: 0; // 2. Remove the padding in IE 10-
375
+ }
376
+
377
+
378
+ input[type="date"],
379
+ input[type="time"],
380
+ input[type="datetime-local"],
381
+ input[type="month"] {
382
+ // Remove the default appearance of temporal inputs to avoid a Mobile Safari
383
+ // bug where setting a custom line-height prevents text from being vertically
384
+ // centered within the input.
385
+ // See https://bugs.webkit.org/show_bug.cgi?id=139848
386
+ // and https://github.com/twbs/bootstrap/issues/11266
387
+ -webkit-appearance: listbox;
388
+ }
389
+
390
+ textarea {
391
+ overflow: auto; // Remove the default vertical scrollbar in IE.
392
+ // Textareas should really only resize vertically so they don't break their (horizontal) containers.
393
+ resize: vertical;
394
+ }
395
+
396
+ fieldset {
397
+ // Browsers set a default `min-width: min-content;` on fieldsets,
398
+ // unlike e.g. `<div>`s, which have `min-width: 0;` by default.
399
+ // So we reset that to ensure fieldsets behave more like a standard block element.
400
+ // See https://github.com/twbs/bootstrap/issues/12359
401
+ // and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
402
+ min-width: 0;
403
+ // Reset the default outline behavior of fieldsets so they don't affect page layout.
404
+ padding: 0;
405
+ margin: 0;
406
+ border: 0;
407
+ }
408
+
409
+ // 1. Correct the text wrapping in Edge and IE.
410
+ // 2. Correct the color inheritance from `fieldset` elements in IE.
411
+ legend {
412
+ display: block;
413
+ width: 100%;
414
+ max-width: 100%; // 1
415
+ padding: 0;
416
+ margin-bottom: .5rem;
417
+ font-size: 1.5rem;
418
+ line-height: inherit;
419
+ color: inherit; // 2
420
+ white-space: normal; // 1
421
+ }
422
+
423
+ progress {
424
+ vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera.
425
+ }
426
+
427
+ // Correct the cursor style of increment and decrement buttons in Chrome.
428
+ [type="number"]::-webkit-inner-spin-button,
429
+ [type="number"]::-webkit-outer-spin-button {
430
+ height: auto;
431
+ }
432
+
433
+ [type="search"] {
434
+ // This overrides the extra rounded corners on search inputs in iOS so that our
435
+ // `.form-control` class can properly style them. Note that this cannot simply
436
+ // be added to `.form-control` as it's not specific enough. For details, see
437
+ // https://github.com/twbs/bootstrap/issues/11586.
438
+ outline-offset: -2px; // 2. Correct the outline style in Safari.
439
+ -webkit-appearance: none;
440
+ }
441
+
442
+ //
443
+ // Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
444
+ //
445
+
446
+ [type="search"]::-webkit-search-cancel-button,
447
+ [type="search"]::-webkit-search-decoration {
448
+ -webkit-appearance: none;
449
+ }
450
+
451
+ //
452
+ // 1. Correct the inability to style clickable types in iOS and Safari.
453
+ // 2. Change font properties to `inherit` in Safari.
454
+ //
455
+
456
+ ::-webkit-file-upload-button {
457
+ font: inherit; // 2
458
+ -webkit-appearance: button; // 1
459
+ }
460
+
461
+ //
462
+ // Correct element displays
463
+ //
464
+
465
+ output {
466
+ display: inline-block;
467
+ }
468
+
469
+ summary {
470
+ display: list-item; // Add the correct display in all browsers
471
+ }
472
+
473
+ template {
474
+ display: none; // Add the correct display in IE
475
+ }
476
+
477
+ // Always hide an element with the `hidden` HTML attribute (from PureCSS).
478
+ // Needed for proper display in IE 10-.
479
+ [hidden] {
480
+ display: none !important;
481
+ }