compass_twitter_bootstrap 2.0.1.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +17 -0
- data/build/convert.rb +2 -12
- data/lib/compass_twitter_bootstrap/version.rb +1 -1
- data/stylesheets/_compass_twitter_bootstrap.scss +2 -2
- data/stylesheets/_compass_twitter_bootstrap_awesome.scss +66 -0
- data/stylesheets/_compass_twitter_bootstrap_responsive.scss +14 -293
- data/stylesheets/compass_twitter_bootstrap/_accordion.scss +6 -1
- data/stylesheets/compass_twitter_bootstrap/_alerts.scss +3 -15
- data/stylesheets/compass_twitter_bootstrap/_breadcrumbs.scss +5 -3
- data/stylesheets/compass_twitter_bootstrap/_button-groups.scss +82 -39
- data/stylesheets/compass_twitter_bootstrap/_buttons.scss +38 -30
- data/stylesheets/compass_twitter_bootstrap/_carousel.scss +5 -5
- data/stylesheets/compass_twitter_bootstrap/_close.scss +13 -2
- data/stylesheets/compass_twitter_bootstrap/_code.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_component-animations.scss +10 -8
- data/stylesheets/compass_twitter_bootstrap/_dropdowns.scss +62 -49
- data/stylesheets/compass_twitter_bootstrap/_font-awesome.scss +267 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +141 -77
- data/stylesheets/compass_twitter_bootstrap/_grid.scss +2 -5
- data/stylesheets/compass_twitter_bootstrap/_hero-unit.scss +4 -2
- data/stylesheets/compass_twitter_bootstrap/_labels-badges.scss +63 -0
- data/stylesheets/compass_twitter_bootstrap/_layouts.scss +3 -3
- data/stylesheets/compass_twitter_bootstrap/_mixins.scss +275 -255
- data/stylesheets/compass_twitter_bootstrap/_modals.scss +19 -12
- data/stylesheets/compass_twitter_bootstrap/_navbar.scss +146 -81
- data/stylesheets/compass_twitter_bootstrap/_navs.scss +77 -52
- data/stylesheets/compass_twitter_bootstrap/_pager.scss +8 -2
- data/stylesheets/compass_twitter_bootstrap/_pagination.scss +6 -5
- data/stylesheets/compass_twitter_bootstrap/_popovers.scss +9 -9
- data/stylesheets/compass_twitter_bootstrap/_progress-bars.scss +41 -19
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_responsive-1200px-min.scss +26 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-767px-max.scss +149 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-768px-979px.scss +17 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-navbar.scss +146 -0
- data/stylesheets/compass_twitter_bootstrap/_responsive-utilities.scss +41 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +4 -4
- data/stylesheets/compass_twitter_bootstrap/_sprites.scss +42 -9
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +60 -34
- data/stylesheets/compass_twitter_bootstrap/_thumbnails.scss +18 -6
- data/stylesheets/compass_twitter_bootstrap/_tooltip.scss +7 -7
- data/stylesheets/compass_twitter_bootstrap/_type.scss +28 -11
- data/stylesheets/compass_twitter_bootstrap/_variables.scss +107 -9
- data/stylesheets/compass_twitter_bootstrap/_wells.scss +13 -2
- data/stylesheets_sass/_compass_twitter_bootstrap.sass +2 -2
- data/stylesheets_sass/_compass_twitter_bootstrap_awesome.sass +70 -0
- data/stylesheets_sass/_compass_twitter_bootstrap_responsive.sass +13 -224
- data/stylesheets_sass/compass_twitter_bootstrap/_accordion.sass +5 -1
- data/stylesheets_sass/compass_twitter_bootstrap/_alerts.sass +3 -14
- data/stylesheets_sass/compass_twitter_bootstrap/_breadcrumbs.sass +5 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_button-groups.sass +73 -36
- data/stylesheets_sass/compass_twitter_bootstrap/_buttons.sass +39 -28
- data/stylesheets_sass/compass_twitter_bootstrap/_carousel.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_close.sass +12 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_code.sass +10 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_component-animations.sass +5 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_dropdowns.sass +57 -47
- data/stylesheets_sass/compass_twitter_bootstrap/_font-awesome.sass +515 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_forms.sass +140 -76
- data/stylesheets_sass/compass_twitter_bootstrap/_grid.sass +2 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_hero-unit.sass +4 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_labels-badges.sass +85 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_layouts.sass +3 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_mixins.sass +277 -260
- data/stylesheets_sass/compass_twitter_bootstrap/_modals.sass +19 -12
- data/stylesheets_sass/compass_twitter_bootstrap/_navbar.sass +138 -78
- data/stylesheets_sass/compass_twitter_bootstrap/_navs.sass +77 -51
- data/stylesheets_sass/compass_twitter_bootstrap/_pager.sass +8 -2
- data/stylesheets_sass/compass_twitter_bootstrap/_pagination.sass +6 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_popovers.sass +9 -9
- data/stylesheets_sass/compass_twitter_bootstrap/_progress-bars.sass +44 -19
- data/stylesheets_sass/compass_twitter_bootstrap/_reset.sass +4 -3
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-1200px-min.sass +17 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-767px-max.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-768px-979px.sass +11 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-navbar.sass +115 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_responsive-utilities.sass +56 -0
- data/stylesheets_sass/compass_twitter_bootstrap/_scaffolding.sass +4 -4
- data/stylesheets_sass/compass_twitter_bootstrap/_sprites.sass +70 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_tables.sass +72 -34
- data/stylesheets_sass/compass_twitter_bootstrap/_thumbnails.sass +15 -5
- data/stylesheets_sass/compass_twitter_bootstrap/_tooltip.sass +7 -7
- data/stylesheets_sass/compass_twitter_bootstrap/_type.sass +27 -11
- data/stylesheets_sass/compass_twitter_bootstrap/_variables.sass +105 -8
- data/stylesheets_sass/compass_twitter_bootstrap/_wells.sass +11 -2
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +28 -32
- data/vendor/assets/javascripts/bootstrap-all.js +12 -0
- data/vendor/assets/javascripts/bootstrap-button.js +32 -34
- data/vendor/assets/javascripts/bootstrap-carousel.js +33 -21
- data/vendor/assets/javascripts/bootstrap-collapse.js +47 -26
- data/vendor/assets/javascripts/bootstrap-dropdown.js +18 -10
- data/vendor/assets/javascripts/bootstrap-modal.js +25 -17
- data/vendor/assets/javascripts/bootstrap-popover.js +13 -10
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +44 -18
- data/vendor/assets/javascripts/bootstrap-tab.js +12 -7
- data/vendor/assets/javascripts/bootstrap-tooltip.js +40 -35
- data/vendor/assets/javascripts/bootstrap-transition.js +30 -20
- data/vendor/assets/javascripts/bootstrap-typeahead.js +29 -15
- metadata +29 -9
- data/stylesheets/compass_twitter_bootstrap/_labels.scss +0 -32
- data/stylesheets_sass/compass_twitter_bootstrap/_labels.sass +0 -42
|
@@ -46,7 +46,7 @@ html {
|
|
|
46
46
|
}
|
|
47
47
|
// Focus states
|
|
48
48
|
a:focus {
|
|
49
|
-
@include tab-focus();
|
|
49
|
+
@include bootstrap-tab-focus();
|
|
50
50
|
}
|
|
51
51
|
// Hover & Active
|
|
52
52
|
a:hover,
|
|
@@ -75,8 +75,8 @@ sub {
|
|
|
75
75
|
// -------------------------
|
|
76
76
|
|
|
77
77
|
img {
|
|
78
|
-
max-width: 100%;
|
|
79
|
-
|
|
78
|
+
max-width: 100%; // Make images inherently responsive
|
|
79
|
+
vertical-align: middle;
|
|
80
80
|
border: 0;
|
|
81
81
|
-ms-interpolation-mode: bicubic;
|
|
82
82
|
}
|
|
@@ -111,10 +111,10 @@ input[type="submit"] {
|
|
|
111
111
|
-webkit-appearance: button; // Style clickable inputs in iOS
|
|
112
112
|
}
|
|
113
113
|
input[type="search"] { // Appearance in Safari/Chrome
|
|
114
|
-
-webkit-appearance: textfield;
|
|
115
114
|
-webkit-box-sizing: content-box;
|
|
116
115
|
-moz-box-sizing: content-box;
|
|
117
116
|
box-sizing: content-box;
|
|
117
|
+
-webkit-appearance: textfield;
|
|
118
118
|
}
|
|
119
119
|
input[type="search"]::-webkit-search-decoration,
|
|
120
120
|
input[type="search"]::-webkit-search-cancel-button {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// LARGE DESKTOP & UP
|
|
2
|
+
// ------------------
|
|
3
|
+
|
|
4
|
+
@media (min-width: 1200px) {
|
|
5
|
+
|
|
6
|
+
// Fixed grid
|
|
7
|
+
@include bootstrap-grid-core(70px, 30px);
|
|
8
|
+
|
|
9
|
+
// Fluid grid
|
|
10
|
+
@include bootstrap-grid-fluid(5.982905983%, 2.564102564%);
|
|
11
|
+
|
|
12
|
+
// Input grid
|
|
13
|
+
@include bootstrap-grid-input(70px, 30px);
|
|
14
|
+
|
|
15
|
+
// Thumbnails
|
|
16
|
+
.thumbnails {
|
|
17
|
+
margin-left: -30px;
|
|
18
|
+
}
|
|
19
|
+
.thumbnails > li {
|
|
20
|
+
margin-left: 30px;
|
|
21
|
+
}
|
|
22
|
+
.row-fluid .thumbnails {
|
|
23
|
+
margin-left: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
// UP TO LANDSCAPE PHONE
|
|
2
|
+
// ---------------------
|
|
3
|
+
|
|
4
|
+
@media (max-width: 480px) {
|
|
5
|
+
|
|
6
|
+
// Smooth out the collapsing/expanding nav
|
|
7
|
+
.nav-collapse {
|
|
8
|
+
-webkit-transform: translate3d(0, 0, 0); // activate the GPU
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Block level the page header small tag for readability
|
|
12
|
+
.page-header h1 small {
|
|
13
|
+
display: block;
|
|
14
|
+
line-height: $baseLineHeight;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Update checkboxes for iOS
|
|
18
|
+
input[type="checkbox"],
|
|
19
|
+
input[type="radio"] {
|
|
20
|
+
border: 1px solid #ccc;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// Remove the horizontal form styles
|
|
24
|
+
.form-horizontal .control-group > label {
|
|
25
|
+
float: none;
|
|
26
|
+
width: auto;
|
|
27
|
+
padding-top: 0;
|
|
28
|
+
text-align: left;
|
|
29
|
+
}
|
|
30
|
+
// Move over all input controls and content
|
|
31
|
+
.form-horizontal .controls {
|
|
32
|
+
margin-left: 0;
|
|
33
|
+
}
|
|
34
|
+
// Move the options list down to align with labels
|
|
35
|
+
.form-horizontal .control-list {
|
|
36
|
+
padding-top: 0; // has to be padding because margin collaspes
|
|
37
|
+
}
|
|
38
|
+
// Move over buttons in .form-actions to align with .controls
|
|
39
|
+
.form-horizontal .form-actions {
|
|
40
|
+
padding-left: 10px;
|
|
41
|
+
padding-right: 10px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Modals
|
|
45
|
+
.modal {
|
|
46
|
+
position: absolute;
|
|
47
|
+
top: 10px;
|
|
48
|
+
left: 10px;
|
|
49
|
+
right: 10px;
|
|
50
|
+
width: auto;
|
|
51
|
+
margin: 0;
|
|
52
|
+
&.fade.in { top: auto; }
|
|
53
|
+
}
|
|
54
|
+
.modal-header .close {
|
|
55
|
+
padding: 10px;
|
|
56
|
+
margin: -10px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Carousel
|
|
60
|
+
.carousel-caption {
|
|
61
|
+
position: static;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
|
|
69
|
+
// --------------------------------------------------
|
|
70
|
+
|
|
71
|
+
@media (max-width: 767px) {
|
|
72
|
+
|
|
73
|
+
// Padding to set content in a bit
|
|
74
|
+
body {
|
|
75
|
+
padding-left: 20px;
|
|
76
|
+
padding-right: 20px;
|
|
77
|
+
}
|
|
78
|
+
// Negative indent the now static "fixed" navbar
|
|
79
|
+
.navbar-fixed-top,
|
|
80
|
+
.navbar-fixed-bottom {
|
|
81
|
+
margin-left: -20px;
|
|
82
|
+
margin-right: -20px;
|
|
83
|
+
}
|
|
84
|
+
// Remove padding on container given explicit padding set on body
|
|
85
|
+
.container-fluid {
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// TYPOGRAPHY
|
|
90
|
+
// ----------
|
|
91
|
+
// Reset horizontal dl
|
|
92
|
+
.dl-horizontal {
|
|
93
|
+
dt {
|
|
94
|
+
float: none;
|
|
95
|
+
clear: none;
|
|
96
|
+
width: auto;
|
|
97
|
+
text-align: left;
|
|
98
|
+
}
|
|
99
|
+
dd {
|
|
100
|
+
margin-left: 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// GRID & CONTAINERS
|
|
105
|
+
// -----------------
|
|
106
|
+
// Remove width from containers
|
|
107
|
+
.container {
|
|
108
|
+
width: auto;
|
|
109
|
+
}
|
|
110
|
+
// Fluid rows
|
|
111
|
+
.row-fluid {
|
|
112
|
+
width: 100%;
|
|
113
|
+
}
|
|
114
|
+
// Undo negative margin on rows and thumbnails
|
|
115
|
+
.row,
|
|
116
|
+
.thumbnails {
|
|
117
|
+
margin-left: 0;
|
|
118
|
+
}
|
|
119
|
+
// Make all grid-sized elements block level again
|
|
120
|
+
[class*="span"],
|
|
121
|
+
.row-fluid [class*="span"] {
|
|
122
|
+
float: none;
|
|
123
|
+
display: block;
|
|
124
|
+
width: auto;
|
|
125
|
+
margin-left: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// FORM FIELDS
|
|
129
|
+
// -----------
|
|
130
|
+
// Make span* classes full width
|
|
131
|
+
.input-large,
|
|
132
|
+
.input-xlarge,
|
|
133
|
+
.input-xxlarge,
|
|
134
|
+
input[class*="span"],
|
|
135
|
+
select[class*="span"],
|
|
136
|
+
textarea[class*="span"],
|
|
137
|
+
.uneditable-input {
|
|
138
|
+
@include bootstrap-input-block-level();
|
|
139
|
+
}
|
|
140
|
+
// But don't let it screw up prepend/append inputs
|
|
141
|
+
.input-prepend input,
|
|
142
|
+
.input-append input,
|
|
143
|
+
.input-prepend input[class*="span"],
|
|
144
|
+
.input-append input[class*="span"] {
|
|
145
|
+
display: inline-block; // redeclare so they don't wrap to new lines
|
|
146
|
+
width: auto;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// PORTRAIT TABLET TO DEFAULT DESKTOP
|
|
2
|
+
// ----------------------------------
|
|
3
|
+
|
|
4
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
|
5
|
+
|
|
6
|
+
// Fixed grid
|
|
7
|
+
@include bootstrap-grid-core(42px, 20px);
|
|
8
|
+
|
|
9
|
+
// Fluid grid
|
|
10
|
+
@include bootstrap-grid-fluid(5.801104972%, 2.762430939%);
|
|
11
|
+
|
|
12
|
+
// Input grid
|
|
13
|
+
@include bootstrap-grid-input(42px, 20px);
|
|
14
|
+
|
|
15
|
+
// No need to reset .thumbnails here since it's the same @gridGutterWidth
|
|
16
|
+
|
|
17
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
// TABLETS AND BELOW
|
|
2
|
+
// -----------------
|
|
3
|
+
@media (max-width: 979px) {
|
|
4
|
+
|
|
5
|
+
// UNFIX THE TOPBAR
|
|
6
|
+
// ----------------
|
|
7
|
+
// Remove any padding from the body
|
|
8
|
+
body {
|
|
9
|
+
padding-top: 0;
|
|
10
|
+
}
|
|
11
|
+
// Unfix the navbar
|
|
12
|
+
.navbar-fixed-top {
|
|
13
|
+
position: static;
|
|
14
|
+
margin-bottom: $baseLineHeight;
|
|
15
|
+
}
|
|
16
|
+
.navbar-fixed-top .navbar-inner {
|
|
17
|
+
padding: 5px;
|
|
18
|
+
}
|
|
19
|
+
.navbar .container {
|
|
20
|
+
width: auto;
|
|
21
|
+
padding: 0;
|
|
22
|
+
}
|
|
23
|
+
// Account for brand name
|
|
24
|
+
.navbar .brand {
|
|
25
|
+
padding-left: 10px;
|
|
26
|
+
padding-right: 10px;
|
|
27
|
+
margin: 0 0 0 -5px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// COLLAPSIBLE NAVBAR
|
|
31
|
+
// ------------------
|
|
32
|
+
// Nav collapse clears brand
|
|
33
|
+
.nav-collapse {
|
|
34
|
+
clear: both;
|
|
35
|
+
}
|
|
36
|
+
// Block-level the nav
|
|
37
|
+
.nav-collapse .nav {
|
|
38
|
+
float: none;
|
|
39
|
+
margin: 0 0 ($baseLineHeight / 2);
|
|
40
|
+
}
|
|
41
|
+
.nav-collapse .nav > li {
|
|
42
|
+
float: none;
|
|
43
|
+
}
|
|
44
|
+
.nav-collapse .nav > li > a {
|
|
45
|
+
margin-bottom: 2px;
|
|
46
|
+
}
|
|
47
|
+
.nav-collapse .nav > .divider-vertical {
|
|
48
|
+
display: none;
|
|
49
|
+
}
|
|
50
|
+
.nav-collapse .nav .nav-header {
|
|
51
|
+
color: $navbarText;
|
|
52
|
+
text-shadow: none;
|
|
53
|
+
}
|
|
54
|
+
// Nav and dropdown links in navbar
|
|
55
|
+
.nav-collapse .nav > li > a,
|
|
56
|
+
.nav-collapse .dropdown-menu a {
|
|
57
|
+
padding: 6px 15px;
|
|
58
|
+
font-weight: bold;
|
|
59
|
+
color: $navbarLinkColor;
|
|
60
|
+
@include bootstrap-border-radius(3px);
|
|
61
|
+
}
|
|
62
|
+
// Buttons
|
|
63
|
+
.nav-collapse .btn {
|
|
64
|
+
padding: 4px 10px 4px;
|
|
65
|
+
font-weight: normal;
|
|
66
|
+
@include bootstrap-border-radius(4px);
|
|
67
|
+
}
|
|
68
|
+
.nav-collapse .dropdown-menu li + li a {
|
|
69
|
+
margin-bottom: 2px;
|
|
70
|
+
}
|
|
71
|
+
.nav-collapse .nav > li > a:hover,
|
|
72
|
+
.nav-collapse .dropdown-menu a:hover {
|
|
73
|
+
background-color: $navbarBackground;
|
|
74
|
+
}
|
|
75
|
+
// Buttons in the navbar
|
|
76
|
+
.nav-collapse.in .btn-group {
|
|
77
|
+
margin-top: 5px;
|
|
78
|
+
padding: 0;
|
|
79
|
+
}
|
|
80
|
+
// Dropdowns in the navbar
|
|
81
|
+
.nav-collapse .dropdown-menu {
|
|
82
|
+
position: static;
|
|
83
|
+
top: auto;
|
|
84
|
+
left: auto;
|
|
85
|
+
float: none;
|
|
86
|
+
display: block;
|
|
87
|
+
max-width: none;
|
|
88
|
+
margin: 0 15px;
|
|
89
|
+
padding: 0;
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
border: none;
|
|
92
|
+
@include bootstrap-border-radius(0);
|
|
93
|
+
@include bootstrap-box-shadow(none);
|
|
94
|
+
}
|
|
95
|
+
.nav-collapse .dropdown-menu:before,
|
|
96
|
+
.nav-collapse .dropdown-menu:after {
|
|
97
|
+
display: none;
|
|
98
|
+
}
|
|
99
|
+
.nav-collapse .dropdown-menu .divider {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
// Forms in navbar
|
|
103
|
+
.nav-collapse .navbar-form,
|
|
104
|
+
.nav-collapse .navbar-search {
|
|
105
|
+
float: none;
|
|
106
|
+
padding: ($baseLineHeight / 2) 15px;
|
|
107
|
+
margin: ($baseLineHeight / 2) 0;
|
|
108
|
+
border-top: 1px solid $navbarBackground;
|
|
109
|
+
border-bottom: 1px solid $navbarBackground;
|
|
110
|
+
@include bootstrap-box-shadow("inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1)");
|
|
111
|
+
}
|
|
112
|
+
// Pull right (secondary) nav content
|
|
113
|
+
.navbar .nav-collapse .nav.pull-right {
|
|
114
|
+
float: none;
|
|
115
|
+
margin-left: 0;
|
|
116
|
+
}
|
|
117
|
+
// Hide everything in the navbar save .brand and toggle button */
|
|
118
|
+
.nav-collapse,
|
|
119
|
+
.nav-collapse.collapse {
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
height: 0;
|
|
122
|
+
}
|
|
123
|
+
// Navbar button
|
|
124
|
+
.navbar .btn-navbar {
|
|
125
|
+
display: block;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
// STATIC NAVBAR
|
|
129
|
+
// -------------
|
|
130
|
+
.navbar-static .navbar-inner {
|
|
131
|
+
padding-left: 10px;
|
|
132
|
+
padding-right: 10px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
// DEFAULT DESKTOP
|
|
138
|
+
// ---------------
|
|
139
|
+
|
|
140
|
+
// Required to make the collapsing navbar work on regular desktops
|
|
141
|
+
@media (min-width: 980px) {
|
|
142
|
+
.nav-collapse.collapse {
|
|
143
|
+
height: auto !important;
|
|
144
|
+
overflow: visible !important;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// RESPONSIVE CLASSES
|
|
2
|
+
// ------------------
|
|
3
|
+
|
|
4
|
+
// Hide from screenreaders and browsers
|
|
5
|
+
// Credit: HTML5 Boilerplate
|
|
6
|
+
.hidden {
|
|
7
|
+
display: none;
|
|
8
|
+
visibility: hidden;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// Visibility utilities
|
|
12
|
+
|
|
13
|
+
// For desktops
|
|
14
|
+
.visible-phone { display: none !important; }
|
|
15
|
+
.visible-tablet { display: none !important; }
|
|
16
|
+
.visible-desktop { } // Don't set initially
|
|
17
|
+
.hidden-phone { }
|
|
18
|
+
.hidden-tablet { }
|
|
19
|
+
.hidden-desktop { display: none !important; }
|
|
20
|
+
|
|
21
|
+
// Phones only
|
|
22
|
+
@media (max-width: 767px) {
|
|
23
|
+
// Show
|
|
24
|
+
.visible-phone { display: inherit !important; } // Use inherit to restore previous behavior
|
|
25
|
+
// Hide
|
|
26
|
+
.hidden-phone { display: none !important; }
|
|
27
|
+
// Hide everything else
|
|
28
|
+
.hidden-desktop { display: inherit !important; }
|
|
29
|
+
.visible-desktop { display: none !important; }
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Tablets & small desktops only
|
|
33
|
+
@media (min-width: 768px) and (max-width: 979px) {
|
|
34
|
+
// Show
|
|
35
|
+
.visible-tablet { display: inherit !important; }
|
|
36
|
+
// Hide
|
|
37
|
+
.hidden-tablet { display: none !important; }
|
|
38
|
+
// Hide everything else
|
|
39
|
+
.hidden-desktop { display: inherit !important; }
|
|
40
|
+
.visible-desktop { display: none !important ; }
|
|
41
|
+
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
// -------------------------------------------------------------------------------------------
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
//
|
|
7
|
-
//
|
|
6
|
+
// Body reset
|
|
7
|
+
// ----------
|
|
8
8
|
|
|
9
9
|
body {
|
|
10
10
|
margin: 0;
|
|
@@ -12,11 +12,11 @@ body {
|
|
|
12
12
|
font-size: $baseFontSize;
|
|
13
13
|
line-height: $baseLineHeight;
|
|
14
14
|
color: $textColor;
|
|
15
|
-
background-color: $
|
|
15
|
+
background-color: $bodyBackground;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
//
|
|
19
|
+
// Links
|
|
20
20
|
// -----
|
|
21
21
|
|
|
22
22
|
a {
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
// ICONS
|
|
7
7
|
// -----
|
|
8
8
|
|
|
9
|
-
// All icons receive the styles of the <i> tag with a base class
|
|
10
|
-
// of .i and are then given a unique class to add width, height,
|
|
9
|
+
// All icons receive the styles of the <i> tag with a base class
|
|
10
|
+
// of .i and are then given a unique class to add width, height,
|
|
11
11
|
// and background-position. Your resulting HTML will look like
|
|
12
12
|
// <i class="icon-inbox"></i>.
|
|
13
13
|
|
|
14
|
-
// For the white version of the
|
|
14
|
+
// For the white version of the icons, just add the .icon-white class:
|
|
15
15
|
// <i class="icon-inbox icon-white"></i>
|
|
16
16
|
|
|
17
17
|
[class^="icon-"],
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
display: inline-block;
|
|
20
20
|
width: 14px;
|
|
21
21
|
height: 14px;
|
|
22
|
+
@include bootstrap-ie7-restore-right-whitespace();
|
|
22
23
|
line-height: 14px;
|
|
23
24
|
vertical-align: text-top;
|
|
24
|
-
background-image:
|
|
25
|
+
background-image: url("#{$iconSpritePath}");
|
|
25
26
|
background-position: 14px 14px;
|
|
26
27
|
background-repeat: no-repeat;
|
|
27
28
|
|
|
28
|
-
@include ie7-restore-right-whitespace();
|
|
29
29
|
}
|
|
30
30
|
.icon-white {
|
|
31
|
-
background-image:
|
|
31
|
+
background-image: url("#{$iconWhiteSpritePath}");
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.icon-glass { background-position: 0 0; }
|
|
@@ -149,10 +149,43 @@
|
|
|
149
149
|
.icon-comment { background-position: -240px -120px; }
|
|
150
150
|
.icon-magnet { background-position: -264px -120px; }
|
|
151
151
|
.icon-chevron-up { background-position: -288px -120px; }
|
|
152
|
-
.icon-chevron-down { background-position: -313px -119px; } // 1px off
|
|
152
|
+
.icon-chevron-down { background-position: -313px -119px; } // 1px, 1px off
|
|
153
153
|
.icon-retweet { background-position: -336px -120px; }
|
|
154
154
|
.icon-shopping-cart { background-position: -360px -120px; }
|
|
155
155
|
.icon-folder-close { background-position: -384px -120px; }
|
|
156
156
|
.icon-folder-open { background-position: -408px -120px; }
|
|
157
|
-
.icon-resize-vertical { background-position: -432px -119px; }
|
|
158
|
-
.icon-resize-horizontal { background-position: -456px -118px; }
|
|
157
|
+
.icon-resize-vertical { background-position: -432px -119px; } // 1px, 1px off
|
|
158
|
+
.icon-resize-horizontal { background-position: -456px -118px; } // 1px, 2px off
|
|
159
|
+
|
|
160
|
+
.icon-hdd { background-position: 0 -144px; }
|
|
161
|
+
.icon-bullhorn { background-position: -24px -144px; }
|
|
162
|
+
.icon-bell { background-position: -48px -144px; }
|
|
163
|
+
.icon-certificate { background-position: -72px -144px; }
|
|
164
|
+
.icon-thumbs-up { background-position: -96px -144px; }
|
|
165
|
+
.icon-thumbs-down { background-position: -120px -144px; }
|
|
166
|
+
.icon-hand-right { background-position: -144px -144px; }
|
|
167
|
+
.icon-hand-left { background-position: -168px -144px; }
|
|
168
|
+
.icon-hand-up { background-position: -192px -144px; }
|
|
169
|
+
.icon-hand-down { background-position: -216px -144px; }
|
|
170
|
+
.icon-circle-arrow-right { background-position: -240px -144px; }
|
|
171
|
+
.icon-circle-arrow-left { background-position: -264px -144px; }
|
|
172
|
+
.icon-circle-arrow-up { background-position: -288px -144px; }
|
|
173
|
+
.icon-circle-arrow-down { background-position: -312px -144px; }
|
|
174
|
+
.icon-globe { background-position: -336px -144px; }
|
|
175
|
+
.icon-wrench { background-position: -360px -144px; }
|
|
176
|
+
.icon-tasks { background-position: -384px -144px; }
|
|
177
|
+
.icon-filter { background-position: -408px -144px; }
|
|
178
|
+
.icon-briefcase { background-position: -432px -144px; }
|
|
179
|
+
.icon-fullscreen { background-position: -456px -144px; }
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|