concisecss 0.0.1
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.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/Gemfile +4 -0
- data/LICENSE +26 -0
- data/README.md +44 -0
- data/Rakefile +8 -0
- data/app/assets/javascripts/concisecss/close.js +6 -0
- data/app/assets/javascripts/concisecss/dropdown.js +33 -0
- data/app/assets/javascripts/concisecss/naver.js +358 -0
- data/app/assets/javascripts/concisecss/navigation.js +23 -0
- data/app/assets/javascripts/concisecss/non-responsive.js +51 -0
- data/app/assets/javascripts/concisecss.js +1 -0
- data/app/assets/stylesheets/_defaults.scss +190 -0
- data/app/assets/stylesheets/base/_blockquotes.scss +36 -0
- data/app/assets/stylesheets/base/_container.scss +14 -0
- data/app/assets/stylesheets/base/_forms.scss +125 -0
- data/app/assets/stylesheets/base/_grid.scss +67 -0
- data/app/assets/stylesheets/base/_headings.scss +155 -0
- data/app/assets/stylesheets/base/_lists.scss +125 -0
- data/app/assets/stylesheets/base/_main.scss +29 -0
- data/app/assets/stylesheets/base/_selection.scss +21 -0
- data/app/assets/stylesheets/base/_tables.scss +83 -0
- data/app/assets/stylesheets/base/_type.scss +64 -0
- data/app/assets/stylesheets/concise.scss +104 -0
- data/app/assets/stylesheets/generic/_clearfix.scss +12 -0
- data/app/assets/stylesheets/generic/_conditional.scss +122 -0
- data/app/assets/stylesheets/generic/_debug.scss +98 -0
- data/app/assets/stylesheets/generic/_helper.scss +117 -0
- data/app/assets/stylesheets/generic/_mixins.scss +122 -0
- data/app/assets/stylesheets/generic/_normalize.scss +191 -0
- data/app/assets/stylesheets/generic/_print.scss +109 -0
- data/app/assets/stylesheets/generic/_shared.scss +37 -0
- data/app/assets/stylesheets/objects/_badges.scss +53 -0
- data/app/assets/stylesheets/objects/_breadcrumbs.scss +35 -0
- data/app/assets/stylesheets/objects/_buttons.scss +287 -0
- data/app/assets/stylesheets/objects/_colors.scss +45 -0
- data/app/assets/stylesheets/objects/_dropdowns.scss +167 -0
- data/app/assets/stylesheets/objects/_groups.scss +102 -0
- data/app/assets/stylesheets/objects/_navigation.scss +377 -0
- data/app/assets/stylesheets/objects/_progress.scss +102 -0
- data/app/assets/stylesheets/objects/_wells.scss +103 -0
- data/concisecss.gemspec +25 -0
- data/lib/concisecss/concisecss_source.rb +63 -0
- data/lib/concisecss/engine.rb +6 -0
- data/lib/concisecss/version.rb +3 -0
- data/lib/concisecss.rb +7 -0
- metadata +155 -0
@@ -0,0 +1,190 @@
|
|
1
|
+
//------------------------------------//
|
2
|
+
// $BORDER-BOX
|
3
|
+
//------------------------------------//
|
4
|
+
// Set to `false` if you do not wish to adopt
|
5
|
+
// global `box-sizing: border-box;`
|
6
|
+
$global-border-box: true !default;
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
//------------------------------------//
|
12
|
+
// $DEBUG
|
13
|
+
//------------------------------------//
|
14
|
+
// Enabling debug mode allows for potential issues
|
15
|
+
// to be visually displayed in the browser.
|
16
|
+
$debug-mode: false !default;
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
//------------------------------------//
|
22
|
+
// $BASE
|
23
|
+
//------------------------------------//
|
24
|
+
// Base font sizes and colors
|
25
|
+
$base-font-size: 16px !default;
|
26
|
+
$base-line-height: 24px !default;
|
27
|
+
$base-font-color: #333333 !default;
|
28
|
+
$base-link-color: #62b3e7 !default;
|
29
|
+
|
30
|
+
|
31
|
+
// Base font-family
|
32
|
+
$base-font-family: "Droid Sans", Helvetica, Arial, sans-serif !default;
|
33
|
+
|
34
|
+
|
35
|
+
// Element spacing and line-height ratio
|
36
|
+
$base-spacing-unit: $base-line-height !default;
|
37
|
+
$half-spacing-unit: $base-spacing-unit / 2 !default;
|
38
|
+
$line-height-ratio: $base-line-height / $base-font-size;
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
//------------------------------------//
|
44
|
+
// $RESPONSIVE
|
45
|
+
//------------------------------------//
|
46
|
+
// Breakpoints
|
47
|
+
$extra-small-start: 30em !default;
|
48
|
+
$small-start: 48em !default;
|
49
|
+
$medium-start: 60em !default;
|
50
|
+
$large-start: 70em !default;
|
51
|
+
$extra-large-start: 80em !default;
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
//------------------------------------//
|
57
|
+
// $FONT-SIZES
|
58
|
+
//------------------------------------//
|
59
|
+
// Font-sizes (in pixels)
|
60
|
+
$giga-size: 96px !default;
|
61
|
+
$mega-size: 72px !default;
|
62
|
+
$kilo-size: 64px !default;
|
63
|
+
|
64
|
+
$h1-size: 36px !default;
|
65
|
+
$h2-size: 30px !default;
|
66
|
+
$h3-size: 24px !default;
|
67
|
+
$h4-size: 20px !default;
|
68
|
+
$h5-size: 16px !default;
|
69
|
+
$h6-size: 14px !default;
|
70
|
+
|
71
|
+
$small-size: 12px !default;
|
72
|
+
$micro-size: 10px !default;
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
//------------------------------------//
|
78
|
+
// $COLORS
|
79
|
+
//------------------------------------//
|
80
|
+
// Background colors
|
81
|
+
$bg-white: #ffffff !default;
|
82
|
+
$bg-black: #222222 !default;
|
83
|
+
$bg-light-gray: #f9f9f9 !default;
|
84
|
+
$bg-gray: #999999 !default;
|
85
|
+
$bg-light-green: #dff0d8 !default;
|
86
|
+
$bg-green: #5cb85c !default;
|
87
|
+
$bg-light-blue: #d9edf7 !default;
|
88
|
+
$bg-blue: #5bc0de !default;
|
89
|
+
$bg-light-yellow: #fcf8e3 !default;
|
90
|
+
$bg-yellow: #ed9c28 !default;
|
91
|
+
$bg-light-red: #f2dede !default;
|
92
|
+
$bg-red: #d9534f !default;
|
93
|
+
|
94
|
+
|
95
|
+
// Type colors
|
96
|
+
$color-white: #ffffff !default;
|
97
|
+
$color-black: #222222 !default;
|
98
|
+
$color-gray: #999999 !default;
|
99
|
+
$color-green: #468847 !default;
|
100
|
+
$color-blue: #3a87ad !default;
|
101
|
+
$color-red: #d2322d !default;
|
102
|
+
$color-yellow: #c09853 !default;
|
103
|
+
|
104
|
+
|
105
|
+
// Selection colors
|
106
|
+
$selection-background: #666666 !default;
|
107
|
+
$selection-color: #ffffff !default;
|
108
|
+
|
109
|
+
|
110
|
+
// Form placeholder colors
|
111
|
+
$placeholder-color: #bbbbbb !default;
|
112
|
+
|
113
|
+
|
114
|
+
// Colors used for our objects' borders, etc
|
115
|
+
$object-ui-color: #ededed !default;
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
//------------------------------------//
|
121
|
+
// $OBJECTS
|
122
|
+
//------------------------------------//
|
123
|
+
// Gutter size
|
124
|
+
$gutters: 2% !default;
|
125
|
+
|
126
|
+
|
127
|
+
// Prefix for grid columns. By default columns
|
128
|
+
// are formatted as `.column-8`
|
129
|
+
$column-prefix: 'column-' !default;
|
130
|
+
|
131
|
+
|
132
|
+
// Dictate how many columns you would like your
|
133
|
+
// grid system to use. Default is 16.
|
134
|
+
$column-number: 16 !default;
|
135
|
+
|
136
|
+
|
137
|
+
// Border radius value for `.border-radius` class
|
138
|
+
$border-radius: 4px !default;
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
//------------------------------------//
|
144
|
+
// $INCLUDE
|
145
|
+
//------------------------------------//
|
146
|
+
// Set whatever components you want included
|
147
|
+
// in your project to `true` and any components
|
148
|
+
// you do not wish to be included to `false`
|
149
|
+
|
150
|
+
|
151
|
+
// Utility
|
152
|
+
$use-normalize: true !default;
|
153
|
+
$use-clearfix: true !default;
|
154
|
+
$use-shared: true !default;
|
155
|
+
|
156
|
+
|
157
|
+
// Base
|
158
|
+
$use-main: true !default;
|
159
|
+
$use-selection: true !default;
|
160
|
+
$use-container: true !default;
|
161
|
+
$use-typography: true !default;
|
162
|
+
$use-headings: true !default;
|
163
|
+
$use-blockquotes: true !default;
|
164
|
+
$use-lists: true !default;
|
165
|
+
$use-tables: true !default;
|
166
|
+
$use-forms: true !default;
|
167
|
+
$use-grid: true !default;
|
168
|
+
// Using push and pull classes for grid
|
169
|
+
// columns takes a lot of code. Set to
|
170
|
+
// `true` if needed.
|
171
|
+
$use-push: false !default;
|
172
|
+
$use-pull: false !default;
|
173
|
+
|
174
|
+
|
175
|
+
// Objects and abstractions
|
176
|
+
$use-colors: true !default;
|
177
|
+
$use-buttons: true !default;
|
178
|
+
$use-groups: true !default;
|
179
|
+
$use-dropdowns: true !default;
|
180
|
+
$use-navigation: true !default;
|
181
|
+
$use-breadcrumbs: true !default;
|
182
|
+
$use-wells: true !default;
|
183
|
+
$use-badges: true !default;
|
184
|
+
$use-progress: true !default;
|
185
|
+
|
186
|
+
|
187
|
+
// Helpers
|
188
|
+
$use-helper: true !default;
|
189
|
+
$use-conditional: true !default;
|
190
|
+
$use-print: true !default;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
@if $use-blockquotes == true {
|
2
|
+
//------------------------------------//
|
3
|
+
// $BLOCKQUOTES
|
4
|
+
//------------------------------------//
|
5
|
+
blockquote {
|
6
|
+
border-left: 1px solid #ddd;
|
7
|
+
color: #777;
|
8
|
+
font-style: italic;
|
9
|
+
margin: 1em 2em;
|
10
|
+
padding-left: 1em;
|
11
|
+
text-align: left;
|
12
|
+
|
13
|
+
cite {
|
14
|
+
color: #555;
|
15
|
+
display: block;
|
16
|
+
@include font-size(14px);
|
17
|
+
|
18
|
+
&:before { content: "\2014 \0020"; }
|
19
|
+
|
20
|
+
a {
|
21
|
+
color: #555;
|
22
|
+
|
23
|
+
&:visited { color: #555; }
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
// Reversed blockquote
|
29
|
+
&.blockquote-reverse {
|
30
|
+
border-left: none;
|
31
|
+
border-right: 1px solid #ddd;
|
32
|
+
padding: 0 1em 0 0;
|
33
|
+
text-align: right;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@if $use-container == true {
|
2
|
+
//------------------------------------//
|
3
|
+
// $CONTAINER
|
4
|
+
//------------------------------------//
|
5
|
+
.container { width: 90%; }
|
6
|
+
|
7
|
+
@include breakpoint(small) { .container { width: 620px; } }
|
8
|
+
|
9
|
+
@include breakpoint(medium) { .container { width: 768px; } }
|
10
|
+
|
11
|
+
@include breakpoint(large) { .container { width: 960px; } }
|
12
|
+
|
13
|
+
@include breakpoint(extra-large) { .container { width: 1140px; } }
|
14
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
@if $use-forms == true {
|
2
|
+
//------------------------------------//
|
3
|
+
// $FORMS
|
4
|
+
//------------------------------------//
|
5
|
+
label { display: block; }
|
6
|
+
|
7
|
+
input,
|
8
|
+
select,
|
9
|
+
textarea {
|
10
|
+
border: 1px solid #ddd;
|
11
|
+
height: 37px;
|
12
|
+
padding: 5px;
|
13
|
+
width: 100%;
|
14
|
+
|
15
|
+
@include vendor(box-sizing, border-box);
|
16
|
+
}
|
17
|
+
|
18
|
+
@include breakpoint(extra-small) {
|
19
|
+
input,
|
20
|
+
select,
|
21
|
+
textarea { width: 90%; }
|
22
|
+
}
|
23
|
+
|
24
|
+
@include breakpoint(small) {
|
25
|
+
input,
|
26
|
+
select { width: 300px; }
|
27
|
+
}
|
28
|
+
|
29
|
+
input:focus,
|
30
|
+
select:focus,
|
31
|
+
textarea:focus,
|
32
|
+
button:focus,
|
33
|
+
[contenteditable="true"]:focus {
|
34
|
+
outline: none;
|
35
|
+
outline: thin dotted \9;
|
36
|
+
}
|
37
|
+
|
38
|
+
textarea { height: auto; }
|
39
|
+
|
40
|
+
input {
|
41
|
+
&[type="checkbox"],
|
42
|
+
&[type="file"],
|
43
|
+
&[type="image"],
|
44
|
+
&[type="radio"] {
|
45
|
+
background: auto !important;
|
46
|
+
border: auto !important;
|
47
|
+
height: auto !important;
|
48
|
+
width: auto !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
&[disabled] {
|
52
|
+
cursor: not-allowed;
|
53
|
+
background-color: #f6f6f6;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
@include breakpoint(small) {
|
58
|
+
input[type="submit"] { width: auto; }
|
59
|
+
|
60
|
+
textarea { width: 400px; }
|
61
|
+
}
|
62
|
+
|
63
|
+
select[disabled],
|
64
|
+
textarea[disabled] { background-color: #f6f6f6; }
|
65
|
+
|
66
|
+
fieldset {
|
67
|
+
border: 1px solid #ededed;
|
68
|
+
padding: 10px 25px;
|
69
|
+
|
70
|
+
legend {
|
71
|
+
font-weight: bold;
|
72
|
+
@include font-size(13px);
|
73
|
+
padding: 0 10px;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
// Validation
|
79
|
+
input.required:required:valid,
|
80
|
+
textarea.required:required:valid { border-color: #2ecc71; }
|
81
|
+
|
82
|
+
input.required:focus:invalid,
|
83
|
+
textarea.required:focus:invalid { border-color: #e74c3c; }
|
84
|
+
|
85
|
+
|
86
|
+
// Block-level form items
|
87
|
+
.form-item {
|
88
|
+
display: block;
|
89
|
+
padding: 14px 0;
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
// Rounded corners
|
94
|
+
form.border-radius {
|
95
|
+
input,
|
96
|
+
select,
|
97
|
+
textarea,
|
98
|
+
fieldset { border-radius: $border-radius; }
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
// Inline Form
|
103
|
+
.form-inline label { width: auto; }
|
104
|
+
|
105
|
+
@include breakpoint(small) {
|
106
|
+
.form-inline {
|
107
|
+
label {
|
108
|
+
display: inline-block;
|
109
|
+
width: 100px;
|
110
|
+
}
|
111
|
+
|
112
|
+
textarea { width: auto; }
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
|
117
|
+
// Placeholder text
|
118
|
+
::-webkit-input-placeholder { color: $placeholder-color; }
|
119
|
+
|
120
|
+
:-ms-input-placeholder { color: $placeholder-color; }
|
121
|
+
|
122
|
+
::-moz-placeholder { color: $placeholder-color; }
|
123
|
+
|
124
|
+
:-moz-placeholder { color: $placeholder-color; }
|
125
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
@if $use-grid == true {
|
2
|
+
//------------------------------------//
|
3
|
+
// $GRID
|
4
|
+
//------------------------------------//
|
5
|
+
.row {
|
6
|
+
width: 100%;
|
7
|
+
|
8
|
+
&:after {
|
9
|
+
clear: both;
|
10
|
+
content: " ";
|
11
|
+
display: table;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
[class*='#{$column-prefix}'] {
|
16
|
+
@include vendor(background-clip, padding-box !important);
|
17
|
+
|
18
|
+
&.right { float: right; }
|
19
|
+
|
20
|
+
img { max-width: 100%; }
|
21
|
+
}
|
22
|
+
|
23
|
+
@include breakpoint(small) {
|
24
|
+
[class*='#{$column-prefix}'] { float: left; }
|
25
|
+
|
26
|
+
.gutters [class*='#{$column-prefix}'] {
|
27
|
+
margin-left: $gutters;
|
28
|
+
|
29
|
+
&:first-child { margin-left: 0; }
|
30
|
+
}
|
31
|
+
|
32
|
+
|
33
|
+
// Row columns
|
34
|
+
@include grid-setup();
|
35
|
+
|
36
|
+
|
37
|
+
// Push
|
38
|
+
@if $use-push == true {
|
39
|
+
[class*='push-'] { position: relative; }
|
40
|
+
|
41
|
+
@include push-setup();
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
// Pull
|
46
|
+
@if $use-pull == true {
|
47
|
+
[class*='pull-'] { position: relative; }
|
48
|
+
|
49
|
+
@include pull-setup();
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
// Non-responsive grid
|
55
|
+
.non-responsive {
|
56
|
+
[class*='#{$column-prefix}'] {
|
57
|
+
float: left;
|
58
|
+
width: auto !important;
|
59
|
+
}
|
60
|
+
|
61
|
+
.gutters [class*='#{$column-prefix}'],
|
62
|
+
&.gutters [class*='#{$column-prefix}'] { margin-left: $gutters; }
|
63
|
+
|
64
|
+
.gutters [class*='#{$column-prefix}']:first-child,
|
65
|
+
&.gutters [class*='#{$column-prefix}']:first-child { margin-left: 0; }
|
66
|
+
}
|
67
|
+
}
|
@@ -0,0 +1,155 @@
|
|
1
|
+
@if $use-headings == true {
|
2
|
+
//------------------------------------//
|
3
|
+
// $HEADINGS
|
4
|
+
//------------------------------------//
|
5
|
+
h1, h2, h3, h4, h5, h6,
|
6
|
+
.h1, .h2, .h3, .h4, .h5, .h6,
|
7
|
+
.giga, .mega, .kilo {
|
8
|
+
color: #181818;
|
9
|
+
font-weight: normal;
|
10
|
+
text-rendering: optimizeLegibility;
|
11
|
+
}
|
12
|
+
|
13
|
+
h1, .h1 {
|
14
|
+
@include font-size(24px);
|
15
|
+
}
|
16
|
+
|
17
|
+
h2, .h2 {
|
18
|
+
@include font-size(20px);
|
19
|
+
}
|
20
|
+
|
21
|
+
h3, .h3 {
|
22
|
+
@include font-size(18px);
|
23
|
+
}
|
24
|
+
|
25
|
+
h4, .h4 {
|
26
|
+
@include font-size(16px);
|
27
|
+
}
|
28
|
+
|
29
|
+
h5, .h5 {
|
30
|
+
@include font-size(14px);
|
31
|
+
}
|
32
|
+
|
33
|
+
h6, .h6 {
|
34
|
+
@include font-size(12px);
|
35
|
+
}
|
36
|
+
|
37
|
+
@include breakpoint(small) {
|
38
|
+
h1, .h1 {
|
39
|
+
@include font-size(32px);
|
40
|
+
}
|
41
|
+
|
42
|
+
h2, .h2 {
|
43
|
+
@include font-size(24px);
|
44
|
+
}
|
45
|
+
|
46
|
+
h3, .h3 {
|
47
|
+
@include font-size(20px);
|
48
|
+
}
|
49
|
+
|
50
|
+
h4, .h4 {
|
51
|
+
@include font-size(18px);
|
52
|
+
}
|
53
|
+
|
54
|
+
h5, .h5 {
|
55
|
+
@include font-size(16px);
|
56
|
+
}
|
57
|
+
|
58
|
+
h6, .h6 {
|
59
|
+
@include font-size(14px);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
@include breakpoint(medium) {
|
64
|
+
h1, .h1 {
|
65
|
+
@include font-size($h1-size);
|
66
|
+
}
|
67
|
+
|
68
|
+
h2, .h2 {
|
69
|
+
@include font-size($h2-size);
|
70
|
+
}
|
71
|
+
|
72
|
+
h3, .h3 {
|
73
|
+
@include font-size($h3-size);
|
74
|
+
}
|
75
|
+
|
76
|
+
h4, .h4 {
|
77
|
+
@include font-size($h4-size);
|
78
|
+
}
|
79
|
+
|
80
|
+
h5, .h5 {
|
81
|
+
@include font-size($h5-size);
|
82
|
+
}
|
83
|
+
|
84
|
+
h6, .h6 {
|
85
|
+
@include font-size($h6-size);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
|
90
|
+
.h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a,
|
91
|
+
.giga a, .mega a, .kilo a { font-weight: inherit; }
|
92
|
+
|
93
|
+
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small,
|
94
|
+
.h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small,
|
95
|
+
.giga small, .mega small, .kilo small {
|
96
|
+
font-size: 65% !important;
|
97
|
+
line-height: 1;
|
98
|
+
}
|
99
|
+
|
100
|
+
|
101
|
+
// Extra-large heading classes
|
102
|
+
.giga {
|
103
|
+
@include font-size(48px);
|
104
|
+
}
|
105
|
+
|
106
|
+
.mega {
|
107
|
+
@include font-size(40px);
|
108
|
+
}
|
109
|
+
|
110
|
+
.kilo {
|
111
|
+
@include font-size(32px);
|
112
|
+
}
|
113
|
+
|
114
|
+
@include breakpoint(small) {
|
115
|
+
.giga {
|
116
|
+
@include font-size(64px);
|
117
|
+
}
|
118
|
+
|
119
|
+
.mega {
|
120
|
+
@include font-size(48px);
|
121
|
+
}
|
122
|
+
|
123
|
+
.kilo {
|
124
|
+
@include font-size(32px);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
@include breakpoint(large) {
|
129
|
+
.giga {
|
130
|
+
@include font-size(80px);
|
131
|
+
}
|
132
|
+
|
133
|
+
.mega {
|
134
|
+
@include font-size(64px);
|
135
|
+
}
|
136
|
+
|
137
|
+
.kilo {
|
138
|
+
@include font-size(48px);
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
@include breakpoint(extra-large) {
|
143
|
+
.giga {
|
144
|
+
@include font-size($giga-size);
|
145
|
+
}
|
146
|
+
|
147
|
+
.mega {
|
148
|
+
@include font-size($mega-size);
|
149
|
+
}
|
150
|
+
|
151
|
+
.kilo {
|
152
|
+
@include font-size($kilo-size);
|
153
|
+
}
|
154
|
+
}
|
155
|
+
}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
@if $use-lists == true {
|
2
|
+
//------------------------------------//
|
3
|
+
// $LISTS
|
4
|
+
//------------------------------------//
|
5
|
+
ul {
|
6
|
+
margin-left: 20px;
|
7
|
+
padding-left: 0px;
|
8
|
+
}
|
9
|
+
|
10
|
+
ol {
|
11
|
+
margin-left: 0px;
|
12
|
+
padding-left: 20px;
|
13
|
+
}
|
14
|
+
|
15
|
+
ul li,
|
16
|
+
ol li {
|
17
|
+
line-height: 1.75em;
|
18
|
+
position: relative;
|
19
|
+
}
|
20
|
+
|
21
|
+
ul ul {
|
22
|
+
list-style-type: circle;
|
23
|
+
margin-bottom: auto;
|
24
|
+
|
25
|
+
ul { list-style-type: square; }
|
26
|
+
}
|
27
|
+
|
28
|
+
ol ol {
|
29
|
+
list-style-type: lower-latin;
|
30
|
+
margin-bottom: auto;
|
31
|
+
|
32
|
+
ol { list-style-type: lower-roman; }
|
33
|
+
}
|
34
|
+
|
35
|
+
@include breakpoint(small) { ul li ul { margin-left: 20px; } }
|
36
|
+
|
37
|
+
|
38
|
+
// Unstyled
|
39
|
+
.list-unstyled {
|
40
|
+
margin-left: 0px;
|
41
|
+
list-style: none;
|
42
|
+
|
43
|
+
li ul {
|
44
|
+
list-style: none;
|
45
|
+
|
46
|
+
li ul { list-style: none; }
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
|
51
|
+
// Line
|
52
|
+
.list-line li {
|
53
|
+
border-bottom: 1px solid #eee;
|
54
|
+
padding: 5px 0;
|
55
|
+
|
56
|
+
&:last-child,
|
57
|
+
li { border-bottom: none; }
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
// Inline
|
62
|
+
.list-inline {
|
63
|
+
display: block;
|
64
|
+
margin-left: 0px;
|
65
|
+
|
66
|
+
li {
|
67
|
+
border-bottom: none;
|
68
|
+
|
69
|
+
&:last-child { margin-right: 0px; }
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
@include breakpoint(extra-small) {
|
74
|
+
.list-inline li {
|
75
|
+
display: inline;
|
76
|
+
margin-right: 25px;
|
77
|
+
|
78
|
+
&:last-child { margin-right: 0px; }
|
79
|
+
}
|
80
|
+
|
81
|
+
.list-line.list-inline li {
|
82
|
+
margin-right: 15px;
|
83
|
+
|
84
|
+
&:after {
|
85
|
+
color: #e6e8ea;
|
86
|
+
content: "|";
|
87
|
+
margin-left: 15px;
|
88
|
+
}
|
89
|
+
|
90
|
+
&:last-child:after { content: ""; }
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
// Fills
|
96
|
+
.list-fill-even li,
|
97
|
+
.list-fill-odd li { padding-left: 5px; }
|
98
|
+
|
99
|
+
.list-fill-even li:nth-child(even),
|
100
|
+
.list-fill-odd li:nth-child(odd) { background-color: #f9f9f9; }
|
101
|
+
|
102
|
+
|
103
|
+
// Definition Lists
|
104
|
+
dt { font-weight: bold; }
|
105
|
+
|
106
|
+
dd { margin-left: 0px; }
|
107
|
+
|
108
|
+
@include breakpoint(small) {
|
109
|
+
dl.dl-horizontal {
|
110
|
+
overflow: hidden;
|
111
|
+
> {
|
112
|
+
dt {
|
113
|
+
width: 160px;
|
114
|
+
float: left;
|
115
|
+
clear: both;
|
116
|
+
overflow: hidden;
|
117
|
+
text-overflow: ellipsis;
|
118
|
+
white-space: nowrap;
|
119
|
+
}
|
120
|
+
|
121
|
+
dd { margin-left: 180px; }
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|