flatui-rails-less 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +38 -0
- data/Rakefile +1 -0
- data/flatui-rails-less.gemspec +26 -0
- data/lib/flatui/rails/less.rb +11 -0
- data/lib/flatui/rails/less/version.rb +7 -0
- data/vendor/assets/fonts/Flat-UI-Icons.dev.svg +140 -0
- data/vendor/assets/fonts/Flat-UI-Icons.eot +0 -0
- data/vendor/assets/fonts/Flat-UI-Icons.svg +140 -0
- data/vendor/assets/fonts/Flat-UI-Icons.ttf +0 -0
- data/vendor/assets/fonts/Flat-UI-Icons.woff +0 -0
- data/vendor/assets/fonts/icomoon-session.json +1 -0
- data/vendor/assets/fonts/lato/lato-black-webfont.eot +0 -0
- data/vendor/assets/fonts/lato/lato-black-webfont.svg +4691 -0
- data/vendor/assets/fonts/lato/lato-black-webfont.ttf +0 -0
- data/vendor/assets/fonts/lato/lato-black-webfont.woff +0 -0
- data/vendor/assets/fonts/lato/lato-bold-webfont.eot +0 -0
- data/vendor/assets/fonts/lato/lato-bold-webfont.svg +5085 -0
- data/vendor/assets/fonts/lato/lato-bold-webfont.ttf +0 -0
- data/vendor/assets/fonts/lato/lato-bold-webfont.woff +0 -0
- data/vendor/assets/fonts/lato/lato-bolditalic-webfont.eot +0 -0
- data/vendor/assets/fonts/lato/lato-bolditalic-webfont.svg +4514 -0
- data/vendor/assets/fonts/lato/lato-bolditalic-webfont.ttf +0 -0
- data/vendor/assets/fonts/lato/lato-bolditalic-webfont.woff +0 -0
- data/vendor/assets/fonts/lato/lato-italic-webfont.eot +0 -0
- data/vendor/assets/fonts/lato/lato-italic-webfont.svg +4514 -0
- data/vendor/assets/fonts/lato/lato-italic-webfont.ttf +0 -0
- data/vendor/assets/fonts/lato/lato-italic-webfont.woff +0 -0
- data/vendor/assets/fonts/lato/lato-light-webfont.eot +0 -0
- data/vendor/assets/fonts/lato/lato-light-webfont.svg +4691 -0
- data/vendor/assets/fonts/lato/lato-light-webfont.ttf +0 -0
- data/vendor/assets/fonts/lato/lato-light-webfont.woff +0 -0
- data/vendor/assets/fonts/lato/lato-regular-webfont.eot +0 -0
- data/vendor/assets/fonts/lato/lato-regular-webfont.svg +4691 -0
- data/vendor/assets/fonts/lato/lato-regular-webfont.ttf +0 -0
- data/vendor/assets/fonts/lato/lato-regular-webfont.woff +0 -0
- data/vendor/assets/images/demo/browser-2x.png +0 -0
- data/vendor/assets/images/demo/browser-author.jpg +0 -0
- data/vendor/assets/images/demo/browser-pic-1.jpg +0 -0
- data/vendor/assets/images/demo/browser-pic-2.jpg +0 -0
- data/vendor/assets/images/demo/browser-pic-3.jpg +0 -0
- data/vendor/assets/images/demo/browser-pic-4.jpg +0 -0
- data/vendor/assets/images/demo/browser-pic-5.jpg +0 -0
- data/vendor/assets/images/demo/browser-pic-6.jpg +0 -0
- data/vendor/assets/images/demo/browser.png +0 -0
- data/vendor/assets/images/demo/html-icon.png +0 -0
- data/vendor/assets/images/demo/logo-mask-2x.png +0 -0
- data/vendor/assets/images/demo/logo-mask.png +0 -0
- data/vendor/assets/images/demo/video.jpg +0 -0
- data/vendor/assets/images/exaple-image.jpg +0 -0
- data/vendor/assets/images/favicon.ico +0 -0
- data/vendor/assets/images/footer/logo.png +0 -0
- data/vendor/assets/images/icons/png/Book.png +0 -0
- data/vendor/assets/images/icons/png/Calendar.png +0 -0
- data/vendor/assets/images/icons/png/Chat.png +0 -0
- data/vendor/assets/images/icons/png/Clipboard.png +0 -0
- data/vendor/assets/images/icons/png/Compas.png +0 -0
- data/vendor/assets/images/icons/png/Gift-Box.png +0 -0
- data/vendor/assets/images/icons/png/Infinity-Loop.png +0 -0
- data/vendor/assets/images/icons/png/Mail.png +0 -0
- data/vendor/assets/images/icons/png/Map.png +0 -0
- data/vendor/assets/images/icons/png/Pensils.png +0 -0
- data/vendor/assets/images/icons/png/Pocket.png +0 -0
- data/vendor/assets/images/icons/png/Retina-Ready.png +0 -0
- data/vendor/assets/images/icons/png/Toilet-Paper.png +0 -0
- data/vendor/assets/images/icons/png/Watches.png +0 -0
- data/vendor/assets/images/icons/svg/book.svg +1 -0
- data/vendor/assets/images/icons/svg/calendar.svg +1 -0
- data/vendor/assets/images/icons/svg/chat.svg +1 -0
- data/vendor/assets/images/icons/svg/clipboard.svg +1 -0
- data/vendor/assets/images/icons/svg/clocks.svg +9 -0
- data/vendor/assets/images/icons/svg/compas.svg +1 -0
- data/vendor/assets/images/icons/svg/gift-box.svg +1 -0
- data/vendor/assets/images/icons/svg/loop.svg +5 -0
- data/vendor/assets/images/icons/svg/mail.svg +1 -0
- data/vendor/assets/images/icons/svg/map.svg +1 -0
- data/vendor/assets/images/icons/svg/paper-bag.svg +1 -0
- data/vendor/assets/images/icons/svg/pencils.svg +1 -0
- data/vendor/assets/images/icons/svg/retina.svg +1 -0
- data/vendor/assets/images/icons/svg/toilet-paper.svg +1 -0
- data/vendor/assets/images/login/icon.png +0 -0
- data/vendor/assets/images/login/imac-2x.png +0 -0
- data/vendor/assets/images/login/imac.png +0 -0
- data/vendor/assets/images/switch/mask-square.png +0 -0
- data/vendor/assets/images/switch/mask.png +0 -0
- data/vendor/assets/images/tile/ribbon-2x.png +0 -0
- data/vendor/assets/images/tile/ribbon.png +0 -0
- data/vendor/assets/images/todo/done-2x.png +0 -0
- data/vendor/assets/images/todo/done.png +0 -0
- data/vendor/assets/images/todo/search-2x.png +0 -0
- data/vendor/assets/images/todo/search.png +0 -0
- data/vendor/assets/images/todo/todo-2x.png +0 -0
- data/vendor/assets/images/todo/todo.png +0 -0
- data/vendor/assets/images/video/fullscreen-2x.png +0 -0
- data/vendor/assets/images/video/fullscreen.png +0 -0
- data/vendor/assets/images/video/pause-2x.png +0 -0
- data/vendor/assets/images/video/pause.png +0 -0
- data/vendor/assets/images/video/play-2x.png +0 -0
- data/vendor/assets/images/video/play.png +0 -0
- data/vendor/assets/images/video/poster.jpg +0 -0
- data/vendor/assets/images/video/volume-full-2x.png +0 -0
- data/vendor/assets/images/video/volume-full.png +0 -0
- data/vendor/assets/images/video/volume-off-2x.png +0 -0
- data/vendor/assets/images/video/volume-off.png +0 -0
- data/vendor/assets/javascripts/bootstrap-select.js +412 -0
- data/vendor/assets/javascripts/bootstrap-switch.js +251 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +335 -0
- data/vendor/assets/javascripts/bootstrap.min.js +8 -0
- data/vendor/assets/javascripts/flat-ui.js +13 -0
- data/vendor/assets/javascripts/flatui-checkbox.js +112 -0
- data/vendor/assets/javascripts/flatui-radio.js +141 -0
- data/vendor/assets/javascripts/html5shiv.js +8 -0
- data/vendor/assets/javascripts/icon-font-ie7.js +57 -0
- data/vendor/assets/javascripts/jquery-ui-1.10.3.custom.min.js +6 -0
- data/vendor/assets/javascripts/jquery.placeholder.js +157 -0
- data/vendor/assets/javascripts/jquery.stacktable.js +54 -0
- data/vendor/assets/javascripts/jquery.tagsinput.js +355 -0
- data/vendor/assets/javascripts/jquery.ui.touch-punch.min.js +11 -0
- data/vendor/assets/javascripts/run-application.js +70 -0
- data/vendor/assets/stylesheets/demo.less +306 -0
- data/vendor/assets/stylesheets/docs.less +411 -0
- data/vendor/assets/stylesheets/flat-ui.less +47 -0
- data/vendor/assets/stylesheets/fonts.less +65 -0
- data/vendor/assets/stylesheets/icon-font.less +128 -0
- data/vendor/assets/stylesheets/mixins.less +780 -0
- data/vendor/assets/stylesheets/modules/button-groups.less +110 -0
- data/vendor/assets/stylesheets/modules/buttons.less +145 -0
- data/vendor/assets/stylesheets/modules/caret.less +31 -0
- data/vendor/assets/stylesheets/modules/checkbox-and-radio.less +143 -0
- data/vendor/assets/stylesheets/modules/code.less +38 -0
- data/vendor/assets/stylesheets/modules/dropdown.less +249 -0
- data/vendor/assets/stylesheets/modules/footer.less +76 -0
- data/vendor/assets/stylesheets/modules/forms.less +127 -0
- data/vendor/assets/stylesheets/modules/input-icons.less +71 -0
- data/vendor/assets/stylesheets/modules/login.less +111 -0
- data/vendor/assets/stylesheets/modules/navbar.less +551 -0
- data/vendor/assets/stylesheets/modules/pager.less +51 -0
- data/vendor/assets/stylesheets/modules/pagination.less +155 -0
- data/vendor/assets/stylesheets/modules/palette.less +71 -0
- data/vendor/assets/stylesheets/modules/progress-bars.less +36 -0
- data/vendor/assets/stylesheets/modules/select.less +143 -0
- data/vendor/assets/stylesheets/modules/share.less +44 -0
- data/vendor/assets/stylesheets/modules/switch.less +150 -0
- data/vendor/assets/stylesheets/modules/tagsinput.less +121 -0
- data/vendor/assets/stylesheets/modules/tile.less +54 -0
- data/vendor/assets/stylesheets/modules/todo.less +110 -0
- data/vendor/assets/stylesheets/modules/tooltip.less +56 -0
- data/vendor/assets/stylesheets/modules/type.less +210 -0
- data/vendor/assets/stylesheets/modules/ui-slider.less +62 -0
- data/vendor/assets/stylesheets/modules/video.less +458 -0
- data/vendor/assets/stylesheets/scaffolding.less +46 -0
- data/vendor/assets/stylesheets/spaces.less +172 -0
- data/vendor/assets/stylesheets/variables.less +294 -0
- metadata +256 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
//
|
2
|
+
// Scaffolding
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// Body reset
|
7
|
+
// -------------------------
|
8
|
+
|
9
|
+
body {
|
10
|
+
font-family: @font-family-base;
|
11
|
+
font-size: @font-size-base;
|
12
|
+
line-height: @line-height-base;
|
13
|
+
color: @text-color;
|
14
|
+
background-color: @body-bg;
|
15
|
+
}
|
16
|
+
|
17
|
+
// Links
|
18
|
+
// -------------------------
|
19
|
+
|
20
|
+
a {
|
21
|
+
color: @link-color;
|
22
|
+
text-decoration: none;
|
23
|
+
.transition(.25s);
|
24
|
+
|
25
|
+
&:hover,
|
26
|
+
&:focus {
|
27
|
+
color: @link-hover-color;
|
28
|
+
text-decoration: none;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
// Images
|
33
|
+
// -------------------------
|
34
|
+
|
35
|
+
// Rounded corners
|
36
|
+
.img-rounded {
|
37
|
+
border-radius: @border-radius-large;
|
38
|
+
}
|
39
|
+
|
40
|
+
// Description text under image
|
41
|
+
.img-comment {
|
42
|
+
font-size: ceil(@font-size-base * 1.071); // ~15px
|
43
|
+
line-height: @line-height-base;
|
44
|
+
font-style: italic;
|
45
|
+
margin: 24px 0;
|
46
|
+
}
|
@@ -0,0 +1,172 @@
|
|
1
|
+
// Should be used to modify the default spacing between objects (not between nodes of * the same object)
|
2
|
+
// p,m = padding,margin
|
3
|
+
// a,t,r,b,l,h,v = all,top,right,bottom,left,horizontal,vertical
|
4
|
+
// x,s,m,l,n = extra-small(@x),small(@s),medium(@m),large(@l),none(0px)
|
5
|
+
@x: 3px;
|
6
|
+
@s: 5px;
|
7
|
+
@m: 10px;
|
8
|
+
@l: 20px;
|
9
|
+
|
10
|
+
.last-col {
|
11
|
+
overflow: hidden;
|
12
|
+
}
|
13
|
+
|
14
|
+
.ptn, .pvn, .pan {
|
15
|
+
padding-top: 0;
|
16
|
+
}
|
17
|
+
|
18
|
+
.ptx, .pvx, .pax {
|
19
|
+
padding-top: @x;
|
20
|
+
}
|
21
|
+
|
22
|
+
.pts, .pvs, .pas {
|
23
|
+
padding-top: @s;
|
24
|
+
}
|
25
|
+
|
26
|
+
.ptm, .pvm, .pam {
|
27
|
+
padding-top: @m;
|
28
|
+
}
|
29
|
+
|
30
|
+
.ptl, .pvl, .pal {
|
31
|
+
padding-top: @l;
|
32
|
+
}
|
33
|
+
|
34
|
+
.prn, .phn, .pan {
|
35
|
+
padding-right: 0;
|
36
|
+
}
|
37
|
+
|
38
|
+
.prx, .phx, .pax {
|
39
|
+
padding-right: @x;
|
40
|
+
}
|
41
|
+
|
42
|
+
.prs, .phs, .pas {
|
43
|
+
padding-right: @s;
|
44
|
+
}
|
45
|
+
|
46
|
+
.prm, .phm, .pam {
|
47
|
+
padding-right: @m;
|
48
|
+
}
|
49
|
+
|
50
|
+
.prl, .phl, .pal {
|
51
|
+
padding-right: @l;
|
52
|
+
}
|
53
|
+
|
54
|
+
.pbn, .pvn, .pan {
|
55
|
+
padding-bottom: 0;
|
56
|
+
}
|
57
|
+
|
58
|
+
.pbx, .pvx, .pax {
|
59
|
+
padding-bottom: @x;
|
60
|
+
}
|
61
|
+
|
62
|
+
.pbs, .pvs, .pas {
|
63
|
+
padding-bottom: @s;
|
64
|
+
}
|
65
|
+
|
66
|
+
.pbm, .pvm, .pam {
|
67
|
+
padding-bottom: @m;
|
68
|
+
}
|
69
|
+
|
70
|
+
.pbl, .pvl, .pal {
|
71
|
+
padding-bottom: @l;
|
72
|
+
}
|
73
|
+
|
74
|
+
.pln, .phn, .pan {
|
75
|
+
padding-left: 0;
|
76
|
+
}
|
77
|
+
|
78
|
+
.plx, .phx, .pax {
|
79
|
+
padding-left: @x;
|
80
|
+
}
|
81
|
+
|
82
|
+
.pls, .phs, .pas {
|
83
|
+
padding-left: @s;
|
84
|
+
}
|
85
|
+
|
86
|
+
.plm, .phm, .pam {
|
87
|
+
padding-left: @m;
|
88
|
+
}
|
89
|
+
|
90
|
+
.pll, .phl, .pal {
|
91
|
+
padding-left: @l;
|
92
|
+
}
|
93
|
+
|
94
|
+
.mtn, .mvn, .man {
|
95
|
+
margin-top: 0px;
|
96
|
+
}
|
97
|
+
|
98
|
+
.mtx, .mvx, .max {
|
99
|
+
margin-top: @x;
|
100
|
+
}
|
101
|
+
|
102
|
+
.mts, .mvs, .mas {
|
103
|
+
margin-top: @s;
|
104
|
+
}
|
105
|
+
|
106
|
+
.mtm, .mvm, .mam {
|
107
|
+
margin-top: @m;
|
108
|
+
}
|
109
|
+
|
110
|
+
.mtl, .mvl, .mal {
|
111
|
+
margin-top: @l;
|
112
|
+
}
|
113
|
+
|
114
|
+
.mrn, .mhn, .man {
|
115
|
+
margin-right: 0px;
|
116
|
+
}
|
117
|
+
|
118
|
+
.mrx, .mhx, .max {
|
119
|
+
margin-right: @x;
|
120
|
+
}
|
121
|
+
|
122
|
+
.mrs, .mhs, .mas {
|
123
|
+
margin-right: @s;
|
124
|
+
}
|
125
|
+
|
126
|
+
.mrm, .mhm, .mam {
|
127
|
+
margin-right: @m;
|
128
|
+
}
|
129
|
+
|
130
|
+
.mrl, .mhl, .mal {
|
131
|
+
margin-right: @l;
|
132
|
+
}
|
133
|
+
|
134
|
+
.mbn, .mvn, .man {
|
135
|
+
margin-bottom: 0px;
|
136
|
+
}
|
137
|
+
|
138
|
+
.mbx, .mvx, .max {
|
139
|
+
margin-bottom: @x;
|
140
|
+
}
|
141
|
+
|
142
|
+
.mbs, .mvs, .mas {
|
143
|
+
margin-bottom: @s;
|
144
|
+
}
|
145
|
+
|
146
|
+
.mbm, .mvm, .mam {
|
147
|
+
margin-bottom: @m;
|
148
|
+
}
|
149
|
+
|
150
|
+
.mbl, .mvl, .mal {
|
151
|
+
margin-bottom: @l;
|
152
|
+
}
|
153
|
+
|
154
|
+
.mln, .mhn, .man {
|
155
|
+
margin-left: 0px;
|
156
|
+
}
|
157
|
+
|
158
|
+
.mlx, .mhx, .max {
|
159
|
+
margin-left: @x;
|
160
|
+
}
|
161
|
+
|
162
|
+
.mls, .mhs, .mas {
|
163
|
+
margin-left: @s;
|
164
|
+
}
|
165
|
+
|
166
|
+
.mlm, .mhm, .mam {
|
167
|
+
margin-left: @m;
|
168
|
+
}
|
169
|
+
|
170
|
+
.mll, .mhl, .mal {
|
171
|
+
margin-left: @l;
|
172
|
+
}
|
@@ -0,0 +1,294 @@
|
|
1
|
+
//
|
2
|
+
// Variables
|
3
|
+
// --------------------------------------------------
|
4
|
+
|
5
|
+
// Global values
|
6
|
+
// --------------------------------------------------
|
7
|
+
|
8
|
+
//
|
9
|
+
// Color Swatches
|
10
|
+
// --------------------------------------------------
|
11
|
+
|
12
|
+
@turquoise: #1abc9c;
|
13
|
+
@green-sea: #16a085;
|
14
|
+
|
15
|
+
@emerald: #2ecc71;
|
16
|
+
@nephritis: #27ae60;
|
17
|
+
|
18
|
+
@peter-river: #3498db;
|
19
|
+
@belize-hole: #2980b9;
|
20
|
+
|
21
|
+
@amethyst: #9b59b6;
|
22
|
+
@wisteria: #8e44ad;
|
23
|
+
|
24
|
+
@wet-asphalt: #34495e;
|
25
|
+
@midnight-blue: #2c3e50;
|
26
|
+
|
27
|
+
@sun-flower: #f1c40f;
|
28
|
+
@orange: #f39c12;
|
29
|
+
|
30
|
+
@carrot: #e67e22;
|
31
|
+
@pumpkin: #d35400;
|
32
|
+
|
33
|
+
@alizarin: #e74c3c;
|
34
|
+
@pomegranate: #c0392b;
|
35
|
+
|
36
|
+
@clouds: #ecf0f1;
|
37
|
+
@silver: #bdc3c7;
|
38
|
+
|
39
|
+
@concrete: #95a5a6;
|
40
|
+
@asbestos: #7f8c8d;
|
41
|
+
|
42
|
+
// Grays
|
43
|
+
// -------------------------
|
44
|
+
|
45
|
+
@gray: @concrete;
|
46
|
+
@gray-light: @silver;
|
47
|
+
@inverse: white;
|
48
|
+
|
49
|
+
// Brand colors
|
50
|
+
// -------------------------
|
51
|
+
|
52
|
+
@brand-primary: @wet-asphalt;
|
53
|
+
@brand-secondary: @turquoise;
|
54
|
+
@brand-success: @emerald;
|
55
|
+
@brand-warning: @sun-flower;
|
56
|
+
@brand-danger: @alizarin;
|
57
|
+
@brand-info: @peter-river;
|
58
|
+
|
59
|
+
// Scaffolding
|
60
|
+
// -------------------------
|
61
|
+
|
62
|
+
@body-bg: #fff;
|
63
|
+
@text-color: @brand-primary;
|
64
|
+
|
65
|
+
// Links
|
66
|
+
// -------------------------
|
67
|
+
|
68
|
+
@link-color: @green-sea;
|
69
|
+
@link-hover-color: @turquoise;
|
70
|
+
|
71
|
+
// Typography
|
72
|
+
// -------------------------
|
73
|
+
|
74
|
+
@font-family-base: "Lato", Helvetica, Arial, sans-serif;
|
75
|
+
@font-family-demo: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
76
|
+
@font-family-monospace: Monaco, Menlo, Consolas, "Courier New", monospace;
|
77
|
+
@font-size-base: 18px;
|
78
|
+
|
79
|
+
@font-size-h1: floor(@font-size-base * 3.444); // ~62px
|
80
|
+
@font-size-h2: ceil(@font-size-base * 2.889); // ~52px
|
81
|
+
@font-size-h3: ceil(@font-size-base * 2.222); // ~40px
|
82
|
+
@font-size-h4: ceil(@font-size-base * 1.611); // ~29px
|
83
|
+
@font-size-h5: ceil(@font-size-base * 1.556); // ~28px
|
84
|
+
@font-size-h6: ceil(@font-size-base * 1.333); // ~24px
|
85
|
+
|
86
|
+
@line-height-base: 1.72222; // 31/18
|
87
|
+
@line-height-computed: floor(@font-size-base * @line-height-base); // ~31px
|
88
|
+
|
89
|
+
@headings-font-family: @font-family-base;
|
90
|
+
@headings-font-weight: 700;
|
91
|
+
@headings-line-height: 1.1;
|
92
|
+
@headings-color: inherit;
|
93
|
+
|
94
|
+
|
95
|
+
// Icons
|
96
|
+
@icon-normal: 16px;
|
97
|
+
@icon-medium: 18px;
|
98
|
+
@icon-large: 32px;
|
99
|
+
|
100
|
+
// Components
|
101
|
+
// -------------------------
|
102
|
+
|
103
|
+
@border-radius-base: 4px;
|
104
|
+
@border-radius-large: 6px;
|
105
|
+
@border-radius-small: 3px;
|
106
|
+
|
107
|
+
|
108
|
+
// COMPONENT VARIABLES
|
109
|
+
// --------------------------------------------------
|
110
|
+
|
111
|
+
@component-font-size-base: ceil(@font-size-base * 0.833); // ~15px
|
112
|
+
|
113
|
+
// Form controls
|
114
|
+
// -------------------------
|
115
|
+
@input-font-size-base: @component-font-size-base;
|
116
|
+
@input-font-size-sm: floor(@component-font-size-base * 0.867); // ~13px
|
117
|
+
@input-font-size-lg: ceil(@component-font-size-base * 1.133); // ~17px
|
118
|
+
@input-font-size-hg: floor(@component-font-size-base * 1.467); // ~22px
|
119
|
+
|
120
|
+
@input-icon-font-size: ceil(@component-font-size-base * 1.333); // ~20px
|
121
|
+
|
122
|
+
@input-bg: @inverse;
|
123
|
+
@input-bg-disabled: mix(@gray, white, 10%);
|
124
|
+
|
125
|
+
@input-height-small: 35px;
|
126
|
+
@input-height-base: 41px;
|
127
|
+
@input-height-large: 45px;
|
128
|
+
@input-height-huge: 53px;
|
129
|
+
|
130
|
+
@input-border-radius: @border-radius-large;
|
131
|
+
|
132
|
+
|
133
|
+
// Pagination
|
134
|
+
// -------------------------
|
135
|
+
|
136
|
+
@pagination-color: mix(@brand-primary, white, 20%);
|
137
|
+
|
138
|
+
|
139
|
+
// Pager
|
140
|
+
@pager-padding: 9px 15px 10px;
|
141
|
+
|
142
|
+
// Buttons
|
143
|
+
// -------------------------
|
144
|
+
|
145
|
+
@btn-font-size-base: @component-font-size-base;
|
146
|
+
@btn-font-size-xs: ceil(@component-font-size-base * 0.80); // ~12px
|
147
|
+
@btn-font-size-sm: floor(@component-font-size-base * 0.867); // ~13px
|
148
|
+
@btn-font-size-lg: ceil(@component-font-size-base * 1.133); // ~17px
|
149
|
+
@btn-font-size-hg: floor(@component-font-size-base * 1.467); // ~22px
|
150
|
+
|
151
|
+
@btn-line-height-base: 1.4; // ~21px
|
152
|
+
@btn-line-height-hg: 1.227; // ~27px
|
153
|
+
@btn-line-height-lg: 1.471; // ~25px
|
154
|
+
@btn-line-height-sm: 1.385; // ~16px
|
155
|
+
@btn-line-height-xs: 1.083; // ~13px
|
156
|
+
|
157
|
+
@btn-social-font-size-base: floor(@component-font-size-base * 0.867); // ~13px
|
158
|
+
@btn-social-line-height-base: 1.077; // ~14px
|
159
|
+
|
160
|
+
@btn-font-weight: normal;
|
161
|
+
|
162
|
+
@btn-default-color: @inverse;
|
163
|
+
@btn-default-bg: @gray-light;
|
164
|
+
@btn-hover-bg: mix(@gray-light, white, 80%);
|
165
|
+
@btn-active-bg: mix(@gray-light, black, 85%);
|
166
|
+
|
167
|
+
@btn-primary-hover-bg: mix(@brand-secondary, white, 80%);
|
168
|
+
@btn-primary-active-bg: mix(@brand-secondary, black, 85%);
|
169
|
+
|
170
|
+
@btn-info-hover-bg: mix(@brand-info, white, 80%);
|
171
|
+
@btn-info-active-bg: mix(@brand-info, black, 85%);
|
172
|
+
|
173
|
+
@btn-success-hover-bg: mix(@brand-success, white, 80%);
|
174
|
+
@btn-success-active-bg: mix(@brand-success, black, 85%);
|
175
|
+
|
176
|
+
@btn-danger-hover-bg: mix(@brand-danger, white, 80%);
|
177
|
+
@btn-danger-active-bg: mix(@brand-danger, black, 85%);
|
178
|
+
|
179
|
+
@btn-warning-hover-bg: overlay(@brand-warning, darken(white, 37.5%));
|
180
|
+
@btn-warning-active-bg: mix(@brand-warning, black, 85%);
|
181
|
+
|
182
|
+
@btn-inverse-hover-bg: overlay(@brand-primary, darken(white, 37.5%));
|
183
|
+
@btn-inverse-active-bg: mix(@brand-primary, black, 85%);
|
184
|
+
|
185
|
+
@btn-link-disabled-color: @gray-light;
|
186
|
+
|
187
|
+
// Navbar
|
188
|
+
// -------------------------
|
189
|
+
|
190
|
+
@navbar-link-space: 20px;
|
191
|
+
@navbar-sublink-space: 9px;
|
192
|
+
|
193
|
+
// Dropdown Menu
|
194
|
+
// -------------------------
|
195
|
+
|
196
|
+
@dropdown-background: mix(@inverse, @brand-primary, 94%);
|
197
|
+
|
198
|
+
// Iconbar
|
199
|
+
// -------------------------
|
200
|
+
|
201
|
+
@iconbar-background: mix(@brand-primary, black, 85%);
|
202
|
+
|
203
|
+
// Progress/slider
|
204
|
+
// -------------------------
|
205
|
+
|
206
|
+
@progress-height: 12px;
|
207
|
+
|
208
|
+
// Switch
|
209
|
+
// -------------------------
|
210
|
+
|
211
|
+
@switch-border-radius: 30px;
|
212
|
+
@switch-width: 80px;
|
213
|
+
|
214
|
+
// Media queries breakpoints
|
215
|
+
// --------------------------------------------------
|
216
|
+
|
217
|
+
// Extra small screen / phone
|
218
|
+
@screen-xs-min: 480px;
|
219
|
+
|
220
|
+
// Small screen / tablet
|
221
|
+
@screen-sm-min: 768px;
|
222
|
+
|
223
|
+
// Medium screen / desktop
|
224
|
+
@screen-md-min: 992px;
|
225
|
+
|
226
|
+
// Large screen / wide desktop
|
227
|
+
@screen-lg-min: 1200px;
|
228
|
+
|
229
|
+
// So media queries don't overlap when required, provide a maximum
|
230
|
+
@screen-xs-max: (@screen-sm-min - 1);
|
231
|
+
@screen-sm-max: (@screen-md-min - 1);
|
232
|
+
@screen-md-max: (@screen-lg-min - 1);
|
233
|
+
|
234
|
+
// Grid system
|
235
|
+
// --------------------------------------------------
|
236
|
+
|
237
|
+
// Number of columns in the grid system
|
238
|
+
@grid-columns: 12;
|
239
|
+
// Padding, to be divided by two and applied to the left and right of all columns
|
240
|
+
@grid-gutter-width: 30px;
|
241
|
+
// Point at which the navbar stops collapsing
|
242
|
+
@grid-float-breakpoint: @screen-sm-min;
|
243
|
+
|
244
|
+
|
245
|
+
// Form states and alerts
|
246
|
+
// -------------------------
|
247
|
+
|
248
|
+
@state-success-text: @brand-success;
|
249
|
+
@state-success-bg: #dff0d8;
|
250
|
+
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
|
251
|
+
|
252
|
+
@state-info-text: @brand-info;
|
253
|
+
@state-info-bg: #d9edf7;
|
254
|
+
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
|
255
|
+
|
256
|
+
@state-warning-text: @brand-warning;
|
257
|
+
@state-warning-bg: #fcf8e3;
|
258
|
+
@state-warning-border: darken(spin(@state-warning-bg, -10), 5%);
|
259
|
+
|
260
|
+
@state-danger-text: @brand-danger;
|
261
|
+
@state-danger-bg: #f2dede;
|
262
|
+
@state-danger-border: darken(spin(@state-danger-bg, -10), 5%);
|
263
|
+
|
264
|
+
// Code
|
265
|
+
// ------------------------
|
266
|
+
|
267
|
+
@code-color: #c7254e;
|
268
|
+
@code-bg: #f9f2f4;
|
269
|
+
|
270
|
+
@pre-bg: @inverse;
|
271
|
+
@pre-color: inherit;
|
272
|
+
@pre-border-color: mix(@brand-primary, @inverse, 12%);
|
273
|
+
@pre-scrollable-max-height: 340px;
|
274
|
+
@pre-border-radius: @border-radius-large;
|
275
|
+
|
276
|
+
|
277
|
+
// Type
|
278
|
+
// ------------------------
|
279
|
+
|
280
|
+
@text-muted: @gray-light;
|
281
|
+
@abbr-border-color: @gray-light;
|
282
|
+
@headings-small-color: mix(@brand-primary, @inverse, 12%);
|
283
|
+
@blockquote-small-color: inherit;
|
284
|
+
@blockquote-border-color: mix(@brand-primary, @inverse, 12%);
|
285
|
+
@page-header-border-color: mix(@brand-primary, @inverse, 12%);
|
286
|
+
|
287
|
+
// Miscellaneous
|
288
|
+
// -------------------------
|
289
|
+
|
290
|
+
// Hr border color
|
291
|
+
@hr-border: mix(@brand-primary, @inverse, 63%);
|
292
|
+
|
293
|
+
// Horizontal forms & lists
|
294
|
+
@component-offset-horizontal: 180px;
|