shibori 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shibori/version.rb +1 -1
- data/source/css/shibori/scss/page-elements/_navigation.scss +4 -249
- data/source/css/shibori/scss/page-elements/navigation/_breadcrumbs.scss +37 -0
- data/source/css/shibori/scss/page-elements/navigation/_list-nav.scss +51 -0
- data/source/css/shibori/scss/page-elements/navigation/_subnav-page.scss +59 -0
- data/source/css/shibori/scss/page-elements/navigation/_tabs.scss +99 -0
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b2cb52764802214a2cbce2bfd8d6723cc63f379
|
4
|
+
data.tar.gz: dcbc00aa4d87aac72f88bfaae3dea8ab011089d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b17ebd8dded8fc134c36ff301c2806e02610eb2d0fd563148945b6390a4a7eae58a0c90fc995858a4c3a1a9afc49b8c0d3a12f4fb0b1a3e8951d2e576ac4600e
|
7
|
+
data.tar.gz: 4741542a354301210ef723fd76dc73923cfc72bb4e844215028395aeeb2a309d03da592cfa3567c74ab7f54e61a46911b49140bf403e9606cd113fe4bbed6874
|
data/lib/shibori/version.rb
CHANGED
@@ -14,252 +14,7 @@ nav {
|
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
@include clearfix();
|
22
|
-
|
23
|
-
.btn {
|
24
|
-
margin: $pad !important;
|
25
|
-
}
|
26
|
-
|
27
|
-
nav > ul {
|
28
|
-
float: left;
|
29
|
-
|
30
|
-
li {
|
31
|
-
display: inline-block;
|
32
|
-
font-size: $font-lg;
|
33
|
-
}
|
34
|
-
|
35
|
-
a {
|
36
|
-
display: block;
|
37
|
-
padding: $pad*1.25;
|
38
|
-
margin-top: 3px; // adjust for bottom border
|
39
|
-
text-decoration: none;
|
40
|
-
color: fade-out($purple, .4);
|
41
|
-
border-bottom: 3px solid fade-out($purple, 1);
|
42
|
-
@include transition(all $transition);
|
43
|
-
|
44
|
-
[class^="hk-icon"] {
|
45
|
-
margin-bottom: -7px;
|
46
|
-
margin-right: $pad;
|
47
|
-
top: -2px;
|
48
|
-
font-weight: normal;
|
49
|
-
font-size: $font-lg;
|
50
|
-
}
|
51
|
-
|
52
|
-
&.active {
|
53
|
-
color: $purple;
|
54
|
-
border-color: $purple;
|
55
|
-
}
|
56
|
-
|
57
|
-
&:hover {
|
58
|
-
color: $purple;
|
59
|
-
}
|
60
|
-
|
61
|
-
&:active,
|
62
|
-
&:focus {
|
63
|
-
outline: none;
|
64
|
-
}
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
.btn {
|
69
|
-
margin: ($pad-lg - 1) 0;
|
70
|
-
|
71
|
-
@include media($tablet) {
|
72
|
-
display: none;
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
|
77
|
-
//- List nav
|
78
|
-
.list-nav {
|
79
|
-
|
80
|
-
ul {
|
81
|
-
list-style-type: none;
|
82
|
-
padding: 0;
|
83
|
-
}
|
84
|
-
|
85
|
-
li {
|
86
|
-
margin-bottom: $pad-sm;
|
87
|
-
|
88
|
-
a {
|
89
|
-
text-decoration: none;
|
90
|
-
padding-left: 0;
|
91
|
-
color: $text-color-light;
|
92
|
-
@include transition(.2s $ease-out-expo);
|
93
|
-
|
94
|
-
&:hover {
|
95
|
-
color: $text-color;
|
96
|
-
}
|
97
|
-
}
|
98
|
-
|
99
|
-
&.active a {
|
100
|
-
color: $purple;
|
101
|
-
|
102
|
-
&.action {
|
103
|
-
padding-left: $pad;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
}
|
107
|
-
|
108
|
-
&-sm {
|
109
|
-
font-size: $font-sm;
|
110
|
-
|
111
|
-
h5 {
|
112
|
-
margin-bottom: $pad;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
&.slide-action {
|
117
|
-
li {
|
118
|
-
a:hover {
|
119
|
-
padding-left: $pad;
|
120
|
-
}
|
121
|
-
|
122
|
-
&.active a {
|
123
|
-
padding-left: $pad;
|
124
|
-
}
|
125
|
-
}
|
126
|
-
}
|
127
|
-
}
|
128
|
-
|
129
|
-
//- Breadcrumbs
|
130
|
-
.breadcrumbs {
|
131
|
-
padding: $pad-lg 0;
|
132
|
-
font-size: $font-base;
|
133
|
-
font-weight: $font-bold;
|
134
|
-
background: $off-white;
|
135
|
-
color: fade-out($text-color-light, .5);
|
136
|
-
@include clearfix();
|
137
|
-
|
138
|
-
&.breadcrumbs-sm {
|
139
|
-
font-size: $font-xs;
|
140
|
-
}
|
141
|
-
|
142
|
-
nav {
|
143
|
-
float: left;
|
144
|
-
}
|
145
|
-
|
146
|
-
ul {
|
147
|
-
@extend %list-unstyled;
|
148
|
-
@extend %list-inline;
|
149
|
-
}
|
150
|
-
|
151
|
-
li:last-child a {
|
152
|
-
color: $text-color;
|
153
|
-
font-weight: $font-bold;
|
154
|
-
}
|
155
|
-
|
156
|
-
a {
|
157
|
-
text-decoration: none;
|
158
|
-
font-weight: $font-normal;
|
159
|
-
color: $text-color-light;
|
160
|
-
|
161
|
-
&:hover {
|
162
|
-
color: $purple;
|
163
|
-
}
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
//-Tabs
|
168
|
-
.tabs {
|
169
|
-
@include clearfix();
|
170
|
-
|
171
|
-
.tab {
|
172
|
-
display: inline;
|
173
|
-
}
|
174
|
-
|
175
|
-
[type="radio"] {
|
176
|
-
clip: rect(0 0 0 0);
|
177
|
-
height: 1px;
|
178
|
-
opacity: 0;
|
179
|
-
position: fixed;
|
180
|
-
width: 1px;
|
181
|
-
z-index: $z-background;
|
182
|
-
|
183
|
-
&:checked + .tab-label {
|
184
|
-
font-weight: bold;
|
185
|
-
color: $purple;
|
186
|
-
z-index: 1;
|
187
|
-
}
|
188
|
-
|
189
|
-
&:checked ~ .tab-panel {
|
190
|
-
display: inline;
|
191
|
-
}
|
192
|
-
}
|
193
|
-
|
194
|
-
.tab-label {
|
195
|
-
display: inline-block;
|
196
|
-
font-size: $font-sm;
|
197
|
-
position: relative;
|
198
|
-
vertical-align: bottom;
|
199
|
-
cursor: pointer;
|
200
|
-
}
|
201
|
-
|
202
|
-
.tab-panel {
|
203
|
-
display: inline;
|
204
|
-
display: inline-block;
|
205
|
-
overflow: hidden;
|
206
|
-
position: relative;
|
207
|
-
height: 0;
|
208
|
-
width: 0;
|
209
|
-
}
|
210
|
-
|
211
|
-
.tab-content {
|
212
|
-
display: block;
|
213
|
-
float: left;
|
214
|
-
font-size: 1em;
|
215
|
-
width: 100%;
|
216
|
-
}
|
217
|
-
}
|
218
|
-
|
219
|
-
//- Tabs themes
|
220
|
-
|
221
|
-
.tabs {
|
222
|
-
|
223
|
-
//- Basic
|
224
|
-
&.tabs-basic {
|
225
|
-
|
226
|
-
.tab-label {
|
227
|
-
border: $border;
|
228
|
-
padding: $pad $pad-lg;
|
229
|
-
margin: $pad-lg 0;
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
//- Terminal style
|
234
|
-
&.tabs-terminal {
|
235
|
-
background: darken($purple, 20%);
|
236
|
-
|
237
|
-
.tab-label-active {
|
238
|
-
background: #EAE9F1;
|
239
|
-
color: #222;
|
240
|
-
font-weight: normal;
|
241
|
-
border-right: 0;
|
242
|
-
border-radius: 0 0 $border-radius $border-radius;
|
243
|
-
border-top: 1px solid fade-out(black, .8);
|
244
|
-
}
|
245
|
-
|
246
|
-
.tab-label {
|
247
|
-
padding: 8px 13px;
|
248
|
-
border-right: 1px solid fade-out($black, .8);
|
249
|
-
font-weight: normal;
|
250
|
-
font-size: 16px;
|
251
|
-
color: $white;
|
252
|
-
color: fade-out($white, .2);
|
253
|
-
|
254
|
-
&.active {
|
255
|
-
@extend .tab-label-active;
|
256
|
-
}
|
257
|
-
}
|
258
|
-
|
259
|
-
[type="radio"]:checked {
|
260
|
-
+ .tab-label {
|
261
|
-
@extend .tab-label-active;
|
262
|
-
}
|
263
|
-
}
|
264
|
-
}
|
265
|
-
}
|
17
|
+
@import "navigation/subnav-page";
|
18
|
+
@import "navigation/list-nav";
|
19
|
+
@import "navigation/breadcrumbs";
|
20
|
+
@import "navigation/tabs";
|
@@ -0,0 +1,37 @@
|
|
1
|
+
//- Breadcrumbs
|
2
|
+
.breadcrumbs {
|
3
|
+
padding: $pad-lg 0;
|
4
|
+
font-size: $font-base;
|
5
|
+
font-weight: $font-bold;
|
6
|
+
background: $off-white;
|
7
|
+
color: fade-out($text-color-light, .5);
|
8
|
+
@include clearfix();
|
9
|
+
|
10
|
+
&.breadcrumbs-sm {
|
11
|
+
font-size: $font-xs;
|
12
|
+
}
|
13
|
+
|
14
|
+
nav {
|
15
|
+
float: left;
|
16
|
+
}
|
17
|
+
|
18
|
+
ul {
|
19
|
+
@extend %list-unstyled;
|
20
|
+
@extend %list-inline;
|
21
|
+
}
|
22
|
+
|
23
|
+
li:last-child a {
|
24
|
+
color: $text-color;
|
25
|
+
font-weight: $font-bold;
|
26
|
+
}
|
27
|
+
|
28
|
+
a {
|
29
|
+
text-decoration: none;
|
30
|
+
font-weight: $font-normal;
|
31
|
+
color: $text-color-light;
|
32
|
+
|
33
|
+
&:hover {
|
34
|
+
color: $purple;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
//- List nav
|
2
|
+
.list-nav {
|
3
|
+
|
4
|
+
ul {
|
5
|
+
list-style-type: none;
|
6
|
+
padding: 0;
|
7
|
+
}
|
8
|
+
|
9
|
+
li {
|
10
|
+
margin-bottom: $pad-sm;
|
11
|
+
|
12
|
+
a {
|
13
|
+
text-decoration: none;
|
14
|
+
padding-left: 0;
|
15
|
+
color: $text-color-light;
|
16
|
+
@include transition(.2s $ease-out-expo);
|
17
|
+
|
18
|
+
&:hover {
|
19
|
+
color: $text-color;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
&.active a {
|
24
|
+
color: $purple;
|
25
|
+
|
26
|
+
&.action {
|
27
|
+
padding-left: $pad;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&-sm {
|
33
|
+
font-size: $font-sm;
|
34
|
+
|
35
|
+
h5 {
|
36
|
+
margin-bottom: $pad;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
&.slide-action {
|
41
|
+
li {
|
42
|
+
a:hover {
|
43
|
+
padding-left: $pad;
|
44
|
+
}
|
45
|
+
|
46
|
+
&.active a {
|
47
|
+
padding-left: $pad;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
//- Horizontal ribbon subnav for page
|
2
|
+
.page-subnav {
|
3
|
+
position: relative;
|
4
|
+
background-color: $gray-lighter;
|
5
|
+
@include clearfix();
|
6
|
+
|
7
|
+
.btn {
|
8
|
+
margin: $pad !important;
|
9
|
+
}
|
10
|
+
|
11
|
+
nav > ul {
|
12
|
+
float: left;
|
13
|
+
|
14
|
+
li {
|
15
|
+
display: inline-block;
|
16
|
+
font-size: $font-lg;
|
17
|
+
}
|
18
|
+
|
19
|
+
a {
|
20
|
+
display: block;
|
21
|
+
padding: $pad*1.25;
|
22
|
+
margin-top: 3px; // adjust for bottom border
|
23
|
+
text-decoration: none;
|
24
|
+
color: fade-out($purple, .4);
|
25
|
+
border-bottom: 3px solid fade-out($purple, 1);
|
26
|
+
@include transition(all $transition);
|
27
|
+
|
28
|
+
[class^="hk-icon"] {
|
29
|
+
margin-bottom: -7px;
|
30
|
+
margin-right: $pad;
|
31
|
+
top: -2px;
|
32
|
+
font-weight: normal;
|
33
|
+
font-size: $font-lg;
|
34
|
+
}
|
35
|
+
|
36
|
+
&.active {
|
37
|
+
color: $purple;
|
38
|
+
border-color: $purple;
|
39
|
+
}
|
40
|
+
|
41
|
+
&:hover {
|
42
|
+
color: $purple;
|
43
|
+
}
|
44
|
+
|
45
|
+
&:active,
|
46
|
+
&:focus {
|
47
|
+
outline: none;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.btn {
|
53
|
+
margin: ($pad-lg - 1) 0;
|
54
|
+
|
55
|
+
@include media($tablet) {
|
56
|
+
display: none;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
//-Tabs
|
2
|
+
.tabs {
|
3
|
+
@include clearfix();
|
4
|
+
|
5
|
+
.tab {
|
6
|
+
display: inline;
|
7
|
+
}
|
8
|
+
|
9
|
+
[type="radio"] {
|
10
|
+
clip: rect(0 0 0 0);
|
11
|
+
height: 1px;
|
12
|
+
opacity: 0;
|
13
|
+
position: fixed;
|
14
|
+
width: 1px;
|
15
|
+
z-index: $z-background;
|
16
|
+
|
17
|
+
&:checked + .tab-label {
|
18
|
+
font-weight: bold;
|
19
|
+
color: $purple;
|
20
|
+
z-index: 1;
|
21
|
+
}
|
22
|
+
|
23
|
+
&:checked ~ .tab-panel {
|
24
|
+
display: inline;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.tab-label {
|
29
|
+
display: inline-block;
|
30
|
+
font-size: $font-sm;
|
31
|
+
position: relative;
|
32
|
+
vertical-align: bottom;
|
33
|
+
cursor: pointer;
|
34
|
+
}
|
35
|
+
|
36
|
+
.tab-panel {
|
37
|
+
display: inline;
|
38
|
+
display: inline-block;
|
39
|
+
overflow: hidden;
|
40
|
+
position: relative;
|
41
|
+
height: 0;
|
42
|
+
width: 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
.tab-content {
|
46
|
+
display: block;
|
47
|
+
float: left;
|
48
|
+
font-size: 1em;
|
49
|
+
width: 100%;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
//- Tabs themes
|
54
|
+
|
55
|
+
.tabs {
|
56
|
+
|
57
|
+
//- Basic
|
58
|
+
&.tabs-basic {
|
59
|
+
|
60
|
+
.tab-label {
|
61
|
+
border: $border;
|
62
|
+
padding: $pad $pad-lg;
|
63
|
+
margin: $pad-lg 0;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
//- Terminal style
|
68
|
+
&.tabs-terminal {
|
69
|
+
background: darken($purple, 20%);
|
70
|
+
|
71
|
+
.tab-label-active {
|
72
|
+
background: #EAE9F1;
|
73
|
+
color: #222;
|
74
|
+
font-weight: normal;
|
75
|
+
border-right: 0;
|
76
|
+
border-radius: 0 0 $border-radius $border-radius;
|
77
|
+
border-top: 1px solid fade-out(black, .8);
|
78
|
+
}
|
79
|
+
|
80
|
+
.tab-label {
|
81
|
+
padding: 8px 13px;
|
82
|
+
border-right: 1px solid fade-out($black, .8);
|
83
|
+
font-weight: normal;
|
84
|
+
font-size: 16px;
|
85
|
+
color: $white;
|
86
|
+
color: fade-out($white, .2);
|
87
|
+
|
88
|
+
&.active {
|
89
|
+
@extend .tab-label-active;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
[type="radio"]:checked {
|
94
|
+
+ .tab-label {
|
95
|
+
@extend .tab-label-active;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shibori
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heroku
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bourbon
|
@@ -245,6 +245,10 @@ files:
|
|
245
245
|
- source/css/shibori/scss/page-elements/_navigation.scss
|
246
246
|
- source/css/shibori/scss/page-elements/_sections.scss
|
247
247
|
- source/css/shibori/scss/page-elements/_sidebar.scss
|
248
|
+
- source/css/shibori/scss/page-elements/navigation/_breadcrumbs.scss
|
249
|
+
- source/css/shibori/scss/page-elements/navigation/_list-nav.scss
|
250
|
+
- source/css/shibori/scss/page-elements/navigation/_subnav-page.scss
|
251
|
+
- source/css/shibori/scss/page-elements/navigation/_tabs.scss
|
248
252
|
- source/fonts/bentonsans/bentonsans-book.eot
|
249
253
|
- source/fonts/bentonsans/bentonsans-book.svg
|
250
254
|
- source/fonts/bentonsans/bentonsans-book.ttf
|
@@ -316,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
316
320
|
version: '0'
|
317
321
|
requirements: []
|
318
322
|
rubyforge_project:
|
319
|
-
rubygems_version: 2.
|
323
|
+
rubygems_version: 2.6.8
|
320
324
|
signing_key:
|
321
325
|
specification_version: 4
|
322
326
|
summary: shibori styleguide
|