flipper-ui 0.12.2 → 0.13.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/ui/README.md +21 -3
- data/docs/ui/images/configured-ui.png +0 -0
- data/docs/ui/images/environment-banner.png +0 -0
- data/docs/ui/images/feature.png +0 -0
- data/docs/ui/images/features.png +0 -0
- data/lib/flipper/ui/assets/javascripts/application.coffee +3 -0
- data/lib/flipper/ui/assets/stylesheets/.DS_Store +0 -0
- data/lib/flipper/ui/assets/stylesheets/application.scss +9 -48
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_alert.scss +51 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_badge.scss +47 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumb.scss +38 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-group.scss +166 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_buttons.scss +78 -95
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_card.scss +270 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_carousel.scss +122 -200
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_close.scss +12 -14
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_code.scss +15 -28
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_custom-forms.scss +297 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdown.scss +131 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_forms.scss +210 -455
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_functions.scss +86 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_grid.scss +29 -61
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_images.scss +42 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-group.scss +159 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_jumbotron.scss +8 -42
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_list-group.scss +64 -73
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_media.scss +3 -56
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_mixins.scss +21 -18
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_modal.scss +168 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_nav.scss +118 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navbar.scss +203 -554
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pagination.scss +58 -69
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_popover.scss +183 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_print.scss +71 -54
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress.scss +33 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_reboot.scss +482 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_root.scss +19 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tables.scss +109 -163
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_tooltip.scss +97 -84
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_transitions.scss +36 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_type.scss +66 -239
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_utilities.scss +14 -55
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_variables.scss +726 -698
- data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap-grid.scss +32 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap-reboot.scss +12 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/bootstrap.scss +42 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alert.scss +13 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_background-variant.scss +14 -4
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_badge.scss +12 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_border-radius.scss +25 -8
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_box-shadow.scss +5 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_breakpoints.scss +123 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_buttons.scss +89 -32
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_caret.scss +65 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_clearfix.scss +3 -18
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_float.scss +11 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_forms.scss +115 -66
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_gradients.scss +14 -27
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +52 -66
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_grid.scss +37 -107
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hover.scss +39 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_image.scss +18 -15
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_list-group.scss +10 -20
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_lists.scss +7 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +3 -3
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_navbar-align.scss +10 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_pagination.scss +10 -11
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-text.scss +17 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_resize.scss +1 -1
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_screen-reader.scss +35 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_size.scss +1 -5
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_table-row.scss +16 -14
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +7 -4
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_text-hide.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_transition.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_visibility.scss +7 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_align.scss +8 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_background.scss +19 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_borders.scss +59 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_clearfix.scss +3 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_display.scss +38 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +26 -9
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_flex.scss +46 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_float.scss +9 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_position.scss +36 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_screenreaders.scss +11 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_sizing.scss +12 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_spacing.scss +51 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_text.scss +52 -0
- data/lib/flipper/ui/assets/stylesheets/bootstrap/utilities/_visibility.scss +11 -0
- data/lib/flipper/ui/configuration.rb +24 -0
- data/lib/flipper/ui/decorators/feature.rb +3 -3
- data/lib/flipper/ui/public/css/application.css +6237 -2339
- data/lib/flipper/ui/public/js/application.js +3 -2
- data/lib/flipper/ui/views/add_actor.erb +7 -9
- data/lib/flipper/ui/views/add_feature.erb +8 -10
- data/lib/flipper/ui/views/add_group.erb +7 -9
- data/lib/flipper/ui/views/feature.erb +181 -141
- data/lib/flipper/ui/views/feature_creation_disabled.erb +1 -1
- data/lib/flipper/ui/views/feature_removal_disabled.erb +1 -1
- data/lib/flipper/ui/views/features.erb +12 -15
- data/lib/flipper/ui/views/layout.erb +25 -15
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/ui/actions/actors_gate_spec.rb +2 -1
- data/spec/flipper/ui/actions/add_feature_spec.rb +2 -1
- data/spec/flipper/ui/actions/groups_gate_spec.rb +2 -1
- data/spec/flipper/ui/configuration_spec.rb +27 -0
- data/spec/flipper/ui_spec.rb +24 -0
- metadata +58 -64
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-compass.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-mincer.scss +0 -19
- data/lib/flipper/ui/assets/stylesheets/_bootstrap-sprockets.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/_bootstrap.scss +0 -50
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_alerts.scss +0 -73
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_badges.scss +0 -68
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -26
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_button-groups.scss +0 -243
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_component-animations.scss +0 -37
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_dropdowns.scss +0 -214
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_glyphicons.scss +0 -305
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_input-groups.scss +0 -166
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_labels.scss +0 -66
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_modals.scss +0 -150
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_navs.scss +0 -242
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_normalize.scss +0 -427
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_pager.scss +0 -54
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_panels.scss +0 -265
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_popovers.scss +0 -135
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_progress-bars.scss +0 -87
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -177
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_scaffolding.scss +0 -162
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_theme.scss +0 -273
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
- data/lib/flipper/ui/assets/stylesheets/bootstrap/_wells.scss +0 -29
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_labels.scss +0 -12
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_panels.scss +0 -24
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
- data/lib/flipper/ui/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
- data/lib/flipper/ui/public/css/primer.css +0 -1
- data/lib/flipper/ui/public/css/primer/primer.css +0 -1933
- data/lib/flipper/ui/public/css/scss/primer.css +0 -1933
- data/lib/flipper/ui/public/js/bootstrap-sprockets.js +0 -12
- data/lib/flipper/ui/public/js/bootstrap.js +0 -2317
- data/lib/flipper/ui/public/js/bootstrap.min.js +0 -7
- data/lib/flipper/ui/public/js/bootstrap/affix.js +0 -162
- data/lib/flipper/ui/public/js/bootstrap/alert.js +0 -94
- data/lib/flipper/ui/public/js/bootstrap/button.js +0 -116
- data/lib/flipper/ui/public/js/bootstrap/carousel.js +0 -237
- data/lib/flipper/ui/public/js/bootstrap/collapse.js +0 -211
- data/lib/flipper/ui/public/js/bootstrap/dropdown.js +0 -161
- data/lib/flipper/ui/public/js/bootstrap/modal.js +0 -339
- data/lib/flipper/ui/public/js/bootstrap/popover.js +0 -108
- data/lib/flipper/ui/public/js/bootstrap/scrollspy.js +0 -172
- data/lib/flipper/ui/public/js/bootstrap/tab.js +0 -153
- data/lib/flipper/ui/public/js/bootstrap/tooltip.js +0 -476
- data/lib/flipper/ui/public/js/bootstrap/transition.js +0 -59
@@ -0,0 +1,36 @@
|
|
1
|
+
// stylelint-disable selector-no-qualifying-type
|
2
|
+
|
3
|
+
.fade {
|
4
|
+
opacity: 0;
|
5
|
+
@include transition($transition-fade);
|
6
|
+
|
7
|
+
&.show {
|
8
|
+
opacity: 1;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.collapse {
|
13
|
+
display: none;
|
14
|
+
&.show {
|
15
|
+
display: block;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
tr {
|
20
|
+
&.collapse.show {
|
21
|
+
display: table-row;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
tbody {
|
26
|
+
&.collapse.show {
|
27
|
+
display: table-row-group;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
.collapsing {
|
32
|
+
position: relative;
|
33
|
+
height: 0;
|
34
|
+
overflow: hidden;
|
35
|
+
@include transition($transition-collapse);
|
36
|
+
}
|
@@ -1,298 +1,125 @@
|
|
1
|
-
//
|
2
|
-
// Typography
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
1
|
+
// stylelint-disable declaration-no-important, selector-list-comma-newline-after
|
5
2
|
|
3
|
+
//
|
6
4
|
// Headings
|
7
|
-
//
|
5
|
+
//
|
8
6
|
|
9
7
|
h1, h2, h3, h4, h5, h6,
|
10
8
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
9
|
+
margin-bottom: $headings-margin-bottom;
|
11
10
|
font-family: $headings-font-family;
|
12
11
|
font-weight: $headings-font-weight;
|
13
12
|
line-height: $headings-line-height;
|
14
13
|
color: $headings-color;
|
15
|
-
|
16
|
-
small,
|
17
|
-
.small {
|
18
|
-
font-weight: normal;
|
19
|
-
line-height: 1;
|
20
|
-
color: $headings-small-color;
|
21
|
-
}
|
22
14
|
}
|
23
15
|
|
24
|
-
h1, .h1
|
25
|
-
h2, .h2
|
26
|
-
h3, .h3 {
|
27
|
-
|
28
|
-
|
16
|
+
h1, .h1 { font-size: $h1-font-size; }
|
17
|
+
h2, .h2 { font-size: $h2-font-size; }
|
18
|
+
h3, .h3 { font-size: $h3-font-size; }
|
19
|
+
h4, .h4 { font-size: $h4-font-size; }
|
20
|
+
h5, .h5 { font-size: $h5-font-size; }
|
21
|
+
h6, .h6 { font-size: $h6-font-size; }
|
29
22
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
}
|
23
|
+
.lead {
|
24
|
+
font-size: $lead-font-size;
|
25
|
+
font-weight: $lead-font-weight;
|
34
26
|
}
|
35
|
-
h4, .h4,
|
36
|
-
h5, .h5,
|
37
|
-
h6, .h6 {
|
38
|
-
margin-top: ($line-height-computed / 2);
|
39
|
-
margin-bottom: ($line-height-computed / 2);
|
40
27
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
28
|
+
// Type display classes
|
29
|
+
.display-1 {
|
30
|
+
font-size: $display1-size;
|
31
|
+
font-weight: $display1-weight;
|
32
|
+
line-height: $display-line-height;
|
45
33
|
}
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
34
|
+
.display-2 {
|
35
|
+
font-size: $display2-size;
|
36
|
+
font-weight: $display2-weight;
|
37
|
+
line-height: $display-line-height;
|
38
|
+
}
|
39
|
+
.display-3 {
|
40
|
+
font-size: $display3-size;
|
41
|
+
font-weight: $display3-weight;
|
42
|
+
line-height: $display-line-height;
|
43
|
+
}
|
44
|
+
.display-4 {
|
45
|
+
font-size: $display4-size;
|
46
|
+
font-weight: $display4-weight;
|
47
|
+
line-height: $display-line-height;
|
60
48
|
}
|
61
49
|
|
62
|
-
.lead {
|
63
|
-
margin-bottom: $line-height-computed;
|
64
|
-
font-size: floor(($font-size-base * 1.15));
|
65
|
-
font-weight: 300;
|
66
|
-
line-height: 1.4;
|
67
50
|
|
68
|
-
|
69
|
-
|
70
|
-
|
51
|
+
//
|
52
|
+
// Horizontal rules
|
53
|
+
//
|
54
|
+
|
55
|
+
hr {
|
56
|
+
margin-top: $hr-margin-y;
|
57
|
+
margin-bottom: $hr-margin-y;
|
58
|
+
border: 0;
|
59
|
+
border-top: $hr-border-width solid $hr-border-color;
|
71
60
|
}
|
72
61
|
|
73
62
|
|
74
|
-
//
|
75
|
-
//
|
63
|
+
//
|
64
|
+
// Emphasis
|
65
|
+
//
|
76
66
|
|
77
|
-
// Ex: (12px small font / 14px base font) * 100% = about 85%
|
78
67
|
small,
|
79
68
|
.small {
|
80
|
-
font-size:
|
69
|
+
font-size: $small-font-size;
|
70
|
+
font-weight: $font-weight-normal;
|
81
71
|
}
|
82
72
|
|
83
73
|
mark,
|
84
74
|
.mark {
|
85
|
-
|
86
|
-
|
87
|
-
}
|
88
|
-
|
89
|
-
// Alignment
|
90
|
-
.text-left { text-align: left; }
|
91
|
-
.text-right { text-align: right; }
|
92
|
-
.text-center { text-align: center; }
|
93
|
-
.text-justify { text-align: justify; }
|
94
|
-
.text-nowrap { white-space: nowrap; }
|
95
|
-
|
96
|
-
// Transformation
|
97
|
-
.text-lowercase { text-transform: lowercase; }
|
98
|
-
.text-uppercase { text-transform: uppercase; }
|
99
|
-
.text-capitalize { text-transform: capitalize; }
|
100
|
-
|
101
|
-
// Contextual colors
|
102
|
-
.text-muted {
|
103
|
-
color: $text-muted;
|
104
|
-
}
|
105
|
-
|
106
|
-
@include text-emphasis-variant('.text-primary', $brand-primary);
|
107
|
-
|
108
|
-
@include text-emphasis-variant('.text-success', $state-success-text);
|
109
|
-
|
110
|
-
@include text-emphasis-variant('.text-info', $state-info-text);
|
111
|
-
|
112
|
-
@include text-emphasis-variant('.text-warning', $state-warning-text);
|
113
|
-
|
114
|
-
@include text-emphasis-variant('.text-danger', $state-danger-text);
|
115
|
-
|
116
|
-
// Contextual backgrounds
|
117
|
-
// For now we'll leave these alongside the text classes until v4 when we can
|
118
|
-
// safely shift things around (per SemVer rules).
|
119
|
-
.bg-primary {
|
120
|
-
// Given the contrast here, this is the only class to have its color inverted
|
121
|
-
// automatically.
|
122
|
-
color: #fff;
|
123
|
-
}
|
124
|
-
@include bg-variant('.bg-primary', $brand-primary);
|
125
|
-
|
126
|
-
@include bg-variant('.bg-success', $state-success-bg);
|
127
|
-
|
128
|
-
@include bg-variant('.bg-info', $state-info-bg);
|
129
|
-
|
130
|
-
@include bg-variant('.bg-warning', $state-warning-bg);
|
131
|
-
|
132
|
-
@include bg-variant('.bg-danger', $state-danger-bg);
|
133
|
-
|
134
|
-
|
135
|
-
// Page header
|
136
|
-
// -------------------------
|
137
|
-
|
138
|
-
.page-header {
|
139
|
-
padding-bottom: (($line-height-computed / 2) - 1);
|
140
|
-
margin: ($line-height-computed * 2) 0 $line-height-computed;
|
141
|
-
border-bottom: 1px solid $page-header-border-color;
|
75
|
+
padding: $mark-padding;
|
76
|
+
background-color: $mark-bg;
|
142
77
|
}
|
143
78
|
|
144
79
|
|
80
|
+
//
|
145
81
|
// Lists
|
146
|
-
//
|
147
|
-
|
148
|
-
// Unordered and Ordered lists
|
149
|
-
ul,
|
150
|
-
ol {
|
151
|
-
margin-top: 0;
|
152
|
-
margin-bottom: ($line-height-computed / 2);
|
153
|
-
ul,
|
154
|
-
ol {
|
155
|
-
margin-bottom: 0;
|
156
|
-
}
|
157
|
-
}
|
158
|
-
|
159
|
-
// List options
|
82
|
+
//
|
160
83
|
|
161
|
-
// [converter] extracted from `.list-unstyled` for libsass compatibility
|
162
|
-
@mixin list-unstyled {
|
163
|
-
padding-left: 0;
|
164
|
-
list-style: none;
|
165
|
-
}
|
166
|
-
// [converter] extracted as `@mixin list-unstyled` for libsass compatibility
|
167
84
|
.list-unstyled {
|
168
85
|
@include list-unstyled;
|
169
86
|
}
|
170
87
|
|
171
|
-
|
172
88
|
// Inline turns list items into inline-block
|
173
89
|
.list-inline {
|
174
90
|
@include list-unstyled;
|
175
|
-
margin-left: -5px;
|
176
|
-
|
177
|
-
> li {
|
178
|
-
display: inline-block;
|
179
|
-
padding-left: 5px;
|
180
|
-
padding-right: 5px;
|
181
|
-
}
|
182
91
|
}
|
92
|
+
.list-inline-item {
|
93
|
+
display: inline-block;
|
183
94
|
|
184
|
-
|
185
|
-
|
186
|
-
margin-top: 0; // Remove browser default
|
187
|
-
margin-bottom: $line-height-computed;
|
188
|
-
}
|
189
|
-
dt,
|
190
|
-
dd {
|
191
|
-
line-height: $line-height-base;
|
192
|
-
}
|
193
|
-
dt {
|
194
|
-
font-weight: bold;
|
195
|
-
}
|
196
|
-
dd {
|
197
|
-
margin-left: 0; // Undo browser default
|
198
|
-
}
|
199
|
-
|
200
|
-
// Horizontal description lists
|
201
|
-
//
|
202
|
-
// Defaults to being stacked without any of the below styles applied, until the
|
203
|
-
// grid breakpoint is reached (default of ~768px).
|
204
|
-
|
205
|
-
.dl-horizontal {
|
206
|
-
dd {
|
207
|
-
@include clearfix; // Clear the floated `dt` if an empty `dd` is present
|
208
|
-
}
|
209
|
-
|
210
|
-
@media (min-width: $grid-float-breakpoint) {
|
211
|
-
dt {
|
212
|
-
float: left;
|
213
|
-
width: ($dl-horizontal-offset - 20);
|
214
|
-
clear: left;
|
215
|
-
text-align: right;
|
216
|
-
@include text-overflow;
|
217
|
-
}
|
218
|
-
dd {
|
219
|
-
margin-left: $dl-horizontal-offset;
|
220
|
-
}
|
95
|
+
&:not(:last-child) {
|
96
|
+
margin-right: $list-inline-padding;
|
221
97
|
}
|
222
98
|
}
|
223
99
|
|
224
100
|
|
101
|
+
//
|
225
102
|
// Misc
|
226
|
-
//
|
103
|
+
//
|
227
104
|
|
228
|
-
//
|
229
|
-
abbr[title],
|
230
|
-
// Add data-* attribute to help out our tooltip plugin, per https://github.com/twbs/bootstrap/issues/5257
|
231
|
-
abbr[data-original-title] {
|
232
|
-
cursor: help;
|
233
|
-
border-bottom: 1px dotted $abbr-border-color;
|
234
|
-
}
|
105
|
+
// Builds on `abbr`
|
235
106
|
.initialism {
|
236
107
|
font-size: 90%;
|
237
|
-
|
108
|
+
text-transform: uppercase;
|
238
109
|
}
|
239
110
|
|
240
111
|
// Blockquotes
|
241
|
-
blockquote {
|
242
|
-
|
243
|
-
margin: 0 0 $line-height-computed;
|
112
|
+
.blockquote {
|
113
|
+
margin-bottom: $spacer;
|
244
114
|
font-size: $blockquote-font-size;
|
245
|
-
border-left: 5px solid $blockquote-border-color;
|
246
|
-
|
247
|
-
p,
|
248
|
-
ul,
|
249
|
-
ol {
|
250
|
-
&:last-child {
|
251
|
-
margin-bottom: 0;
|
252
|
-
}
|
253
|
-
}
|
254
|
-
|
255
|
-
// Note: Deprecated small and .small as of v3.1.0
|
256
|
-
// Context: https://github.com/twbs/bootstrap/issues/11660
|
257
|
-
footer,
|
258
|
-
small,
|
259
|
-
.small {
|
260
|
-
display: block;
|
261
|
-
font-size: 80%; // back to default font-size
|
262
|
-
line-height: $line-height-base;
|
263
|
-
color: $blockquote-small-color;
|
264
|
-
|
265
|
-
&:before {
|
266
|
-
content: '\2014 \00A0'; // em dash, nbsp
|
267
|
-
}
|
268
|
-
}
|
269
115
|
}
|
270
116
|
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
blockquote.pull-right {
|
276
|
-
padding-right: 15px;
|
277
|
-
padding-left: 0;
|
278
|
-
border-right: 5px solid $blockquote-border-color;
|
279
|
-
border-left: 0;
|
280
|
-
text-align: right;
|
117
|
+
.blockquote-footer {
|
118
|
+
display: block;
|
119
|
+
font-size: 80%; // back to default font-size
|
120
|
+
color: $blockquote-small-color;
|
281
121
|
|
282
|
-
|
283
|
-
|
284
|
-
small,
|
285
|
-
.small {
|
286
|
-
&:before { content: ''; }
|
287
|
-
&:after {
|
288
|
-
content: '\00A0 \2014'; // nbsp, em dash
|
289
|
-
}
|
122
|
+
&::before {
|
123
|
+
content: "\2014 \00A0"; // em dash, nbsp
|
290
124
|
}
|
291
125
|
}
|
292
|
-
|
293
|
-
// Addresses
|
294
|
-
address {
|
295
|
-
margin-bottom: $line-height-computed;
|
296
|
-
font-style: normal;
|
297
|
-
line-height: $line-height-base;
|
298
|
-
}
|
@@ -1,55 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.pull-right {
|
16
|
-
float: right !important;
|
17
|
-
}
|
18
|
-
.pull-left {
|
19
|
-
float: left !important;
|
20
|
-
}
|
21
|
-
|
22
|
-
|
23
|
-
// Toggling content
|
24
|
-
// -------------------------
|
25
|
-
|
26
|
-
// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
|
27
|
-
.hide {
|
28
|
-
display: none !important;
|
29
|
-
}
|
30
|
-
.show {
|
31
|
-
display: block !important;
|
32
|
-
}
|
33
|
-
.invisible {
|
34
|
-
visibility: hidden;
|
35
|
-
}
|
36
|
-
.text-hide {
|
37
|
-
@include text-hide;
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
// Hide from screenreaders and browsers
|
42
|
-
//
|
43
|
-
// Credit: HTML5 Boilerplate
|
44
|
-
|
45
|
-
.hidden {
|
46
|
-
display: none !important;
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
// For Affix plugin
|
51
|
-
// -------------------------
|
52
|
-
|
53
|
-
.affix {
|
54
|
-
position: fixed;
|
55
|
-
}
|
1
|
+
@import "utilities/align";
|
2
|
+
@import "utilities/background";
|
3
|
+
@import "utilities/borders";
|
4
|
+
@import "utilities/clearfix";
|
5
|
+
@import "utilities/display";
|
6
|
+
@import "utilities/embed";
|
7
|
+
@import "utilities/flex";
|
8
|
+
@import "utilities/float";
|
9
|
+
@import "utilities/position";
|
10
|
+
@import "utilities/screenreaders";
|
11
|
+
@import "utilities/sizing";
|
12
|
+
@import "utilities/spacing";
|
13
|
+
@import "utilities/text";
|
14
|
+
@import "utilities/visibility";
|