concisecss 0.0.5 → 2.0.0
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 +4 -4
- data/README.md +13 -8
- data/app/assets/javascripts/concisecss/dropdown.js +17 -8
- data/app/assets/javascripts/concisecss/naver.js +8 -8
- data/app/assets/javascripts/concisecss/navigation.js +5 -5
- data/app/assets/javascripts/concisecss/non-responsive.js +8 -8
- data/app/assets/stylesheets/base/_headings.scss +129 -119
- data/app/assets/stylesheets/base/_main.scss +15 -13
- data/app/assets/stylesheets/{generic → base}/_print.scss +38 -56
- data/app/assets/stylesheets/base/_selection.scss +15 -9
- data/app/assets/stylesheets/base/_type.scss +21 -19
- data/app/assets/stylesheets/{generic/_shared.scss → base/_vertical-rhythm.scss} +9 -10
- data/app/assets/stylesheets/components/_buttons.scss +174 -0
- data/app/assets/stylesheets/components/_colors.scss +25 -0
- data/app/assets/stylesheets/{objects → components}/_dropdowns.scss +67 -79
- data/app/assets/stylesheets/components/_navigation.scss +133 -0
- data/app/assets/stylesheets/concise.scss +31 -31
- data/app/assets/stylesheets/{generic → helpers}/_clearfix.scss +2 -6
- data/app/assets/stylesheets/helpers/_conditional.scss +128 -0
- data/app/assets/stylesheets/helpers/_functions.scss +32 -0
- data/app/assets/stylesheets/{generic/_helper.scss → helpers/_helpers.scss} +29 -38
- data/app/assets/stylesheets/helpers/_mixins.scss +315 -0
- data/app/assets/stylesheets/{generic → helpers}/_normalize.scss +35 -35
- data/app/assets/stylesheets/{_defaults.scss → helpers/_variables.scss} +68 -78
- data/app/assets/stylesheets/layout/_container.scss +17 -0
- data/app/assets/stylesheets/layout/_forms.scss +103 -0
- data/app/assets/stylesheets/layout/_grid.scss +71 -0
- data/app/assets/stylesheets/layout/_lists.scss +88 -0
- data/app/assets/stylesheets/layout/tables.scss +63 -0
- data/lib/concisecss/concisecss_source.rb +30 -40
- data/lib/concisecss/version.rb +1 -1
- metadata +21 -20
- data/app/assets/stylesheets/generic/_conditional.scss +0 -126
- data/app/assets/stylesheets/generic/_mixins.scss +0 -157
- data/app/assets/stylesheets/objects/_badges.scss +0 -53
- data/app/assets/stylesheets/objects/_breadcrumbs.scss +0 -35
- data/app/assets/stylesheets/objects/_buttons.scss +0 -287
- data/app/assets/stylesheets/objects/_colors.scss +0 -48
- data/app/assets/stylesheets/objects/_groups.scss +0 -102
- data/app/assets/stylesheets/objects/_navigation.scss +0 -382
- data/app/assets/stylesheets/objects/_progress.scss +0 -106
- data/app/assets/stylesheets/objects/_wells.scss +0 -103
@@ -0,0 +1,71 @@
|
|
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, official);
|
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
|
+
|
39
|
+
// Thanks to inuitcss (https://github.com/csswizardry/inuit.css) for the idea to
|
40
|
+
// abstract 'push' and 'pull' into their own mixins. This makes adding/removing
|
41
|
+
// them to projects absolutely painless.
|
42
|
+
@if $use-push == true {
|
43
|
+
[class*='push-'] { position: relative; }
|
44
|
+
|
45
|
+
@include push-pull-setup(push, $column-number);
|
46
|
+
}
|
47
|
+
|
48
|
+
|
49
|
+
// Pull
|
50
|
+
@if $use-pull == true {
|
51
|
+
[class*='pull-'] { position: relative; }
|
52
|
+
|
53
|
+
@include push-pull-setup(pull, $column-number);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
|
58
|
+
// Non-responsive grid
|
59
|
+
.non-responsive {
|
60
|
+
[class*='#{$column-prefix}'] {
|
61
|
+
float: left;
|
62
|
+
width: auto !important;
|
63
|
+
}
|
64
|
+
|
65
|
+
.gutters [class*='#{$column-prefix}'],
|
66
|
+
&.gutters [class*='#{$column-prefix}'] { margin-left: $gutters; }
|
67
|
+
|
68
|
+
.gutters [class*='#{$column-prefix}']:first-child,
|
69
|
+
&.gutters [class*='#{$column-prefix}']:first-child { margin-left: 0; }
|
70
|
+
}
|
71
|
+
}
|
@@ -0,0 +1,88 @@
|
|
1
|
+
@if $use-lists == true {
|
2
|
+
//------------------------------------
|
3
|
+
// LISTS
|
4
|
+
//------------------------------------
|
5
|
+
ul,
|
6
|
+
ol {
|
7
|
+
margin-left: 20px;
|
8
|
+
padding-left: 0px;
|
9
|
+
|
10
|
+
li {
|
11
|
+
line-height: 1.75em;
|
12
|
+
position: relative;
|
13
|
+
}
|
14
|
+
|
15
|
+
ul {
|
16
|
+
list-style-type: circle;
|
17
|
+
margin-bottom: auto;
|
18
|
+
|
19
|
+
ul { list-style-type: square; }
|
20
|
+
|
21
|
+
ol { list-style-type: lower-roman; }
|
22
|
+
|
23
|
+
@include breakpoint(small) {
|
24
|
+
& { margin-left: 20px; }
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
ol {
|
29
|
+
list-style-type: lower-latin;
|
30
|
+
margin-bottom: auto;
|
31
|
+
|
32
|
+
ol { list-style-type: lower-roman; }
|
33
|
+
|
34
|
+
ul { list-style-type: square; }
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
@if $use-list-styles == true {
|
40
|
+
// Unstyled
|
41
|
+
.list-unstyled {
|
42
|
+
margin-left: 0px;
|
43
|
+
list-style: none;
|
44
|
+
|
45
|
+
ul {
|
46
|
+
list-style: none;
|
47
|
+
|
48
|
+
ul { list-style: none; }
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
// Inline
|
54
|
+
.list-inline {
|
55
|
+
margin-left: 0px;
|
56
|
+
|
57
|
+
li {
|
58
|
+
border-bottom: none;
|
59
|
+
display: inline;
|
60
|
+
margin-right: 15px;
|
61
|
+
|
62
|
+
&:last-child { margin-right: 0px; }
|
63
|
+
|
64
|
+
@include breakpoint(small) {
|
65
|
+
& {
|
66
|
+
margin-right: 15px;
|
67
|
+
|
68
|
+
&:last-child { margin-right: 0px; }
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
@include breakpoint(medium) {
|
73
|
+
& {
|
74
|
+
margin-right: 30px;
|
75
|
+
|
76
|
+
&:last-child { margin-right: 0px; }
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
|
84
|
+
// Definition Lists
|
85
|
+
dt { font-weight: bold; }
|
86
|
+
|
87
|
+
dd { margin-left: 0px; }
|
88
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
@if $use-tables == true {
|
2
|
+
//------------------------------------
|
3
|
+
// TABLES
|
4
|
+
//------------------------------------
|
5
|
+
|
6
|
+
@if $use-table-styles == true {
|
7
|
+
table {
|
8
|
+
// Table styling
|
9
|
+
&.table {
|
10
|
+
empty-cells: show;
|
11
|
+
width: 100%;
|
12
|
+
|
13
|
+
caption {
|
14
|
+
color: #000;
|
15
|
+
font: italic 85%/1 arial, sans-serif;
|
16
|
+
padding: 1em 0;
|
17
|
+
text-align: center;
|
18
|
+
}
|
19
|
+
|
20
|
+
thead { border-bottom: 2px solid $object-ui-color; }
|
21
|
+
|
22
|
+
th,
|
23
|
+
td { padding: 12px 15px; }
|
24
|
+
|
25
|
+
td { border-top: 1px solid $object-ui-color; }
|
26
|
+
|
27
|
+
@include breakpoint(extra-small) {
|
28
|
+
& {
|
29
|
+
width: auto;
|
30
|
+
|
31
|
+
th,
|
32
|
+
td { padding: 10px 50px 10px 25px; }
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
&.table-full,
|
38
|
+
&.table.table-full { width: 100%; }
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
// Responsive tables
|
44
|
+
.table-responsive {
|
45
|
+
overflow: auto;
|
46
|
+
width: 100%;
|
47
|
+
|
48
|
+
table { margin-bottom: 0; }
|
49
|
+
|
50
|
+
&::-webkit-scrollbar {
|
51
|
+
height: 14px;
|
52
|
+
width: 14px;
|
53
|
+
|
54
|
+
-webkit-appearance: none;
|
55
|
+
}
|
56
|
+
|
57
|
+
&::-webkit-scrollbar-thumb {
|
58
|
+
background-color: rgba(50, 50, 50, 0.2);
|
59
|
+
border: 3px solid #fff;
|
60
|
+
border-radius: 8px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
}
|
@@ -12,56 +12,46 @@ class ConcisecssSource < Thor
|
|
12
12
|
self.destination_root = "app/assets"
|
13
13
|
remote = "https://github.com/ConciseCSS/concise.css"
|
14
14
|
get "#{remote}/raw/#{tag}/scss/concise.scss", "stylesheets/concise.scss"
|
15
|
-
get "#{remote}/raw/#{tag}/scss/
|
16
|
-
get "#{remote}/raw/#{tag}/scss/
|
17
|
-
get "#{remote}/raw/#{tag}/scss/
|
18
|
-
get "#{remote}/raw/#{tag}/scss/
|
19
|
-
get "#{remote}/raw/#{tag}/scss/
|
20
|
-
get "#{remote}/raw/#{tag}/scss/
|
21
|
-
get "#{remote}/raw/#{tag}/scss/
|
22
|
-
get "#{remote}/raw/#{tag}/scss/
|
23
|
-
get "#{remote}/raw/#{tag}/scss/
|
24
|
-
get "#{remote}/raw/#{tag}/scss/
|
25
|
-
get "#{remote}/raw/#{tag}/scss/
|
26
|
-
get "#{remote}/raw/#{tag}/scss/
|
27
|
-
get "#{remote}/raw/#{tag}/scss/
|
28
|
-
get "#{remote}/raw/#{tag}/scss/
|
29
|
-
get "#{remote}/raw/#{tag}/scss/
|
30
|
-
get "#{remote}/raw/#{tag}/scss/
|
31
|
-
get "#{remote}/raw/#{tag}/scss/generic/_shared.scss", "stylesheets/generic/_shared.scss"
|
32
|
-
get "#{remote}/raw/#{tag}/scss/base/_blockquotes.scss", "stylesheets/base/_blockquotes.scss"
|
33
|
-
get "#{remote}/raw/#{tag}/scss/base/_container.scss", "stylesheets/base/_container.scss"
|
34
|
-
get "#{remote}/raw/#{tag}/scss/base/_forms.scss", "stylesheets/base/_forms.scss"
|
35
|
-
get "#{remote}/raw/#{tag}/scss/base/_grid.scss", "stylesheets/base/_grid.scss"
|
15
|
+
get "#{remote}/raw/#{tag}/scss/layout/_tables.scss", "stylesheets/layout/tables.scss"
|
16
|
+
get "#{remote}/raw/#{tag}/scss/layout/_lists.scss", "stylesheets/layout/_lists.scss"
|
17
|
+
get "#{remote}/raw/#{tag}/scss/layout/_grid.scss", "stylesheets/layout/_grid.scss"
|
18
|
+
get "#{remote}/raw/#{tag}/scss/layout/_forms.scss", "stylesheets/layout/_forms.scss"
|
19
|
+
get "#{remote}/raw/#{tag}/scss/layout/_container.scss", "stylesheets/layout/_container.scss"
|
20
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_clearfix.scss", "stylesheets/helpers/_clearfix.scss"
|
21
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_conditional.scss", "stylesheets/helpers/_conditional.scss"
|
22
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_functions.scss", "stylesheets/helpers/_functions.scss"
|
23
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_helpers.scss", "stylesheets/helpers/_helpers.scss"
|
24
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_mixins.scss", "stylesheets/helpers/_mixins.scss"
|
25
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_normalize.scss", "stylesheets/helpers/_normalize.scss"
|
26
|
+
get "#{remote}/raw/#{tag}/scss/helpers/_variables.scss", "stylesheets/helpers/_variables.scss"
|
27
|
+
get "#{remote}/raw/#{tag}/scss/components/_buttons.scss", "stylesheets/components/_buttons.scss"
|
28
|
+
get "#{remote}/raw/#{tag}/scss/components/_colors.scss", "stylesheets/components/_colors.scss"
|
29
|
+
get "#{remote}/raw/#{tag}/scss/components/_dropdowns.scss", "stylesheets/components/_dropdowns.scss"
|
30
|
+
get "#{remote}/raw/#{tag}/scss/components/_navigation.scss", "stylesheets/components/_navigation.scss"
|
36
31
|
get "#{remote}/raw/#{tag}/scss/base/_headings.scss", "stylesheets/base/_headings.scss"
|
37
|
-
get "#{remote}/raw/#{tag}/scss/base/_lists.scss", "stylesheets/base/_lists.scss"
|
38
32
|
get "#{remote}/raw/#{tag}/scss/base/_main.scss", "stylesheets/base/_main.scss"
|
33
|
+
get "#{remote}/raw/#{tag}/scss/base/_print.scss", "stylesheets/base/_print.scss"
|
39
34
|
get "#{remote}/raw/#{tag}/scss/base/_selection.scss", "stylesheets/base/_selection.scss"
|
40
|
-
get "#{remote}/raw/#{tag}/scss/base/_tables.scss", "stylesheets/base/_tables.scss"
|
41
35
|
get "#{remote}/raw/#{tag}/scss/base/_type.scss", "stylesheets/base/_type.scss"
|
36
|
+
get "#{remote}/raw/#{tag}/scss/base/_vertical-rhythm.scss", "stylesheets/base/_vertical-rhythm.scss"
|
42
37
|
get "#{remote}/raw/#{tag}/js/non-responsive.js", "javascripts/concisecss/non-responsive.js"
|
43
38
|
get "#{remote}/raw/#{tag}/js/navigation.js", "javascripts/concisecss/navigation.js"
|
44
39
|
get "#{remote}/raw/#{tag}/js/naver.js", "javascripts/concisecss/naver.js"
|
45
40
|
get "#{remote}/raw/#{tag}/js/dropdown.js", "javascripts/concisecss/dropdown.js"
|
46
|
-
get "#{remote}/raw/#{tag}/js/close.js", "javascripts/concisecss/close.js"
|
47
41
|
end
|
48
42
|
|
49
43
|
private
|
50
44
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
end
|
56
|
-
def select msg, elements
|
57
|
-
elements.each_with_index do |element, index|
|
58
|
-
say(block_given? ? yield(element, index + 1) : ("#{index + 1}. #{element.to_s}"))
|
45
|
+
def fetch_tags
|
46
|
+
http = HTTPClient.new
|
47
|
+
response = JSON.parse(http.get("https://api.github.com/repos/ConciseCSS/concise.css/tags").body)
|
48
|
+
response.map{|tag| tag["name"]}.sort
|
59
49
|
end
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
end
|
50
|
+
def select msg, elements
|
51
|
+
elements.each_with_index do |element, index|
|
52
|
+
say(block_given? ? yield(element, index + 1) : ("#{index + 1}. #{element.to_s}"))
|
53
|
+
end
|
54
|
+
result = ask(msg).to_i
|
55
|
+
elements[result - 1]
|
56
|
+
end
|
57
|
+
end
|
data/lib/concisecss/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: concisecss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Sigidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,7 +94,6 @@ files:
|
|
94
94
|
- app/assets/javascripts/concisecss/naver.js
|
95
95
|
- app/assets/javascripts/concisecss/navigation.js
|
96
96
|
- app/assets/javascripts/concisecss/non-responsive.js
|
97
|
-
- app/assets/stylesheets/_defaults.scss
|
98
97
|
- app/assets/stylesheets/base/_blockquotes.scss
|
99
98
|
- app/assets/stylesheets/base/_container.scss
|
100
99
|
- app/assets/stylesheets/base/_forms.scss
|
@@ -102,26 +101,28 @@ files:
|
|
102
101
|
- app/assets/stylesheets/base/_headings.scss
|
103
102
|
- app/assets/stylesheets/base/_lists.scss
|
104
103
|
- app/assets/stylesheets/base/_main.scss
|
104
|
+
- app/assets/stylesheets/base/_print.scss
|
105
105
|
- app/assets/stylesheets/base/_selection.scss
|
106
106
|
- app/assets/stylesheets/base/_tables.scss
|
107
107
|
- app/assets/stylesheets/base/_type.scss
|
108
|
+
- app/assets/stylesheets/base/_vertical-rhythm.scss
|
109
|
+
- app/assets/stylesheets/components/_buttons.scss
|
110
|
+
- app/assets/stylesheets/components/_colors.scss
|
111
|
+
- app/assets/stylesheets/components/_dropdowns.scss
|
112
|
+
- app/assets/stylesheets/components/_navigation.scss
|
108
113
|
- app/assets/stylesheets/concise.scss
|
109
|
-
- app/assets/stylesheets/
|
110
|
-
- app/assets/stylesheets/
|
111
|
-
- app/assets/stylesheets/
|
112
|
-
- app/assets/stylesheets/
|
113
|
-
- app/assets/stylesheets/
|
114
|
-
- app/assets/stylesheets/
|
115
|
-
- app/assets/stylesheets/
|
116
|
-
- app/assets/stylesheets/
|
117
|
-
- app/assets/stylesheets/
|
118
|
-
- app/assets/stylesheets/
|
119
|
-
- app/assets/stylesheets/
|
120
|
-
- app/assets/stylesheets/
|
121
|
-
- app/assets/stylesheets/objects/_groups.scss
|
122
|
-
- app/assets/stylesheets/objects/_navigation.scss
|
123
|
-
- app/assets/stylesheets/objects/_progress.scss
|
124
|
-
- app/assets/stylesheets/objects/_wells.scss
|
114
|
+
- app/assets/stylesheets/helpers/_clearfix.scss
|
115
|
+
- app/assets/stylesheets/helpers/_conditional.scss
|
116
|
+
- app/assets/stylesheets/helpers/_functions.scss
|
117
|
+
- app/assets/stylesheets/helpers/_helpers.scss
|
118
|
+
- app/assets/stylesheets/helpers/_mixins.scss
|
119
|
+
- app/assets/stylesheets/helpers/_normalize.scss
|
120
|
+
- app/assets/stylesheets/helpers/_variables.scss
|
121
|
+
- app/assets/stylesheets/layout/_container.scss
|
122
|
+
- app/assets/stylesheets/layout/_forms.scss
|
123
|
+
- app/assets/stylesheets/layout/_grid.scss
|
124
|
+
- app/assets/stylesheets/layout/_lists.scss
|
125
|
+
- app/assets/stylesheets/layout/tables.scss
|
125
126
|
- concisecss.gemspec
|
126
127
|
- lib/concisecss.rb
|
127
128
|
- lib/concisecss/concisecss_source.rb
|
@@ -147,7 +148,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
148
|
version: '0'
|
148
149
|
requirements: []
|
149
150
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.
|
151
|
+
rubygems_version: 2.2.2
|
151
152
|
signing_key:
|
152
153
|
specification_version: 4
|
153
154
|
summary: Concise is built from the ground-up for mobile devices. This means it will
|
@@ -1,126 +0,0 @@
|
|
1
|
-
@if $use-conditional == true {
|
2
|
-
//------------------------------------
|
3
|
-
// CONDITIONAL
|
4
|
-
//------------------------------------
|
5
|
-
|
6
|
-
// Thanks to Bootstrap for having a good method of
|
7
|
-
// showing/hiding content via breakpoints
|
8
|
-
// (http://getbootstrap.com/css/#responsive-utilities)
|
9
|
-
.show-extra-small,
|
10
|
-
.hide-small,
|
11
|
-
.hide-medium,
|
12
|
-
.hide-large,
|
13
|
-
.hide-extra-large,
|
14
|
-
.hide-print,
|
15
|
-
.hide-hd {
|
16
|
-
display: block;
|
17
|
-
visibility: visible;
|
18
|
-
}
|
19
|
-
|
20
|
-
.hide-extra-small,
|
21
|
-
.show-small,
|
22
|
-
.show-medium,
|
23
|
-
.show-large,
|
24
|
-
.show-extra-large,
|
25
|
-
.show-print,
|
26
|
-
.show-hd {
|
27
|
-
display: none;
|
28
|
-
visibility: hidden;
|
29
|
-
}
|
30
|
-
|
31
|
-
@include breakpoint(small) {
|
32
|
-
.show-small,
|
33
|
-
.hide-extra-small,
|
34
|
-
.hide-medium,
|
35
|
-
.hide-large,
|
36
|
-
.hide-extra-large {
|
37
|
-
display: block;
|
38
|
-
visibility: visible;
|
39
|
-
}
|
40
|
-
|
41
|
-
.hide-small,
|
42
|
-
.show-extra-small,
|
43
|
-
.show-medium,
|
44
|
-
.show-large,
|
45
|
-
.show-extra-large {
|
46
|
-
display: none;
|
47
|
-
visibility: hidden;
|
48
|
-
}
|
49
|
-
}
|
50
|
-
|
51
|
-
@include breakpoint(medium) {
|
52
|
-
.show-medium,
|
53
|
-
.hide-small,
|
54
|
-
.hide-extra-small,
|
55
|
-
.hide-large,
|
56
|
-
.hide-extra-large {
|
57
|
-
display: block;
|
58
|
-
visibility: visible;
|
59
|
-
}
|
60
|
-
|
61
|
-
.hide-medium,
|
62
|
-
.show-small,
|
63
|
-
.show-extra-small,
|
64
|
-
.show-large,
|
65
|
-
.show-extra-large {
|
66
|
-
display: none;
|
67
|
-
visibility: hidden;
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
@include breakpoint(large) {
|
72
|
-
.show-large,
|
73
|
-
.hide-extra-small,
|
74
|
-
.hide-small,
|
75
|
-
.hide-medium,
|
76
|
-
.hide-extra-large {
|
77
|
-
display: block;
|
78
|
-
visibility: visible;
|
79
|
-
}
|
80
|
-
|
81
|
-
.hide-large,
|
82
|
-
.show-extra-small,
|
83
|
-
.show-small,
|
84
|
-
.show-medium,
|
85
|
-
.show-extra-large {
|
86
|
-
display: none;
|
87
|
-
visibility: hidden;
|
88
|
-
}
|
89
|
-
}
|
90
|
-
|
91
|
-
@include breakpoint(extra-large) {
|
92
|
-
.show-extra-large,
|
93
|
-
.hide-extra-small,
|
94
|
-
.hide-small,
|
95
|
-
.hide-medium,
|
96
|
-
.hide-large {
|
97
|
-
display: block;
|
98
|
-
visibility: visible;
|
99
|
-
}
|
100
|
-
|
101
|
-
.hide-extra-large,
|
102
|
-
.show-extra-small,
|
103
|
-
.show-small,
|
104
|
-
.show-medium,
|
105
|
-
.show-large {
|
106
|
-
display: none;
|
107
|
-
visibility: hidden;
|
108
|
-
}
|
109
|
-
}
|
110
|
-
|
111
|
-
// HiDPI and retina
|
112
|
-
@media only screen and (-moz-min-device-pixel-ratio: 1.5),
|
113
|
-
only screen and (-o-min-device-pixel-ratio: 3 / 2),
|
114
|
-
only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
115
|
-
only screen and (min-device-pixel-ratio: 1.5) {
|
116
|
-
.show-hd {
|
117
|
-
display: block;
|
118
|
-
visibility: visible;
|
119
|
-
}
|
120
|
-
|
121
|
-
.hide-hd {
|
122
|
-
display: none;
|
123
|
-
visibility: hidden;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
}
|