Skip to content

Commit 44e710c

Browse files
committed
Merge pull request #534 from twbs/prop-order
Property order
2 parents e5a8c6d + 230b3d1 commit 44e710c

17 files changed

+119
-119
lines changed

sass/bars.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
height: $bar-base-height;
1111
padding-right: $bar-side-spacing;
1212
padding-left: $bar-side-spacing;
13-
border-bottom: $border-default;
1413
background-color: $chrome-color;
14+
border-bottom: $border-default;
1515
}
1616

1717
// Modifier class to dock any bar below .bar-nav
@@ -38,8 +38,8 @@
3838
.bar-footer,
3939
.bar-footer-secondary,
4040
.bar-footer-secondary-tab {
41-
border-bottom: 0;
4241
border-top: $border-default;
42+
border-bottom: 0;
4343
}
4444

4545

@@ -83,18 +83,18 @@
8383
width: 100%;
8484
height: $bar-tab-height;
8585
padding: 0;
86+
table-layout: fixed;
8687
border-top: $border-default;
8788
border-bottom: 0;
88-
table-layout: fixed;
8989

9090
// Navigational tab (Nested to be more specific for the icons in tab-items)
9191
.tab-item {
9292
display: table-cell;
9393
width: 1%;
9494
height: $bar-tab-height;
95-
vertical-align: middle;
9695
color: #929292;
9796
text-align: center;
97+
vertical-align: middle;
9898

9999
// Active states for the tab bar
100100
&.active,
@@ -144,8 +144,8 @@
144144
top: 0;
145145
padding: 0;
146146
font-size: 16px;
147-
color: $primary-color;
148147
line-height: $bar-base-height;
148+
color: $primary-color;
149149
border: 0;
150150

151151
&:active,

sass/buttons.scss

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
line-height: 1;
1313
color: #333;
1414
text-align: center;
15-
vertical-align: top;
1615
white-space: nowrap;
16+
vertical-align: top;
1717
cursor: pointer;
1818
background-color: $chrome-color;
1919
border: 1px solid #ccc;
@@ -40,42 +40,42 @@
4040
// Primary button (Default color is blue)
4141
.btn-primary {
4242
color: #fff;
43-
border: 1px solid $primary-color;
4443
background-color: $primary-color;
44+
border: 1px solid $primary-color;
4545

4646
&:active,
4747
&.active {
4848
color: #fff;
49-
border: 1px solid darken($primary-color, 10%);
5049
background-color: darken($primary-color, 10%);
50+
border: 1px solid darken($primary-color, 10%);
5151
}
5252
}
5353

5454
// Positive button (Default color is green)
5555
.btn-positive {
5656
color: #fff;
57-
border: 1px solid $positive-color;
5857
background-color: $positive-color;
58+
border: 1px solid $positive-color;
5959

6060
&:active,
6161
&.active {
6262
color: #fff;
63-
border: 1px solid darken($positive-color, 10%);
6463
background-color: darken($positive-color, 10%);
64+
border: 1px solid darken($positive-color, 10%);
6565
}
6666
}
6767

6868
// Negative button (Default color is red)
6969
.btn-negative {
7070
color: #fff;
71-
border: 1px solid $negative-color;
7271
background-color: $negative-color;
72+
border: 1px solid $negative-color;
7373

7474
&:active,
7575
&.active {
7676
color: #fff;
77-
border: 1px solid darken($negative-color, 10%);
7877
background-color: darken($negative-color, 10%);
78+
border: 1px solid darken($negative-color, 10%);
7979
}
8080
}
8181

@@ -140,8 +140,8 @@ input[type="button"] {
140140

141141
// Generic styles for all badges within default buttons
142142
.btn .badge {
143-
font-size: 12px;
144143
margin: -2px -4px -2px 4px;
144+
font-size: 12px;
145145
background-color: rgba(0,0,0,.15);
146146
}
147147

sass/cards.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// --------------------------------------------------
44

55
.card {
6-
overflow: hidden;
76
margin: $bar-side-spacing;
7+
overflow: hidden;
88
background-color: $card-bg;
99
border: $border-default;
1010
border-radius: $border-radius;
@@ -21,14 +21,14 @@
2121
// Rounding first divider on carded lists and remove border on the top
2222
.table-view-divider:first-child {
2323
top: 0;
24-
border-top-right-radius: $border-radius;
2524
border-top-left-radius: $border-radius;
25+
border-top-right-radius: $border-radius;
2626
}
2727

2828
// Rounding last divider on carded table views
2929
.table-view-divider:last-child {
30-
border-bottom-right-radius: $border-radius;
3130
border-bottom-left-radius: $border-radius;
31+
border-bottom-right-radius: $border-radius;
3232
}
3333
}
3434
// Remove the bottom border from last table cell

0 commit comments

Comments
 (0)