customizable_bootstrap 0.9.5 → 0.10.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,24 @@
1
- $sansFontFamily: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2
- $serifFontFamily: Georgia, 'Times New Roman', Times, serif;
3
- $monoFontFamily: Menlo, Monaco, Consolas, 'Courier New', monospace;
4
- $baseFontSize: 13px;
5
- $baseFontFamily: $sansFontFamily;
6
- $baseLineHeight: 18px;
7
- $altFontFamily: $serifFontFamily;
8
- $headingsFontFamily: $sansFontFamily;
9
- $headingsFontWeight: bold;
1
+ $font-family-sans-serif: Open Sans;
2
+ $font-family-serif: PT Serif;
3
+ $font-family-monospace: Monaco;
4
+ $font-family-base: $font-family-sans-serif;
5
+ $font-size-base: 14px;
6
+ $font-size-large: ceil($font-size-base * 1.25);
7
+ $font-size-small: ceil($font-size-base * 0.85);
8
+ $font-size-h1: floor(($font-size-base * 2.6));
9
+ $font-size-h2: floor(($font-size-base * 2.15));
10
+ $font-size-h3: floor(($font-size-base * 1.7));
11
+ $font-size-h4: floor(($font-size-base * 1.25));
12
+ $font-size-h5: $font-size-base;
13
+ $font-size-h6: floor(($font-size-base * 0.85));
14
+ $line-height-base: 1.428571429;
15
+ $line-height-computed: floor($font-size-base * $line-height-base);
16
+ $headings-font-family: $font-family-base;
17
+ $headings-font-weight: 500;
18
+ $headings-line-height: 1.1;
19
+ $headings-color: inherit;
20
+ $jumbotron-font-size: ceil(($font-size-base * 1.5));
21
+
22
+ // Sprites
23
+ $icon-font-path: '../app/fonts/';
24
+ $icon-font-name: glyphicons-halflings-regular;
@@ -2,12 +2,12 @@
2
2
  // You'll break it.
3
3
  //
4
4
  // Actually, you can customize it at will.
5
+ //
6
+ // Special thanks to pikock http://www.pikock.com/, who provided the less on which this sass was based.
5
7
 
6
8
  @import './font';
7
9
  @import './colors';
8
- @import './grid';
9
- @import './layers';
10
+ @import './spacing';
10
11
  @import 'bootstrap';
11
- @import 'bootstrap-responsive';
12
12
  // @import 'font-awesome';
13
13
  @import './overrides';
@@ -0,0 +1,50 @@
1
+ $padding-base-vertical: 6px;
2
+ $padding-base-horizontal: 12px;
3
+ $padding-large-vertical: 10px;
4
+ $padding-large-horizontal: 16px;
5
+ $padding-small-vertical: 5px;
6
+ $padding-small-horizontal: 10px;
7
+ $border-radius-base: 4px;
8
+ $border-radius-large: 6px;
9
+ $border-radius-small: 3px;
10
+ $line-height-large: 1.33;
11
+ $line-height-small: 1.5;
12
+
13
+ $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
14
+ $input-height-large: (floor($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2);
15
+ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2);
16
+
17
+ $table-cell-padding: 8px;
18
+ $table-condensed-cell-padding: 5px;
19
+ $table-cell-padding: 8px;
20
+ $table-condensed-cell-padding: 5px;
21
+
22
+ $navbar-height: 50px;
23
+ $navbar-margin-bottom: $line-height-computed;
24
+
25
+ $navbar-border-radius: $border-radius-base;
26
+ $navbar-padding-horizontal: floor($grid-gutter-width / 2);
27
+ $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
28
+
29
+ $nav-link-padding: 10px 15px;
30
+
31
+ $nav-pills-border-radius: $border-radius-base;
32
+
33
+ $jumbotron-padding: 30px;
34
+
35
+
36
+ $pager-border-radius: 15px;
37
+
38
+
39
+ $tooltip-max-width: 200px;
40
+
41
+ $tooltip-arrow-width: 5px;
42
+
43
+
44
+ $popover-max-width: 276px;
45
+
46
+ $popover-arrow-width: 10px;
47
+ $popover-arrow-outer-width: ($popover-arrow-width + 1);
48
+
49
+
50
+ $list-group-border-radius: $border-radius-base;
@@ -1,100 +1,184 @@
1
+ // Grays
2
+ $gray-darker: #222222;
3
+ $gray-dark: #333333;
4
+ $gray: #555555;
5
+ $gray-light: #999999;
6
+ $gray-lighter: #eeeeee;
1
7
 
2
- /* Colors to be used in the rest of the file */
3
- $black: #000;
4
- $gray: #555;
5
- $grayDark: #333;
6
- $grayDarker: #222;
7
- $grayLight: #999;
8
- $grayLighter: #ccc;
9
- $grayLightness: #ddd;
10
- $grayLightest: #eee;
11
- $grayLightVery: #f5f5f5;
12
- $grayLightExtremely: #f9f9f9;
13
- $white: #fff;
14
- $blue: #049cdb;
15
- $blueDark: #0064cd;
16
- $green: #46a546;
17
- $red: #9d261d;
18
- $yellow: #ffc40d;
19
- $orange: #f89406;
20
- $pink: #c3325f;
21
- $purple: #7a43b6;
22
-
23
-
24
- /* Assignments of colors to useful variable names */
25
- $bodyBackground: $white;
26
- $textColor: $grayDark;
27
- $linkColor: $blue;
28
- $linkColorHover: darken($linkColor, 15%);
29
-
30
- $tableBackground: transparent;
31
- $tableBackgroundAccent: $grayLightExtremely;
32
- $tableBackgroundHover: $grayLightVery;
33
- $tableBorder: $grayLightness;
34
- $hrBorder: $grayLightest;
35
-
36
- $btnBackground: $white;
37
- $btnBackgroundHighlight: darken($btnBackground, 10%);
38
- $btnBorder: $grayLighter;
39
- $btnDangerBackground: $red;
40
- $btnDangerBackgroundHighlight: darken($btnDangerBackground, 10%);
41
- $btnInfoBackground: $blue;
42
- $btnInfoBackgroundHighlight: darken($btnInfoBackground, 10%);
43
- $btnInverseBackground: $gray;
44
- $btnInverseBackgroundHighlight: darken($gray, 10%);
45
- $btnPrimaryBackground: $blueDark;
46
- $btnPrimaryBackgroundHighlight: darken($btnPrimaryBackground, 10%);
47
- $btnSuccessBackground: $green;
48
- $btnSuccessBackgroundHighlight: darken($btnSuccessBackground, 10%);
49
- $btnWarningBackground: $orange;
50
- $btnWarningBackgroundHighlight: darken($btnWarningBackground, 10%);
51
-
52
- $inputBackground: $white;
53
- $inputBorder: $grayLighter;
54
- $inputBorderRadius: 3px;
55
- $inputDisabledBackground: $grayLightest;
56
- $formActionsBackground: $grayLightVery;
57
- $placeholderText: $grayLight;
58
-
59
- $dropdownBackground: $white;
60
- $dropdownBorder: fadeout($black, .2);
61
- $dropdownDividerBottom: $white;
62
- $dropdownDividerTop: $grayLightest;
63
- $dropdownLinkBackgroundHover: $linkColor;
64
- $dropdownLinkColor: $grayDark;
65
- $dropdownLinkColorHover: $white;
66
-
67
- $iconSpritePath: '../../img/glyphicons-halflings.png';
68
- $iconWhiteSpritePath: '../../img/glyphicons-halflings-white.png';
69
-
70
- $navbarBackground: $grayDarker;
71
- $navbarBackgroundHighlight: $grayDark;
72
- $navbarLinkColor: $grayLight;
73
- $navbarLinkColorHover: $white;
74
- $navbarBrandColor: $navbarLinkColor;
75
- $navbarHeight: 40px;
76
- $navbarLinkBackgroundActive: $navbarBackground;
77
- $navbarLinkBackgroundHover: transparent;
78
- $navbarLinkColorActive: $navbarLinkColorHover;
79
- $navbarSearchBackground: lighten($navbarBackground, 25%);
80
- $navbarSearchBackgroundFocus: $white;
81
- $navbarSearchBorder: darken($navbarSearchBackground, 30%);
82
- $navbarSearchPlaceholderColor: $grayLighter;
83
- $navbarText: $grayLight;
84
-
85
- $heroUnitBackground: $grayLightest;
86
- $heroUnitHeadingColor: inherit;
87
- $heroUnitLeadColor: inherit;
88
-
89
- $warningBackground: lighten($orange, 50%);
90
- $warningBorder: darken($warningBackground, 3%);
91
- $warningText: $orange;
92
- $errorBackground: lighten($red, 50%);
93
- $errorBorder: darken($errorBackground, 3%);
94
- $errorText: $red;
95
- $successBackground: lighten($green, 50%);
96
- $successBorder: darken($successBackground, 3%);
97
- $successText: $green;
98
- $infoBackground: lighten($blue, 50%);
99
- $infoBorder: darken($infoBackground, 3%);
100
- $infoText: $blue;
8
+
9
+ // Brand Colors
10
+ $brand-primary: #428bca;
11
+ $brand-success: #5cb85c;
12
+ $brand-warning: #f0ad4e;
13
+ $brand-danger: #d9534f;
14
+ $brand-info: #5bc0de;
15
+
16
+
17
+ // Scaffolding
18
+ $body-bg: #fff;
19
+ $text-color: $gray-dark;
20
+ $link-color: $brand-primary;
21
+ $link-hover-color: darken($link-color, 15%);
22
+ $component-active-bg: $brand-primary;
23
+
24
+
25
+ // Buttons
26
+ $btn-font-weight: normal;
27
+ $btn-default-color: #333;
28
+ $btn-default-bg: #fff;
29
+ $btn-default-border: #ccc;
30
+ $btn-primary-color: #fff;
31
+ $btn-primary-bg: $brand-primary;
32
+ $btn-primary-border: darken($btn-primary-bg, 5%);
33
+ $btn-success-color: #fff;
34
+ $btn-success-bg: $brand-success;
35
+ $btn-success-border: darken($btn-success-bg, 5%);
36
+ $btn-warning-color: #fff;
37
+ $btn-warning-bg: $brand-warning;
38
+ $btn-warning-border: darken($btn-warning-bg, 5%);
39
+ $btn-danger-color: #fff;
40
+ $btn-danger-bg: $brand-danger;
41
+ $btn-danger-border: darken($btn-danger-bg, 5%);
42
+ $btn-info-color: #fff;
43
+ $btn-info-bg: $brand-info;
44
+ $btn-info-border: darken($btn-info-bg, 5%);
45
+ $btn-link-disabled-color: $gray-light;
46
+
47
+
48
+ // Dropdowns
49
+ $dropdown-bg: #fff;
50
+ $dropdown-border: rgba(0,0,0,.15);
51
+ $dropdown-divider-bg: #e5e5e5;
52
+ $dropdown-link-active-color: #fff;
53
+ $dropdown-link-active-bg: $component-active-bg;
54
+ $dropdown-link-color: $gray-dark;
55
+ $dropdown-link-hover-color: #fff;
56
+ $dropdown-link-hover-bg: $dropdown-link-active-bg;
57
+ $dropdown-link-disabled-color: $gray-light;
58
+ $dropdown-header-color: $gray-light;
59
+ $dropdown-caret-color: #000;
60
+
61
+
62
+ // Forms
63
+ $input-bg: #fff;
64
+ $input-bg-disabled: $gray-lighter;
65
+ $input-color: $gray;
66
+ $input-border: #ccc;
67
+ $input-border-radius: $border-radius-base;
68
+ $input-color-placeholder: $gray-light;
69
+ $legend-color: $gray-dark;
70
+ $legend-border-color: #e5e5e5;
71
+ $input-group-addon-bg: $gray-lighter;
72
+ $input-group-addon-border-color: $input-border;
73
+
74
+
75
+ // Table
76
+ $table-bg: transparent;
77
+ $table-bg-accent: #f9f9f9;
78
+ $table-bg-hover: #f5f5f5;
79
+ $table-bg-active: $table-bg-hover;
80
+ $table-border-color: #ddd;
81
+
82
+
83
+ // Navbar
84
+ $navbar-default-color: #777;
85
+ $navbar-default-bg: #f8f8f8;
86
+ $navbar-default-border: darken($navbar-default-bg, 6.5%);
87
+ $navbar-default-link-color: #777;
88
+ $navbar-default-link-hover-color: #333;
89
+ $navbar-default-link-hover-bg: transparent;
90
+ $navbar-default-link-active-color: #555;
91
+ $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%);
92
+ $navbar-default-link-disabled-color: #ccc;
93
+ $navbar-default-link-disabled-bg: transparent;
94
+ $navbar-default-brand-color: $navbar-default-link-color;
95
+ $navbar-default-brand-hover-color: darken($navbar-default-link-color, 10%);
96
+ $navbar-default-brand-hover-bg: transparent;
97
+ $navbar-default-toggle-hover-bg: #ddd;
98
+ $navbar-default-toggle-icon-bar-bg: #888;
99
+ $navbar-default-toggle-border-color: #ddd;
100
+
101
+
102
+ // Navs Tabs
103
+ $nav-link-hover-bg: $gray-lighter;
104
+ $nav-disabled-link-color: $gray-light;
105
+ $nav-disabled-link-hover-color: $gray-light;
106
+ $nav-tabs-border-color: #ddd;
107
+ $nav-tabs-link-hover-border-color: $gray-lighter;
108
+ $nav-tabs-active-link-hover-bg: $body-bg;
109
+ $nav-tabs-active-link-hover-color: $gray;
110
+ $nav-tabs-active-link-hover-border-color: #ddd;
111
+ $nav-tabs-justified-link-border-color: #ddd;
112
+ $nav-tabs-justified-active-link-border-color: $body-bg;
113
+ $nav-pills-active-link-hover-bg: $component-active-bg;
114
+ $nav-pills-active-link-hover-color: #fff;
115
+
116
+
117
+ // Jumbotron
118
+ $jumbotron-color: inherit;
119
+ $jumbotron-bg: $gray-lighter;
120
+
121
+
122
+ // Pagination
123
+ $pagination-bg: #fff;
124
+ $pagination-border: #ddd;
125
+ $pagination-hover-bg: $gray-lighter;
126
+ $pagination-hover-color: $link-hover-color;
127
+ $pagination-hover-border: #ddd;
128
+ $pagination-active-bg: $brand-primary;
129
+ $pagination-active-color: #fff;
130
+ $pagination-active-border: $brand-primary;
131
+ $pagination-disabled-color: $gray-light;
132
+ $pagination-disabled-bg: #fff;
133
+ $pagination-disabled-border: #ddd;
134
+ $pager-bg: $pagination-bg;
135
+ $pager-border: $pagination-border;
136
+ $pager-hover-bg: $pagination-hover-bg;
137
+ $pager-active-bg: $pagination-active-bg;
138
+ $pager-active-color: $pagination-active-color;
139
+ $pager-bg: $pagination-bg;
140
+ $pager-disabled-color: $gray-light;
141
+
142
+
143
+ // Form States
144
+ $state-warning-text: #c09853;
145
+ $state-warning-bg: #fcf8e3;
146
+ $state-warning-border: darken(spin($state-warning-bg, -10), 3%);
147
+ $state-danger-text: #b94a48;
148
+ $state-danger-bg: #f2dede;
149
+ $state-danger-border: darken(spin($state-danger-bg, -10), 3%);
150
+ $state-success-text: #468847;
151
+ $state-success-bg: #dff0d8;
152
+ $state-success-border: darken(spin($state-success-bg, -10), 5%);
153
+ $state-info-text: #3a87ad;
154
+ $state-info-bg: #d9edf7;
155
+ $state-info-border: darken(spin($state-info-bg, -10), 7%);
156
+
157
+
158
+ // ToolTip
159
+ $tooltip-color: #fff;
160
+ $tooltip-bg: #000;
161
+ $tooltip-arrow-color: $tooltip-bg;
162
+ $tooltip-opacity: .9;
163
+
164
+
165
+ // Popover
166
+ $popover-bg: #fff;
167
+ $popover-border-color: rgba(0,0,0,.2);
168
+ $popover-fallback-border-color: #ccc;
169
+ $popover-title-bg: darken($popover-bg, 3%);
170
+ $popover-arrow-color: #fff;
171
+ $popover-arrow-outer-color: rgba(0,0,0,.25);
172
+ $popover-arrow-outer-fallback-color: #999;
173
+
174
+
175
+ // List Group
176
+ $list-group-bg: #fff;
177
+ $list-group-border: #ddd;
178
+ $list-group-hover-bg: #f5f5f5;
179
+ $list-group-active-color: #fff;
180
+ $list-group-active-bg: $component-active-bg;
181
+ $list-group-active-border: $list-group-active-bg;
182
+ $list-group-active-text-color: lighten($list-group-active-bg, 40%);
183
+ $list-group-link-color: #555;
184
+ $list-group-link-heading-color: #333;
@@ -1,9 +1,24 @@
1
- $sansFontFamily: 'Helvetica Neue', Helvetica, Arial, sans-serif;
2
- $serifFontFamily: Georgia, 'Times New Roman', Times, serif;
3
- $monoFontFamily: Menlo, Monaco, Consolas, 'Courier New', monospace;
4
- $baseFontSize: 13px;
5
- $baseFontFamily: $sansFontFamily;
6
- $baseLineHeight: 18px;
7
- $altFontFamily: $serifFontFamily;
8
- $headingsFontFamily: $sansFontFamily;
9
- $headingsFontWeight: bold;
1
+ $font-family-sans-serif: Open Sans;
2
+ $font-family-serif: PT Serif;
3
+ $font-family-monospace: Monaco;
4
+ $font-family-base: $font-family-sans-serif;
5
+ $font-size-base: 14px;
6
+ $font-size-large: ceil($font-size-base * 1.25);
7
+ $font-size-small: ceil($font-size-base * 0.85);
8
+ $font-size-h1: floor(($font-size-base * 2.6));
9
+ $font-size-h2: floor(($font-size-base * 2.15));
10
+ $font-size-h3: floor(($font-size-base * 1.7));
11
+ $font-size-h4: floor(($font-size-base * 1.25));
12
+ $font-size-h5: $font-size-base;
13
+ $font-size-h6: floor(($font-size-base * 0.85));
14
+ $line-height-base: 1.428571429;
15
+ $line-height-computed: floor($font-size-base * $line-height-base);
16
+ $headings-font-family: $font-family-base;
17
+ $headings-font-weight: 500;
18
+ $headings-line-height: 1.1;
19
+ $headings-color: inherit;
20
+ $jumbotron-font-size: ceil(($font-size-base * 1.5));
21
+
22
+ // Sprites
23
+ $icon-font-path: '../app/fonts/';
24
+ $icon-font-name: glyphicons-halflings-regular;
@@ -2,12 +2,12 @@
2
2
  // You'll break it.
3
3
  //
4
4
  // Actually, you can customize it at will.
5
+ //
6
+ // Special thanks to pikock http://www.pikock.com/, who provided the less on which this sass was based.
5
7
 
6
8
  @import './font';
7
9
  @import './colors';
8
- @import './grid';
9
- @import './layers';
10
+ @import './spacing';
10
11
  @import 'bootstrap';
11
- @import 'bootstrap-responsive';
12
12
  // @import 'font-awesome';
13
13
  @import './overrides';
@@ -1,10 +1,6 @@
1
1
  // These rules override those given within bootstrap. They can use
2
2
  // mixins and variables.
3
3
 
4
- body {
5
- padding-top: 60px;
6
- }
7
-
8
4
  .clear-right {
9
5
  clear: right;
10
6
  }