kickstrap_rails 0.9.0RC
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +165 -0
- data/README.md +23 -0
- data/Rakefile +2 -0
- data/kickstrap_rails.gemspec +20 -0
- data/lib/kickstrap_rails/version.rb +3 -0
- data/lib/kickstrap_rails.rb +6 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +175 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svgz +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.eot +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.svg +157 -0
- data/vendor/assets/fonts/icomoon/full-webfont.ttf +0 -0
- data/vendor/assets/fonts/icomoon/full-webfont.woff +0 -0
- data/vendor/assets/images/chosen/chosen-sprite.png +0 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-alert.js +94 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-button.js +100 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-carousel.js +161 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-collapse.js +138 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-dropdown.js +92 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-modal.js +210 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-popover.js +95 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-scrollspy.js +125 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/bootstrap/bootstrap-typeahead.js +271 -0
- data/vendor/assets/javascripts/bootstrap.js +12 -0
- data/vendor/assets/javascripts/kickstrap/chosen/chosen.jquery.js +952 -0
- data/vendor/assets/javascripts/kickstrap/jgrowl/jquery.jgrowl.js +330 -0
- data/vendor/assets/javascripts/kickstrap.js +3 -0
- data/vendor/assets/stylesheets/bootstrap/accordion.less +28 -0
- data/vendor/assets/stylesheets/bootstrap/alerts.less +70 -0
- data/vendor/assets/stylesheets/bootstrap/bootstrap.less +65 -0
- data/vendor/assets/stylesheets/bootstrap/breadcrumbs.less +22 -0
- data/vendor/assets/stylesheets/bootstrap/button-groups.less +148 -0
- data/vendor/assets/stylesheets/bootstrap/buttons.less +183 -0
- data/vendor/assets/stylesheets/bootstrap/carousel.less +121 -0
- data/vendor/assets/stylesheets/bootstrap/close.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/code.less +57 -0
- data/vendor/assets/stylesheets/bootstrap/component-animations.less +18 -0
- data/vendor/assets/stylesheets/bootstrap/dropdowns.less +130 -0
- data/vendor/assets/stylesheets/bootstrap/forms.less +522 -0
- data/vendor/assets/stylesheets/bootstrap/grid.less +8 -0
- data/vendor/assets/stylesheets/bootstrap/hero-unit.less +20 -0
- data/vendor/assets/stylesheets/bootstrap/labels.less +32 -0
- data/vendor/assets/stylesheets/bootstrap/layouts.less +17 -0
- data/vendor/assets/stylesheets/bootstrap/mixins.less +590 -0
- data/vendor/assets/stylesheets/bootstrap/modals.less +83 -0
- data/vendor/assets/stylesheets/bootstrap/navbar.less +299 -0
- data/vendor/assets/stylesheets/bootstrap/navs.less +353 -0
- data/vendor/assets/stylesheets/bootstrap/pager.less +30 -0
- data/vendor/assets/stylesheets/bootstrap/pagination.less +55 -0
- data/vendor/assets/stylesheets/bootstrap/popovers.less +49 -0
- data/vendor/assets/stylesheets/bootstrap/progress-bars.less +95 -0
- data/vendor/assets/stylesheets/bootstrap/reset.less +126 -0
- data/vendor/assets/stylesheets/bootstrap/scaffolding.less +29 -0
- data/vendor/assets/stylesheets/bootstrap/sprites.less +158 -0
- data/vendor/assets/stylesheets/bootstrap/tables.less +150 -0
- data/vendor/assets/stylesheets/bootstrap/thumbnails.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/tooltip.less +35 -0
- data/vendor/assets/stylesheets/bootstrap/type.less +218 -0
- data/vendor/assets/stylesheets/bootstrap/utilities.less +23 -0
- data/vendor/assets/stylesheets/bootstrap/variables.less +107 -0
- data/vendor/assets/stylesheets/bootstrap/wells.less +17 -0
- data/vendor/assets/stylesheets/kickstrap/animate/animate.css +3813 -0
- data/vendor/assets/stylesheets/kickstrap/chosen/chosen.less +392 -0
- data/vendor/assets/stylesheets/kickstrap/fontawesome/font-awesome.less +218 -0
- data/vendor/assets/stylesheets/kickstrap/icomoon/icomoon.less +123 -0
- data/vendor/assets/stylesheets/kickstrap/jgrowl/jquery.jgrowl.less +105 -0
- data/vendor/assets/stylesheets/kickstrap/overrides.less +271 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia/amelia.less +647 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia/variables.less +112 -0
- data/vendor/assets/stylesheets/kickstrap/themes/amelia.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean/cerulean.less +122 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cerulean.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg/cyborg.less +511 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/cyborg.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal/journal.less +139 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal/variables.less +114 -0
- data/vendor/assets/stylesheets/kickstrap/themes/journal.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable/readable.less +454 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/readable.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra/sandra.less +115 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/sandra.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex/simplex.less +107 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/simplex.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate/slate.less +417 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate/variables.less +203 -0
- data/vendor/assets/stylesheets/kickstrap/themes/slate.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab/spacelab.less +174 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab/variables.less +107 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spacelab.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce/spruce.less +474 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/spruce.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero/superhero.less +634 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero/variables.less +108 -0
- data/vendor/assets/stylesheets/kickstrap/themes/superhero.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united/united.less +101 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united/variables.less +110 -0
- data/vendor/assets/stylesheets/kickstrap/themes/united.css.less +2 -0
- data/vendor/assets/stylesheets/kickstrap.css.less +1 -0
- metadata +189 -0
@@ -0,0 +1,108 @@
|
|
1
|
+
// Variables.less
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// Swatch: Readable
|
4
|
+
// -----------------------------------------------------
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
// GLOBAL VALUES
|
9
|
+
// --------------------------------------------------
|
10
|
+
|
11
|
+
// Links
|
12
|
+
@linkColor: @red;
|
13
|
+
@linkColorHover: lighten(@linkColor, 8%);
|
14
|
+
|
15
|
+
// Grays
|
16
|
+
@black: #000;
|
17
|
+
@grayDarker: #222;
|
18
|
+
@grayDark: #333;
|
19
|
+
@gray: #777;
|
20
|
+
@grayLight: #999;
|
21
|
+
@grayLighter: #CDCDCD;
|
22
|
+
@white: #fff;
|
23
|
+
|
24
|
+
// Accent colors
|
25
|
+
@blue: #049cdb;
|
26
|
+
@blueDark: #0064cd;
|
27
|
+
@green: #46a546;
|
28
|
+
@red: #9C0001;
|
29
|
+
@yellow: #ffc40d;
|
30
|
+
@orange: #f89406;
|
31
|
+
@pink: #c3325f;
|
32
|
+
@purple: #7a43b6;
|
33
|
+
|
34
|
+
// Typography
|
35
|
+
@baseFontSize: 19px;
|
36
|
+
@baseFontFamily: Georgia, "Times New Roman", serif;
|
37
|
+
@baseLineHeight: 1.6em;
|
38
|
+
@textColor: #090000;
|
39
|
+
|
40
|
+
// Buttons
|
41
|
+
@primaryButtonBackground: @linkColor;
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
// COMPONENT VARIABLES
|
46
|
+
// --------------------------------------------------
|
47
|
+
|
48
|
+
// Z-index master list
|
49
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
50
|
+
// Try to avoid customizing these :)
|
51
|
+
@zindexDropdown: 1000;
|
52
|
+
@zindexPopover: 1010;
|
53
|
+
@zindexTooltip: 1020;
|
54
|
+
@zindexFixedNavbar: 1030;
|
55
|
+
@zindexModalBackdrop: 1040;
|
56
|
+
@zindexModal: 1050;
|
57
|
+
|
58
|
+
// Sprite icons path
|
59
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
60
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
61
|
+
|
62
|
+
// Input placeholder text color
|
63
|
+
@placeholderText: @gray;
|
64
|
+
|
65
|
+
// Hr border color
|
66
|
+
@hrBorder: @grayLighter;
|
67
|
+
|
68
|
+
// Navbar
|
69
|
+
@navbarHeight: 40px;
|
70
|
+
@navbarBackground: @bodyBackgroundColor;
|
71
|
+
@navbarBackgroundHighlight: @bodyBackgroundColor;
|
72
|
+
@navbarLinkBackgroundHover: @bodyBackgroundColor;
|
73
|
+
|
74
|
+
@navbarText: @textColor;
|
75
|
+
@navbarLinkColor: @linkColor;
|
76
|
+
@navbarLinkColorHover: @linkColorHover;
|
77
|
+
|
78
|
+
// Form states and alerts
|
79
|
+
@warningText: #c09853;
|
80
|
+
@warningBackground: #fcf8e3;
|
81
|
+
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
82
|
+
|
83
|
+
@errorText: #b94a48;
|
84
|
+
@errorBackground: #f2dede;
|
85
|
+
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
86
|
+
|
87
|
+
@successText: #468847;
|
88
|
+
@successBackground: #dff0d8;
|
89
|
+
@successBorder: darken(spin(@successBackground, -10), 5%);
|
90
|
+
|
91
|
+
@infoText: #3a87ad;
|
92
|
+
@infoBackground: #d9edf7;
|
93
|
+
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
// GRID
|
98
|
+
// --------------------------------------------------
|
99
|
+
|
100
|
+
// Default 940px grid
|
101
|
+
@gridColumns: 12;
|
102
|
+
@gridColumnWidth: 60px;
|
103
|
+
@gridGutterWidth: 20px;
|
104
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
105
|
+
|
106
|
+
// Fluid grid
|
107
|
+
@fluidGridColumnWidth: 6.382978723%;
|
108
|
+
@fluidGridGutterWidth: 2.127659574%;
|
@@ -0,0 +1,115 @@
|
|
1
|
+
// Bootswatch.less
|
2
|
+
// Swatch: United
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
// TYPOGRAPHY
|
6
|
+
// -----------------------------------------------------
|
7
|
+
@import "variables.less";
|
8
|
+
// Fredoka web font
|
9
|
+
@import url(http://fonts.googleapis.com/css?family=Fredoka+One);
|
10
|
+
|
11
|
+
// TEXT
|
12
|
+
// -----------------------------------------------------
|
13
|
+
|
14
|
+
h1,h2,h3,h4,h5,a.brand {
|
15
|
+
font-weight:normal;
|
16
|
+
font-family: 'Fredoka One', Cursive, sans-serif;
|
17
|
+
}
|
18
|
+
h1,h3,h5 {color:@green;}
|
19
|
+
h2,h4 {color:darken(@blue,5%);}
|
20
|
+
|
21
|
+
// NAVBAR
|
22
|
+
// -----------------------------------------------------
|
23
|
+
|
24
|
+
// Added dividers to items
|
25
|
+
.navbar {
|
26
|
+
.navbar-inner {
|
27
|
+
#gradient > .horizontal(@green,@blue);
|
28
|
+
}
|
29
|
+
.nav > li > a {
|
30
|
+
border-right: 1px solid darken(@green,5%);
|
31
|
+
border-left: 1px solid darken(@green,5%);
|
32
|
+
|
33
|
+
&:hover {
|
34
|
+
background-color: @blue;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
// Lightened color of active item
|
40
|
+
.navbar .nav .active > a,
|
41
|
+
.navbar .nav .active > a:hover {
|
42
|
+
background-color: rgba(0,0,0,.2);
|
43
|
+
}
|
44
|
+
|
45
|
+
// Styled item divider
|
46
|
+
.navbar .divider-vertical {
|
47
|
+
background-color: inherit;
|
48
|
+
border-right: 0px solid #CE4213;
|
49
|
+
}
|
50
|
+
|
51
|
+
.navbar .navbar-text > a {
|
52
|
+
color: @white;
|
53
|
+
text-decoration: underline;
|
54
|
+
|
55
|
+
&:hover {
|
56
|
+
color: #ddd;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
.navbar-search .search-query {
|
61
|
+
border: 1px solid darken(@navbarBackground, 15%);
|
62
|
+
}
|
63
|
+
|
64
|
+
.navbar .nav-collapse > .nav > li .dropdown-menu a {
|
65
|
+
color: @linkColor;
|
66
|
+
|
67
|
+
&:hover {
|
68
|
+
color: @white;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.navbar .nav-collapse.collapse > .nav li > a {
|
73
|
+
color: @white;
|
74
|
+
border-left: 0px solid @orange;
|
75
|
+
border-right: 0px solid @orange;
|
76
|
+
|
77
|
+
&:hover {
|
78
|
+
background-color: #2B7CAC;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
.navbar .nav-collapse .navbar-form,
|
83
|
+
.navbar .nav-collapse .navbar-search {
|
84
|
+
border-top: 0px solid @orange;
|
85
|
+
border-bottom: 0px solid @orange;
|
86
|
+
.box-shadow(none);
|
87
|
+
}
|
88
|
+
|
89
|
+
// BUTTONS
|
90
|
+
// -----------------------------------------------------
|
91
|
+
|
92
|
+
// Reversed gradient on primary button
|
93
|
+
.btn-primary {
|
94
|
+
.buttonBackground(lighten(@primaryButtonBackground, 15%), @primaryButtonBackground);
|
95
|
+
}
|
96
|
+
|
97
|
+
// Made warning button yellow since orange is taken
|
98
|
+
.btn-warning {
|
99
|
+
color:@warningText;
|
100
|
+
.buttonBackground(lighten(@yellow, 5%), darken(@yellow,15%));
|
101
|
+
|
102
|
+
.caret {
|
103
|
+
border-top-color: @white;
|
104
|
+
.opacity(75);
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
// CONTAINERS
|
109
|
+
// -----------------------------------------------------
|
110
|
+
|
111
|
+
.hero-unit, .well {
|
112
|
+
background-color: #F3F8ED;
|
113
|
+
color: #61645C;
|
114
|
+
}
|
115
|
+
|
@@ -0,0 +1,110 @@
|
|
1
|
+
// Variables.less
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// Swatch: United
|
4
|
+
// -----------------------------------------------------
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
// GLOBAL VALUES
|
9
|
+
// --------------------------------------------------
|
10
|
+
|
11
|
+
// Links
|
12
|
+
@linkColor: #1A4445;
|
13
|
+
@linkColorHover: darken(@linkColor, 15%);
|
14
|
+
|
15
|
+
// Grays
|
16
|
+
@black: #000;
|
17
|
+
@grayDarker: #222;
|
18
|
+
@grayDark: #333;
|
19
|
+
@gray: #555;
|
20
|
+
@grayLight: #999;
|
21
|
+
@grayLighter: #eee;
|
22
|
+
@white: #fff;
|
23
|
+
|
24
|
+
// Accent colors
|
25
|
+
@blue: #2AC7C4;
|
26
|
+
@blueDark: #0064cd;
|
27
|
+
@green: #62c729;
|
28
|
+
@red: #DF382C;
|
29
|
+
@yellow: #FFF8AF;
|
30
|
+
@orange: #000000;
|
31
|
+
@pink: #c3325f;
|
32
|
+
@purple: #772953;
|
33
|
+
|
34
|
+
// Typography
|
35
|
+
@baseFontSize: 13px;
|
36
|
+
@baseFontFamily: 'Helvetica Neue', helvetica, sans-serif;
|
37
|
+
@baseLineHeight: 18px;
|
38
|
+
@textColor: @grayDark;
|
39
|
+
|
40
|
+
// Buttons
|
41
|
+
@primaryButtonBackground: darken(@blue,7%);
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
// COMPONENT VARIABLES
|
46
|
+
// --------------------------------------------------
|
47
|
+
|
48
|
+
// Z-index master list
|
49
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
50
|
+
// Try to avoid customizing these :)
|
51
|
+
@zindexDropdown: 1000;
|
52
|
+
@zindexPopover: 1010;
|
53
|
+
@zindexTooltip: 1020;
|
54
|
+
@zindexFixedNavbar: 1030;
|
55
|
+
@zindexModalBackdrop: 1040;
|
56
|
+
@zindexModal: 1050;
|
57
|
+
|
58
|
+
// Sprite icons path
|
59
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
60
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
61
|
+
|
62
|
+
// Input placeholder text color
|
63
|
+
@placeholderText: @grayLight;
|
64
|
+
|
65
|
+
// Hr border color
|
66
|
+
@hrBorder: @grayLighter;
|
67
|
+
|
68
|
+
// Navbar
|
69
|
+
@navbarHeight: 40px;
|
70
|
+
@navbarBackground: #61645C;
|
71
|
+
@navbarBackgroundHighlight: #CE4213;
|
72
|
+
@navbarLinkBackgroundHover: transparent;
|
73
|
+
|
74
|
+
@navbarText: @white;
|
75
|
+
@navbarLinkColor: @white;
|
76
|
+
@navbarLinkColorHover: @white;
|
77
|
+
|
78
|
+
// Form states and alerts
|
79
|
+
@warningText: #5F5C27;
|
80
|
+
@warningBackground: #FEF5B2;
|
81
|
+
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
82
|
+
|
83
|
+
@errorText: #DF382C;
|
84
|
+
@errorBackground: lighten(@errorText, 40%);
|
85
|
+
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
86
|
+
|
87
|
+
@successText: darken(@green,20%);
|
88
|
+
@successBackground: lighten(@green,25%);
|
89
|
+
@successBorder: darken(spin(@successBackground, -10), 5%);
|
90
|
+
|
91
|
+
@infoText: darken(@blue,20%);
|
92
|
+
@infoBackground: lighten(@blue,40%);
|
93
|
+
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
// GRID
|
98
|
+
// --------------------------------------------------
|
99
|
+
|
100
|
+
// Default 940px grid
|
101
|
+
@gridColumns: 12;
|
102
|
+
@gridColumnWidth: 60px;
|
103
|
+
@gridGutterWidth: 20px;
|
104
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
105
|
+
|
106
|
+
// Fluid grid
|
107
|
+
@fluidGridColumnWidth: 6.382978723%;
|
108
|
+
@fluidGridGutterWidth: 2.127659574%;
|
109
|
+
|
110
|
+
|
@@ -0,0 +1,107 @@
|
|
1
|
+
// Bootswatch.less
|
2
|
+
// Swatch: Simplex
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
// TYPOGRAPHY
|
6
|
+
// -----------------------------------------------------
|
7
|
+
|
8
|
+
@import "variables.less";
|
9
|
+
|
10
|
+
// Make headers black
|
11
|
+
h1, h2, h3, h4, h5, h6 {
|
12
|
+
color: @black;
|
13
|
+
}
|
14
|
+
|
15
|
+
// NAVBAR
|
16
|
+
// -----------------------------------------------------
|
17
|
+
|
18
|
+
// Gray text color
|
19
|
+
.navbar .brand, .subnav a {
|
20
|
+
color: @navbarText;
|
21
|
+
}
|
22
|
+
|
23
|
+
// Make active item white
|
24
|
+
.navbar .nav .active > a,
|
25
|
+
.navbar .nav .active > a:hover {
|
26
|
+
background-color: @grayDarker;
|
27
|
+
color: @white;
|
28
|
+
}
|
29
|
+
|
30
|
+
// Remove text-shadow and make white on hover
|
31
|
+
.navbar .nav > li > a {
|
32
|
+
text-shadow: none;
|
33
|
+
&:hover {
|
34
|
+
color: @white;
|
35
|
+
background-color: rgba(256, 256, 256, 0.2);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
// Remove menu item dividers on subnav
|
40
|
+
.subnav .nav > li > a {
|
41
|
+
border-left: 0px solid white !important;
|
42
|
+
border-right: 0px solid white !important;
|
43
|
+
color: @grayDark;
|
44
|
+
}
|
45
|
+
|
46
|
+
.btn-navbar:hover {
|
47
|
+
background-color: darken(@white, 20%);
|
48
|
+
background-position: 0 0;
|
49
|
+
}
|
50
|
+
|
51
|
+
// FORMS
|
52
|
+
// -----------------------------------------------------
|
53
|
+
|
54
|
+
// Style search input
|
55
|
+
.search-query {
|
56
|
+
border: 1px solid #CCC;
|
57
|
+
.border-radius(2px);
|
58
|
+
background-color: @white;
|
59
|
+
}
|
60
|
+
|
61
|
+
// BUTTONS
|
62
|
+
// -----------------------------------------------------
|
63
|
+
|
64
|
+
// Make buttons boxier and flatter
|
65
|
+
.btn {
|
66
|
+
.border-radius(2px);
|
67
|
+
#gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%));
|
68
|
+
}
|
69
|
+
|
70
|
+
.btn-warning {
|
71
|
+
.caret {
|
72
|
+
border-top-color: @white;
|
73
|
+
.opacity(75);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.btn-primary {
|
78
|
+
.buttonBackground(lighten(@primaryButtonBackground, 5%), @primaryButtonBackground);
|
79
|
+
}
|
80
|
+
|
81
|
+
.btn-warning {
|
82
|
+
.buttonBackground(lighten(@orange, 5%), @orange);
|
83
|
+
}
|
84
|
+
|
85
|
+
.btn-danger {
|
86
|
+
.buttonBackground(lighten(@red, 5%), @red);
|
87
|
+
}
|
88
|
+
|
89
|
+
.btn-success {
|
90
|
+
.buttonBackground(lighten(@green, 5%), @green);
|
91
|
+
}
|
92
|
+
|
93
|
+
.btn-info {
|
94
|
+
.buttonBackground(lighten(#5bc0de, 5%), #5bc0de);
|
95
|
+
}
|
96
|
+
|
97
|
+
.btn-inverse {
|
98
|
+
.buttonBackground(lighten(@purple, 5%), @purple);
|
99
|
+
}
|
100
|
+
|
101
|
+
// ICONS
|
102
|
+
// -----------------------------------------------------
|
103
|
+
|
104
|
+
// Make icons gray
|
105
|
+
i[class^="icon-"]{
|
106
|
+
opacity: 0.6;
|
107
|
+
}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
// Variables.less
|
2
|
+
// Variables to customize the look and feel of Bootstrap
|
3
|
+
// Swatch: Simplex
|
4
|
+
// -----------------------------------------------------
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
// GLOBAL VALUES
|
9
|
+
// --------------------------------------------------
|
10
|
+
|
11
|
+
// Links
|
12
|
+
@linkColor: #366DDC;
|
13
|
+
@linkColorHover: darken(@linkColor, 15%);
|
14
|
+
|
15
|
+
// Grays
|
16
|
+
@black: #000;
|
17
|
+
@grayDarker: #2C2C2C;
|
18
|
+
@grayDark: #333;
|
19
|
+
@gray: #555;
|
20
|
+
@grayLight: #999;
|
21
|
+
@grayLighter: #EEE;
|
22
|
+
@white: #fff;
|
23
|
+
|
24
|
+
// Accent colors
|
25
|
+
@blue: #15C;
|
26
|
+
@blueDark: #043755;
|
27
|
+
@green: #3D9400;
|
28
|
+
@red: #E32C3B;
|
29
|
+
@yellow: #FFCA27;
|
30
|
+
@orange: #FF6600;
|
31
|
+
@pink: #ED2590;
|
32
|
+
@purple: #9B479F;
|
33
|
+
|
34
|
+
// Typography
|
35
|
+
@baseFontSize: 13px;
|
36
|
+
@baseFontFamily: arial,sans-serif;
|
37
|
+
@baseLineHeight: 18px;
|
38
|
+
@textColor: @black;
|
39
|
+
|
40
|
+
// Buttons
|
41
|
+
@primaryButtonBackground: @linkColor;
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
// COMPONENT VARIABLES
|
46
|
+
// --------------------------------------------------
|
47
|
+
|
48
|
+
// Z-index master list
|
49
|
+
// Used for a bird's eye view of components dependent on the z-axis
|
50
|
+
// Try to avoid customizing these :)
|
51
|
+
@zindexDropdown: 1000;
|
52
|
+
@zindexPopover: 1010;
|
53
|
+
@zindexTooltip: 1020;
|
54
|
+
@zindexFixedNavbar: 1030;
|
55
|
+
@zindexModalBackdrop: 1040;
|
56
|
+
@zindexModal: 1050;
|
57
|
+
|
58
|
+
// Sprite icons path
|
59
|
+
@iconSpritePath: "../img/glyphicons-halflings.png";
|
60
|
+
@iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
61
|
+
|
62
|
+
// Input placeholder text color
|
63
|
+
@placeholderText: @grayLight;
|
64
|
+
|
65
|
+
// Hr border color
|
66
|
+
@hrBorder: @grayLighter;
|
67
|
+
|
68
|
+
// Navbar
|
69
|
+
@navbarHeight: 40px;
|
70
|
+
@navbarBackground: @grayDarker;
|
71
|
+
@navbarBackgroundHighlight: @grayDarker;
|
72
|
+
@navbarLinkBackgroundHover: transparent;
|
73
|
+
|
74
|
+
@navbarText: #AAA;
|
75
|
+
@navbarLinkColor: @navbarText;
|
76
|
+
@navbarLinkColorHover: @gray;
|
77
|
+
|
78
|
+
// Form states and alerts
|
79
|
+
@warningText: #c09853;
|
80
|
+
@warningBackground: #fcf8e3;
|
81
|
+
@warningBorder: darken(spin(@warningBackground, -10), 3%);
|
82
|
+
|
83
|
+
@errorText: #b94a48;
|
84
|
+
@errorBackground: #f2dede;
|
85
|
+
@errorBorder: darken(spin(@errorBackground, -10), 3%);
|
86
|
+
|
87
|
+
@successText: #468847;
|
88
|
+
@successBackground: #dff0d8;
|
89
|
+
@successBorder: darken(spin(@successBackground, -10), 5%);
|
90
|
+
|
91
|
+
@infoText: #3a87ad;
|
92
|
+
@infoBackground: #d9edf7;
|
93
|
+
@infoBorder: darken(spin(@infoBackground, -10), 7%);
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
// GRID
|
98
|
+
// --------------------------------------------------
|
99
|
+
|
100
|
+
// Default 940px grid
|
101
|
+
@gridColumns: 12;
|
102
|
+
@gridColumnWidth: 60px;
|
103
|
+
@gridGutterWidth: 20px;
|
104
|
+
@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1));
|
105
|
+
|
106
|
+
// Fluid grid
|
107
|
+
@fluidGridColumnWidth: 6.382978723%;
|
108
|
+
@fluidGridGutterWidth: 2.127659574%;
|