todc-bootstrap-sass 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/LICENSE +22 -0
- data/README.md +60 -0
- data/lib/assets/images/checkmark.png +0 -0
- data/lib/assets/images/glyphicons-halflings-white.png +0 -0
- data/lib/assets/images/glyphicons-halflings.png +0 -0
- data/lib/assets/stylesheets/todc-bootstrap-responsive.scss +1 -0
- data/lib/assets/stylesheets/todc-bootstrap.scss +1 -0
- data/lib/assets/stylesheets/todc-bootstrap/_alerts.scss +45 -0
- data/lib/assets/stylesheets/todc-bootstrap/_breadcrumbs.scss +10 -0
- data/lib/assets/stylesheets/todc-bootstrap/_button-groups.scss +153 -0
- data/lib/assets/stylesheets/todc-bootstrap/_buttons.scss +239 -0
- data/lib/assets/stylesheets/todc-bootstrap/_dropdowns.scss +117 -0
- data/lib/assets/stylesheets/todc-bootstrap/_forms.scss +248 -0
- data/lib/assets/stylesheets/todc-bootstrap/_google-mixins.scss +71 -0
- data/lib/assets/stylesheets/todc-bootstrap/_labels-badges.scss +31 -0
- data/lib/assets/stylesheets/todc-bootstrap/_modals.scss +20 -0
- data/lib/assets/stylesheets/todc-bootstrap/_navbar.scss +718 -0
- data/lib/assets/stylesheets/todc-bootstrap/_navs.scss +147 -0
- data/lib/assets/stylesheets/todc-bootstrap/_pager.scss +53 -0
- data/lib/assets/stylesheets/todc-bootstrap/_pagination.scss +58 -0
- data/lib/assets/stylesheets/todc-bootstrap/_popovers.scss +12 -0
- data/lib/assets/stylesheets/todc-bootstrap/_progress-bars.scss +65 -0
- data/lib/assets/stylesheets/todc-bootstrap/_responsive-navbar.scss +147 -0
- data/lib/assets/stylesheets/todc-bootstrap/_scaffolding.scss +37 -0
- data/lib/assets/stylesheets/todc-bootstrap/_scrollbars.scss +48 -0
- data/lib/assets/stylesheets/todc-bootstrap/_sprites.scss +24 -0
- data/lib/assets/stylesheets/todc-bootstrap/_tables.scss +51 -0
- data/lib/assets/stylesheets/todc-bootstrap/_thumbnails.scss +24 -0
- data/lib/assets/stylesheets/todc-bootstrap/_todc-mixins.scss +71 -0
- data/lib/assets/stylesheets/todc-bootstrap/_tooltip.scss +13 -0
- data/lib/assets/stylesheets/todc-bootstrap/_variables.scss +386 -0
- data/lib/assets/stylesheets/todc-bootstrap/_wells.scss +20 -0
- data/lib/assets/stylesheets/todc-bootstrap/bootstrap.scss +39 -0
- data/lib/assets/stylesheets/todc-bootstrap/responsive.scss +5 -0
- data/lib/todc-bootstrap-sass.rb +49 -0
- data/lib/todc-bootstrap-sass/compass_functions.rb +14 -0
- data/lib/todc-bootstrap-sass/engine.rb +8 -0
- data/lib/todc-bootstrap-sass/rails_functions.rb +14 -0
- data/lib/todc-bootstrap-sass/version.rb +7 -0
- metadata +124 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
//
|
2
|
+
// Scaffolding
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Body reset
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
body {
|
10
|
+
font-family: $baseFontFamily;
|
11
|
+
font-size: $baseFontSize;
|
12
|
+
line-height: $baseLineHeight;
|
13
|
+
color: $textColor;
|
14
|
+
background-color: $bodyBackground;
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
// Images
|
19
|
+
// -------------------------
|
20
|
+
|
21
|
+
// Rounded corners
|
22
|
+
.img-rounded {
|
23
|
+
@include border-radius(4px);
|
24
|
+
}
|
25
|
+
|
26
|
+
// Add polaroid-esque trim
|
27
|
+
.img-polaroid {
|
28
|
+
padding: 0;
|
29
|
+
background-color: #fff;
|
30
|
+
border: 3px solid #FFFFFF;
|
31
|
+
@include box-shadow(0 0 0 1px #AAAAAA);
|
32
|
+
}
|
33
|
+
// Add a hover state for linked versions only
|
34
|
+
a.img-polaroid:hover {
|
35
|
+
border-color: #FFFFFF;
|
36
|
+
@include box-shadow(0 0 0 1px #dedede);
|
37
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
//
|
2
|
+
// Scrollbars
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
.scrollable::-webkit-scrollbar {
|
7
|
+
height: 16px;
|
8
|
+
width: 10px;
|
9
|
+
}
|
10
|
+
.scrollable::-webkit-scrollbar-button:start:decrement,
|
11
|
+
.scrollable::-webkit-scrollbar-button:end:increment {
|
12
|
+
background-color: transparent;
|
13
|
+
display: block;
|
14
|
+
height: 0;
|
15
|
+
}
|
16
|
+
.scrollable::-webkit-scrollbar-track {
|
17
|
+
background-clip: padding-box;
|
18
|
+
border: solid
|
19
|
+
transparent;
|
20
|
+
border-width: 0 0 0 4px;
|
21
|
+
}
|
22
|
+
.scrollable::-webkit-scrollbar-track-piece {
|
23
|
+
background-color: transparent;
|
24
|
+
@include border-radius(0);
|
25
|
+
}
|
26
|
+
.scrollable::-webkit-scrollbar:hover {
|
27
|
+
background-color: #f3f3f3;
|
28
|
+
border: 1px solid #dbdbdb;
|
29
|
+
}
|
30
|
+
.scrollable::-webkit-scrollbar-thumb:vertical,
|
31
|
+
.scrollable::-webkit-scrollbar-thumb:horizontal {
|
32
|
+
background-color: #c6c6c6;
|
33
|
+
@include border-radius(0);
|
34
|
+
}
|
35
|
+
.scrollable::-webkit-scrollbar-thumb {
|
36
|
+
background-color: rgba(0,0,0,0.2);
|
37
|
+
border: solid transparent;
|
38
|
+
border-width: 0;
|
39
|
+
@include box-shadow(inset 1px 1px 0 rgba(0,0,0,0.10),inset 0 -1px 0 rgba(0,0,0,0.07));
|
40
|
+
background-clip: padding-box;
|
41
|
+
}
|
42
|
+
.scrollable::-webkit-scrollbar-thumb:hover {
|
43
|
+
background-color: #949494;
|
44
|
+
}
|
45
|
+
.scrollable::-webkit-scrollbar-thumb:active{
|
46
|
+
background-color: rgba(0,0,0,0.5);
|
47
|
+
@include box-shadow(inset 1px 1px 3px rgba(0,0,0,0.35));
|
48
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//
|
2
|
+
// Sprites
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// [class^="icon-"] {
|
6
|
+
// margin-top: -2px;
|
7
|
+
// }
|
8
|
+
|
9
|
+
.disabled > [class^="icon-"] {
|
10
|
+
@include opacity(50);
|
11
|
+
}
|
12
|
+
|
13
|
+
/* Override ßsome of the values in Bootstrap
|
14
|
+
/* White icons with optional class, or on hover/active states of certain elements */
|
15
|
+
.nav-list > .active > a > [class^="icon-"],
|
16
|
+
.nav-list > .active > a > [class*=" icon-"],
|
17
|
+
.dropdown-menu > li > a:hover > [class^="icon-"],
|
18
|
+
.dropdown-menu > li > a:hover > [class*=" icon-"],
|
19
|
+
.dropdown-menu > .active > a > [class^="icon-"],
|
20
|
+
.dropdown-menu > .active > a > [class*=" icon-"],
|
21
|
+
.dropdown-submenu:hover > a > [class^="icon-"],
|
22
|
+
.dropdown-submenu:hover > a > [class*=" icon-"] {
|
23
|
+
background-image: url("@{iconSpritePath}");
|
24
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
//
|
2
|
+
// Tables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// HOVER EFFECT
|
6
|
+
// ------------
|
7
|
+
// Placed here since it has to come after the potential zebra striping
|
8
|
+
.table-hover {
|
9
|
+
tbody {
|
10
|
+
tr:hover td,
|
11
|
+
tr:hover th {
|
12
|
+
background-color: $tableBackgroundHover;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
|
18
|
+
// TABLE BACKGROUNDS
|
19
|
+
// -----------------
|
20
|
+
// Exact selectors below required to override .table-striped
|
21
|
+
|
22
|
+
.table tbody tr {
|
23
|
+
&.success td {
|
24
|
+
background-color: $successBackground;
|
25
|
+
}
|
26
|
+
&.error td {
|
27
|
+
background-color: $errorBackground;
|
28
|
+
}
|
29
|
+
&.warning td {
|
30
|
+
background-color: $warningBackground;
|
31
|
+
}
|
32
|
+
&.info td {
|
33
|
+
background-color: $infoBackground;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
// Hover states for .table-hover
|
38
|
+
.table-hover tbody tr {
|
39
|
+
&.success:hover td {
|
40
|
+
background-color: darken($successBackground, 5%);
|
41
|
+
}
|
42
|
+
&.error:hover td {
|
43
|
+
background-color: darken($errorBackground, 5%);
|
44
|
+
}
|
45
|
+
&.warning:hover td {
|
46
|
+
background-color: darken($warningBackground, 5%);
|
47
|
+
}
|
48
|
+
&.info:hover td {
|
49
|
+
background-color: darken($infoBackground, 5%);
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//
|
2
|
+
// Thumbnails
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// The actual thumbnail (can be `a` or `div`)
|
7
|
+
.thumbnail {
|
8
|
+
padding: 0;
|
9
|
+
border: 3px solid #ffffff;
|
10
|
+
@include border-radius(0);
|
11
|
+
@include box-shadow(0 0 0 1px #aaaaaa);
|
12
|
+
@include transition(none);
|
13
|
+
}
|
14
|
+
// Add a hover state for linked versions only
|
15
|
+
a.thumbnail:hover {
|
16
|
+
border-color: #ffffff;
|
17
|
+
@include box-shadow(0 0 0 1px #dedede);
|
18
|
+
}
|
19
|
+
|
20
|
+
// Images and captions
|
21
|
+
.thumbnail .caption {
|
22
|
+
padding: 9px 4px;
|
23
|
+
color: #000000;
|
24
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
// Mixins.less
|
2
|
+
// Snippets of reusable CSS to develop faster and keep code readable
|
3
|
+
// -----------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// COMPONENT MIXINS
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
// Navbar vertical align
|
10
|
+
// -------------------------
|
11
|
+
// Vertically center elements in the navbar or other bars.
|
12
|
+
// Example: an element has a height of 30px, so write out `.navbarVerticalAlign(30px);` to calculate the appropriate top margin.
|
13
|
+
// Example: an element has a height of 30px and you want to vertically center it in a bar other than the navbar:
|
14
|
+
// @include navbarVerticalAlign(32px, $navbarGoogleNavHeight);
|
15
|
+
@mixin navbarVerticalAlign($elementHeight, $barHeight: $navbarHeight) {
|
16
|
+
margin-top: ($barHeight - $elementHeight) / 2;
|
17
|
+
}
|
18
|
+
|
19
|
+
// Override Bootstrap's mixin
|
20
|
+
@mixin nav-divider($top: #ebebeb, $bottom: $white) {
|
21
|
+
// IE7 needs a set width since we gave a height. Restricting just
|
22
|
+
// to IE7 to keep the 1px left/right space in other browsers.
|
23
|
+
// It is unclear where IE is getting the extra space that we need
|
24
|
+
// to negative-margin away, but so it goes.
|
25
|
+
*width: 100%;
|
26
|
+
height: 1px;
|
27
|
+
margin: (($baseLineHeight / 2) - 1) 0; // 8px 0px
|
28
|
+
*margin: -5px 0 5px;
|
29
|
+
overflow: hidden;
|
30
|
+
background-color: $top;
|
31
|
+
border-bottom: 1px solid $bottom;
|
32
|
+
}
|
33
|
+
|
34
|
+
// Button backgrounds
|
35
|
+
// ------------------
|
36
|
+
@mixin btnBackground($startColor, $endColor, $textColor, $borderColor) {
|
37
|
+
border: 1px solid $borderColor;
|
38
|
+
color: $textColor;
|
39
|
+
@include gradient-vertical($startColor, $endColor);
|
40
|
+
*background-color: $startColor;
|
41
|
+
@include reset-filter();
|
42
|
+
|
43
|
+
// in these cases the gradient won't cover the background, so we override
|
44
|
+
&:hover, &:active, &.active, &:focus {
|
45
|
+
border: 1px solid darken($borderColor, 5%);
|
46
|
+
color: $textColor;
|
47
|
+
@include gradient-vertical($startColor, darken($endColor, 5%));
|
48
|
+
@include reset-filter();
|
49
|
+
background-color: darken($endColor, 5%);
|
50
|
+
background-color: darken($endColor, 5%) \9;
|
51
|
+
}
|
52
|
+
&:active, &.active {
|
53
|
+
border: 1px solid darken($borderColor, 10%);
|
54
|
+
@include gradient-vertical($startColor, darken($endColor, 10%));
|
55
|
+
@include reset-filter();
|
56
|
+
}
|
57
|
+
&:focus {
|
58
|
+
border: 1px solid $borderColor;
|
59
|
+
@include box-shadow(inset 0 0 0 1px #fff);
|
60
|
+
}
|
61
|
+
&.disabled, &[disabled],
|
62
|
+
&.disabled:hover, &[disabled]:hover,
|
63
|
+
&.disabled:active, &[disabled]:active,
|
64
|
+
&.disabled:focus, &[disabled]:focus {
|
65
|
+
border: 1px solid $borderColor;
|
66
|
+
@include gradient-vertical($startColor, $endColor);
|
67
|
+
@include reset-filter();
|
68
|
+
background-color: $startColor;
|
69
|
+
background-color: $startColor \9;
|
70
|
+
}
|
71
|
+
}
|
@@ -0,0 +1,386 @@
|
|
1
|
+
//
|
2
|
+
// Variables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Global values
|
7
|
+
// --------------------------------------------------
|
8
|
+
|
9
|
+
|
10
|
+
// Grays
|
11
|
+
// -------------------------
|
12
|
+
$black: #000;
|
13
|
+
$grayDarker: #222;
|
14
|
+
$grayDark: #333;
|
15
|
+
$gray: #555;
|
16
|
+
$grayLight: #999;
|
17
|
+
$grayLighter: #eee;
|
18
|
+
$white: #fff;
|
19
|
+
|
20
|
+
|
21
|
+
// Accent colors
|
22
|
+
// -------------------------
|
23
|
+
$blue: #4b8cf7;
|
24
|
+
$blueDark: #0064cd;
|
25
|
+
$green: #46a546;
|
26
|
+
$red: #9d261d;
|
27
|
+
$yellow: #ffc40d;
|
28
|
+
$orange: #f89406;
|
29
|
+
$pink: #c3325f;
|
30
|
+
$purple: #7a43b6;
|
31
|
+
|
32
|
+
|
33
|
+
// Scaffolding
|
34
|
+
// -------------------------
|
35
|
+
$bodyBackground: $white;
|
36
|
+
$textColor: $grayDark;
|
37
|
+
|
38
|
+
|
39
|
+
// Links
|
40
|
+
// -------------------------
|
41
|
+
$linkColor: #15c;
|
42
|
+
$linkColorHover: #15c;
|
43
|
+
|
44
|
+
|
45
|
+
// Typography
|
46
|
+
// -------------------------
|
47
|
+
$sansFontFamily: Arial, Helvetica, sans-serif;
|
48
|
+
$serifFontFamily: Georgia, "Times New Roman", Times, serif;
|
49
|
+
$monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
|
50
|
+
|
51
|
+
$baseFontSize: 13px;
|
52
|
+
$baseFontFamily: $sansFontFamily;
|
53
|
+
$baseLineHeight: 20px;
|
54
|
+
$altFontFamily: $serifFontFamily;
|
55
|
+
|
56
|
+
$headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
|
57
|
+
$headingsFontWeight: bold; // instead of browser default, bold
|
58
|
+
$headingsColor: inherit; // empty to use BS default, $textColor
|
59
|
+
|
60
|
+
|
61
|
+
// Component sizing
|
62
|
+
// -------------------------
|
63
|
+
// Based on 14px font-size and 20px line-height
|
64
|
+
|
65
|
+
$fontSizeLarge: $baseFontSize * 1.25; // ~18px
|
66
|
+
$fontSizeSmall: $baseFontSize * 0.85; // ~12px
|
67
|
+
$fontSizeMini: $baseFontSize * 0.75; // ~11px
|
68
|
+
|
69
|
+
$paddingLarge: 11px 19px; // 44px
|
70
|
+
$paddingSmall: 2px 10px; // 26px
|
71
|
+
$paddingMini: 1px 6px; // 24px
|
72
|
+
|
73
|
+
$baseBorderRadius: 2px;
|
74
|
+
$borderRadiusLarge: 4px;
|
75
|
+
$borderRadiusSmall: 1px;
|
76
|
+
|
77
|
+
|
78
|
+
// Tables
|
79
|
+
// -------------------------
|
80
|
+
$tableBackground: transparent; // overall background-color
|
81
|
+
$tableBackgroundAccent: #f9f9f9; // for striping
|
82
|
+
$tableBackgroundHover: #ffffd6; // for hover
|
83
|
+
$tableBorder: #ddd; // table and cell border
|
84
|
+
|
85
|
+
// Buttons
|
86
|
+
// -------------------------
|
87
|
+
$btnBackground: #f3f3f3;
|
88
|
+
$btnBackgroundHighlight: darken($white, 10%);
|
89
|
+
$btnBorder: #ccc;
|
90
|
+
|
91
|
+
$btnPrimaryBackground: #4b8cf7;
|
92
|
+
$btnPrimaryBackgroundHighlight: spin($btnPrimaryBackground, 15%);
|
93
|
+
|
94
|
+
$btnInfoBackground: #5bc0de;
|
95
|
+
$btnInfoBackgroundHighlight: #2f96b4;
|
96
|
+
|
97
|
+
$btnSuccessBackground: #35aa47;
|
98
|
+
$btnSuccessBackgroundHighlight: #51a351;
|
99
|
+
|
100
|
+
$btnWarningBackground: lighten($orange, 10%);
|
101
|
+
$btnWarningBackgroundHighlight: $orange;
|
102
|
+
|
103
|
+
$btnDangerBackground: #d84a38;
|
104
|
+
$btnDangerBackgroundHighlight: #bd362f;
|
105
|
+
|
106
|
+
$btnInverseBackground: #4e4e4e;
|
107
|
+
$btnInverseBackgroundHighlight: $grayDarker;
|
108
|
+
|
109
|
+
|
110
|
+
// Forms
|
111
|
+
// -------------------------
|
112
|
+
$inputBackground: $white;
|
113
|
+
$inputBorder: #d9d9d9;
|
114
|
+
$inputBorderRadius: 1px;
|
115
|
+
$inputDisabledBackground: #f1f1f1;
|
116
|
+
$formActionsBackground: #f5f5f5;
|
117
|
+
$inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
|
118
|
+
|
119
|
+
|
120
|
+
// Dropdowns
|
121
|
+
// -------------------------
|
122
|
+
$dropdownBackground: $white;
|
123
|
+
$dropdownBorder: rgba(0,0,0,.2);
|
124
|
+
$dropdownDividerTop: #ebebeb;
|
125
|
+
$dropdownDividerBottom: $white;
|
126
|
+
|
127
|
+
$dropdownLinkColor: $grayDark;
|
128
|
+
$dropdownLinkColorHover: $grayDark;
|
129
|
+
$dropdownLinkColorActive: $dropdownLinkColor;
|
130
|
+
|
131
|
+
$dropdownLinkBackgroundActive: $linkColor;
|
132
|
+
$dropdownLinkBackgroundHover: $grayLighter;
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
// COMPONENT VARIABLES
|
137
|
+
// --------------------------------------------------
|
138
|
+
|
139
|
+
|
140
|
+
// Z-index master list
|
141
|
+
// -------------------------
|
142
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
143
|
+
// Try to avoid customizing these :)
|
144
|
+
$zindexDropdown: 1000;
|
145
|
+
$zindexPopover: 1010;
|
146
|
+
$zindexTooltip: 1020;
|
147
|
+
$zindexFixedNavbar: 1030;
|
148
|
+
$zindexModalBackdrop: 1040;
|
149
|
+
$zindexModal: 1050;
|
150
|
+
|
151
|
+
$zindexFixedGooglebar: 1029;
|
152
|
+
$zindexFixedGooglenav: 1028;
|
153
|
+
|
154
|
+
|
155
|
+
// Sprite icons path
|
156
|
+
// -------------------------
|
157
|
+
$iconSpritePath: image-path("glyphicons-halflings.png");
|
158
|
+
$iconWhiteSpritePath: image-path("glyphicons-halflings-white.png");
|
159
|
+
|
160
|
+
// google checkbox icon
|
161
|
+
$iconCheckMarkPath: image-path("checkmark.png");
|
162
|
+
|
163
|
+
|
164
|
+
// Input placeholder text color
|
165
|
+
// -------------------------
|
166
|
+
$placeholderText: $grayLight;
|
167
|
+
|
168
|
+
|
169
|
+
// Hr border color
|
170
|
+
// -------------------------
|
171
|
+
$hrBorder: $grayLighter;
|
172
|
+
|
173
|
+
|
174
|
+
// Horizontal forms & lists
|
175
|
+
// -------------------------
|
176
|
+
$horizontalComponentOffset: 180px;
|
177
|
+
|
178
|
+
|
179
|
+
// Wells
|
180
|
+
// -------------------------
|
181
|
+
$wellBackground: #f1f1f1;
|
182
|
+
|
183
|
+
|
184
|
+
// Navbar
|
185
|
+
// -------------------------
|
186
|
+
$navbarCollapseWidth: 979px;
|
187
|
+
$navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
|
188
|
+
|
189
|
+
$navbarHeight: 30px; // 30px Google.com. 24px other Google sites
|
190
|
+
$navbarBackgroundHighlight: #ffffff;
|
191
|
+
$navbarBackground: darken($navbarBackgroundHighlight, 5%);
|
192
|
+
$navbarBorder: darken($navbarBackground, 12%);
|
193
|
+
|
194
|
+
$navbarText: $grayLight;
|
195
|
+
$navbarLinkColor: $grayLight;
|
196
|
+
$navbarLinkColorHover: $white;
|
197
|
+
$navbarLinkColorActive: $navbarLinkColorHover;
|
198
|
+
$navbarLinkBackgroundHover: transparent;
|
199
|
+
$navbarLinkBackgroundActive: $navbarBackground;
|
200
|
+
|
201
|
+
$navbarBrandColor: $navbarLinkColor;
|
202
|
+
|
203
|
+
// Inverted navbar
|
204
|
+
$navbarInverseBackground: #111111;
|
205
|
+
$navbarInverseBackgroundHighlight: #222222;
|
206
|
+
$navbarInverseBorder: #252525;
|
207
|
+
|
208
|
+
$navbarInverseText: $grayLight;
|
209
|
+
$navbarInverseLinkColor: $grayLight;
|
210
|
+
$navbarInverseLinkColorHover: $white;
|
211
|
+
$navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
|
212
|
+
$navbarInverseLinkBackgroundHover: transparent;
|
213
|
+
$navbarInverseLinkBackgroundActive: $navbarInverseBackground;
|
214
|
+
|
215
|
+
$navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
|
216
|
+
$navbarInverseSearchBackgroundFocus: $white;
|
217
|
+
$navbarInverseSearchBorder: $navbarInverseBackground;
|
218
|
+
$navbarInverseSearchPlaceholderColor: #ccc;
|
219
|
+
|
220
|
+
$navbarInverseBrandColor: $navbarInverseLinkColor;
|
221
|
+
|
222
|
+
|
223
|
+
// Googlebar
|
224
|
+
// -------------------------
|
225
|
+
$navbarGoogleBarCollapseWidth: 979px;
|
226
|
+
$navbarGoogleBarCollapseDesktopWidth: $navbarGoogleBarCollapseWidth + 1;
|
227
|
+
|
228
|
+
$navbarGoogleBarHeight: 44px; // 75px for Google Developer. 44px for Google news. 48px for youtube
|
229
|
+
$navbarGoogleBarBackground: #f1f1f1;
|
230
|
+
// $navbarGoogleBarBackgroundHighlight: darken($navbarGoogleBarBackground, 4.7%);
|
231
|
+
$navbarGoogleBarBackgroundHighlight: lighten($navbarGoogleBarBackground, 1.5%);
|
232
|
+
$navbarGoogleBarBorder: darken($navbarGoogleBarBackground, 4.7%);
|
233
|
+
|
234
|
+
$navbarGoogleBarText: #777;
|
235
|
+
$navbarGoogleBarLinkColor: #777;
|
236
|
+
$navbarGoogleBarLinkColorHover: $grayDark;
|
237
|
+
$navbarGoogleBarLinkColorActive: $navbarGoogleBarLinkColorHover;
|
238
|
+
$navbarGoogleBarLinkBackgroundHover: transparent;
|
239
|
+
$navbarGoogleBarLinkBackgroundActive: $navbarGoogleBarBackground;
|
240
|
+
|
241
|
+
$navbarGoogleBarBrandColor: $navbarGoogleBarLinkColor;
|
242
|
+
|
243
|
+
// Inverted Googlebar
|
244
|
+
$navbarGoogleBarInverseBackground: #444;
|
245
|
+
$navbarGoogleBarInverseBackgroundHighlight: $gray;
|
246
|
+
$navbarGoogleBarInverseBorder: $grayDark;
|
247
|
+
|
248
|
+
$navbarGoogleBarInverseText: $grayLight;
|
249
|
+
$navbarGoogleBarInverseLinkColor: $white;
|
250
|
+
$navbarGoogleBarInverseLinkColorHover: $white;
|
251
|
+
$navbarGoogleBarInverseLinkColorActive: $navbarGoogleBarInverseLinkColorHover;
|
252
|
+
$navbarGoogleBarInverseLinkBackgroundHover: transparent;
|
253
|
+
$navbarGoogleBarInverseLinkBackgroundActive: $navbarGoogleBarInverseBackground;
|
254
|
+
|
255
|
+
$navbarGoogleBarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
|
256
|
+
$navbarGoogleBarInverseSearchBackgroundFocus: $white;
|
257
|
+
$navbarGoogleBarInverseSearchBorder: $navbarGoogleBarInverseBackground;
|
258
|
+
$navbarGoogleBarInverseSearchPlaceholderColor: #ccc;
|
259
|
+
|
260
|
+
$navbarGoogleBarInverseBrandColor: $navbarGoogleBarInverseLinkColor;
|
261
|
+
|
262
|
+
// Googlenav
|
263
|
+
// -------------------------
|
264
|
+
$navbarGoogleNavCollapseWidth: 979px;
|
265
|
+
$navbarGoogleNavCollapseDesktopWidth: $navbarGoogleNavCollapseWidth + 1;
|
266
|
+
|
267
|
+
$navbarGoogleNavHeight: 36px; // 37px for Google developer. 39px for Google.com. 42px for Google news
|
268
|
+
$navbarGoogleNavBackground: #fff;
|
269
|
+
// $navbarGoogleNavBackground: $navbarGoogleBarBackground;
|
270
|
+
// $navbarGoogleNavBackgroundHighlight: #fafafa;
|
271
|
+
$navbarGoogleNavBackgroundHighlight: darken($navbarGoogleNavBackground, 5%);
|
272
|
+
$navbarGoogleNavBorder: darken($navbarGoogleNavBackground, 15.5%); //#d7d7d7
|
273
|
+
|
274
|
+
$navbarGoogleNavText: #777;
|
275
|
+
$navbarGoogleNavLinkColor: #777;
|
276
|
+
$navbarGoogleNavLinkColorHover: $grayDark;
|
277
|
+
$navbarGoogleNavLinkColorActive: $navbarGoogleNavLinkColorHover;
|
278
|
+
$navbarGoogleNavLinkBackgroundHover: transparent;
|
279
|
+
$navbarGoogleNavLinkBackgroundActive: #f2f2f2;
|
280
|
+
|
281
|
+
$navbarGoogleNavBrandColor: #dd4b39;
|
282
|
+
|
283
|
+
// Inverted Googlenav
|
284
|
+
$navbarGoogleNavInverseBackground: #444;
|
285
|
+
$navbarGoogleNavInverseBackgroundHighlight: $gray;
|
286
|
+
$navbarGoogleNavInverseBorder: $grayDark;
|
287
|
+
|
288
|
+
$navbarGoogleNavInverseText: $grayLight;
|
289
|
+
$navbarGoogleNavInverseLinkColor: $white;
|
290
|
+
$navbarGoogleNavInverseLinkColorHover: $white;
|
291
|
+
$navbarGoogleNavInverseLinkColorActive: $navbarGoogleNavInverseLinkColorHover;
|
292
|
+
$navbarGoogleNavInverseLinkBackgroundHover: transparent;
|
293
|
+
$navbarGoogleNavInverseLinkBackgroundActive: $navbarGoogleNavInverseBackground;
|
294
|
+
|
295
|
+
$navbarGoogleNavInverseSearchBackground: lighten($navbarInverseBackground, 25%);
|
296
|
+
$navbarGoogleNavInverseSearchBackgroundFocus: $white;
|
297
|
+
$navbarGoogleNavInverseSearchBorder: $navbarGoogleNavInverseBackground;
|
298
|
+
$navbarGoogleNavInverseSearchPlaceholderColor: #ccc;
|
299
|
+
|
300
|
+
$navbarGoogleNavInverseBrandColor: $navbarGoogleNavInverseLinkColor;
|
301
|
+
|
302
|
+
// Pagination
|
303
|
+
// -------------------------
|
304
|
+
$paginationBackground: $btnBackground;
|
305
|
+
$paginationBorder: #dcdcdc;
|
306
|
+
$paginationActiveBackground: #f5f5f5;
|
307
|
+
|
308
|
+
|
309
|
+
// Hero unit
|
310
|
+
// -------------------------
|
311
|
+
$heroUnitBackground: $grayLighter;
|
312
|
+
$heroUnitHeadingColor: inherit;
|
313
|
+
$heroUnitLeadColor: inherit;
|
314
|
+
|
315
|
+
|
316
|
+
// Form states and alerts
|
317
|
+
// -------------------------
|
318
|
+
$warningText: #333; //#c09853;
|
319
|
+
$warningBackground: #f9edbe;
|
320
|
+
$warningBorder: #f0c36d;
|
321
|
+
|
322
|
+
$errorText: #dd4b39;
|
323
|
+
$errorBackground: #f2dede;
|
324
|
+
$errorBorder: #dd4b39;
|
325
|
+
|
326
|
+
$successText: #468847;
|
327
|
+
$successBackground: #dff0d8;
|
328
|
+
$successBorder: darken($successBackground, 20%);
|
329
|
+
|
330
|
+
$infoText: #3a87ad;
|
331
|
+
$infoBackground: #d9edf7;
|
332
|
+
$infoBorder: darken($infoBackground, 20%);
|
333
|
+
|
334
|
+
|
335
|
+
// Tooltips and popovers
|
336
|
+
// -------------------------
|
337
|
+
$tooltipColor: #fff;
|
338
|
+
$tooltipBackground: #000;
|
339
|
+
$tooltipArrowWidth: 5px;
|
340
|
+
$tooltipArrowColor: $tooltipBackground;
|
341
|
+
|
342
|
+
$popoverBackground: #fff;
|
343
|
+
$popoverArrowWidth: 10px;
|
344
|
+
$popoverArrowColor: #fff;
|
345
|
+
$popoverTitleBackground: darken($popoverBackground, 3%);
|
346
|
+
|
347
|
+
// Special enhancement for popovers
|
348
|
+
$popoverArrowOuterWidth: $popoverArrowWidth + 1;
|
349
|
+
$popoverArrowOuterColor: rgba(0,0,0,.25);
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
// GRID
|
354
|
+
// --------------------------------------------------
|
355
|
+
|
356
|
+
|
357
|
+
// Default 940px grid
|
358
|
+
// -------------------------
|
359
|
+
$gridColumns: 12;
|
360
|
+
$gridColumnWidth: 60px;
|
361
|
+
$gridGutterWidth: 20px;
|
362
|
+
$gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
|
363
|
+
|
364
|
+
// 1200px min
|
365
|
+
$gridColumnWidth1200: 70px;
|
366
|
+
$gridGutterWidth1200: 30px;
|
367
|
+
$gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1));
|
368
|
+
|
369
|
+
// 768px-979px
|
370
|
+
$gridColumnWidth768: 42px;
|
371
|
+
$gridGutterWidth768: 20px;
|
372
|
+
$gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1));
|
373
|
+
|
374
|
+
|
375
|
+
// Fluid grid
|
376
|
+
// -------------------------
|
377
|
+
$fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth);
|
378
|
+
$fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth);
|
379
|
+
|
380
|
+
// 1200px min
|
381
|
+
$fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200);
|
382
|
+
$fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200);
|
383
|
+
|
384
|
+
// 768px-979px
|
385
|
+
$fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768);
|
386
|
+
$fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768);
|