-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_bootstrap-overrides.scss
More file actions
executable file
·220 lines (191 loc) · 5.23 KB
/
Copy path_bootstrap-overrides.scss
File metadata and controls
executable file
·220 lines (191 loc) · 5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
/*
* Various fixes and tweaks for discrete problems with bootstrap. These are too small
* to warrant creating a new version of each script.
*/
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_code.scss
pre {
font-size: $base-font-size;
// If we have a 1px border, we need to offset by 1px.
padding: calc(#{$line-height-computed / 2} - 1px) 15px;
}
code {
padding: 0 4px;
font-size: 0.85rem;
line-height: $line-height-computed;
vertical-align: top;
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_type.scss
.lead {
line-height: $base-line-height * $base-font-size;
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_pager.scss
.pager {
li {
> a,
> span {
padding: 0 14px;
}
}
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss
.carousel-caption {
bottom: $line-height-computed;
z-index: 10;
padding-top: $line-height-computed;
padding-bottom: $line-height-computed;
}
@media screen and (min-width: $screen-sm-min) {
.carousel-caption {
padding-bottom: $line-height-computed;
}
.carousel-indicators {
bottom: $line-height-computed;
}
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_buttons.scss
.btn {
// Our button is 3rem tall with a little margin, minus a pixel on each side for borders.
padding-top: calc(#{$line-height-computed / 4} - 1px);
padding-bottom: calc(#{$line-height-computed / 4} - 1px);
line-height: $line-height-computed;
margin-top: #{$line-height-computed / 4};
margin-bottom: #{$line-height-computed / 4};
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_scaffolding.scss
hr {
margin-bottom: calc(#{$line-height-computed} - 1px);
border-top: 1px solid $hr-border;
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_tables.scss
.table {
// Cells
> thead,
> tbody,
> tfoot {
> tr {
> th,
> td {
// Shrink our padding and adjust for the 1px border.
padding: 0 $table-cell-padding;
line-height: calc(#{$line-height-computed} - 1px);
font-size: 0.85rem;
}
}
}
}
.table-bordered {
margin-top: calc(#{$line-height-computed} - 1px);
margin-bottom: calc(#{$line-height-computed} - 1px);
> thead > tr {
> th,
> td {
line-height: calc(#{$line-height-computed} - 2px);
}
}
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_type.scss
.page-header {
margin: ($line-height-computed * 2) 0 calc(#{$line-height-computed} - 1px);
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_navbar.scss
// We want both .navbar-form and .btn to have margin, but not both at once.
.navbar-form .btn,
.navbar-form input {
margin-top: 0;
margin-bottom: 0;
height: $line-height-computed;
line-height: $line-height-computed;
padding-top: 0;
padding-bottom: 0;
}
.navbar-brand {
padding-top: 0;
padding-bottom: 0;
line-height: calc(#{$navbar-height} - 2px);
height: calc(#{$navbar-height} - 2px);
}
.navbar {
min-height: calc(#{$navbar-height} - 2px);
}
.navbar .btn {
margin-top: calc(#{$line-height-computed / 4} - 1px);
margin-bottom: calc(#{$line-height-computed / 4} - 1px);
}
.navbar-nav, .nav-tabs {
@media (min-width: $grid-float-breakpoint) {
> li {
> a {
padding-top: calc(#{$navbar-padding-vertical} - 1px);
padding-bottom: calc(#{$navbar-padding-vertical} - 1px);
}
}
}
}
.navbar-fixed-top {
min-height: calc(#{$navbar-height} - 1px);
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_jumbotron.scss
.jumbotron {
@media screen and (min-width: $screen-sm-min) {
padding: $jumbotron-padding 0;
}
p {
line-height: $jumbotron-line-height;
margin-bottom: $jumbotron-padding;
}
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_list-group.scss
.list-group-item {
padding:0 15px;
line-height: $line-height-computed;
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_forms.scss
.radio, .checkbox {
margin-top: 0;
margin-bottom: 0;
line-height: $line-height-computed;
}
.radio input[type="radio"],
.radio-inline input[type="radio"],
.checkbox input[type="checkbox"],
.checkbox-inline input[type="checkbox"] {
position: static;
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_dropdowns.scss
.dropdown-menu {
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
> li {
> a {
padding-top: 0;
padding-bottom: 0;
}
}
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_list-group.scss
.list-group {
margin-bottom: $line-height-computed;
}
.list-group-item {
padding-top: $line-height-computed / 2;
padding-bottom: calc(#{$line-height-computed/2} - 1px);;
}
.list-group-item-heading {
margin-bottom: 0;
}
.list-group-item-text {
margin-bottom: 0;
line-height: $line-height-computed;
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_panels.scss
.panel {
margin-bottom: calc( #{$line-height-computed} - 2px);
}
// /bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_wells.scss
.well {
min-height: $line-height-computed;
padding: $line-height-computed / 2;
margin-bottom: $line-height-computed;
}