pageflow-progress-navigation-bar 0.4.0 → 0.5.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/.scss-lint.yml +147 -0
- data/CHANGELOG.md +29 -0
- data/Gemfile +0 -6
- data/README.md +2 -2
- data/app/assets/javascript/pageflow/progress_navigation_bar.js +7 -1
- data/app/assets/javascript/pageflow/progress_navigation_bar/widget.js +97 -43
- data/app/assets/stylesheets/pageflow/{progress_navigation_bar.css.scss → progress_navigation_bar.scss} +33 -195
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/animations2.scss +82 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/cross_dependant_styles.scss +37 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/horizontal.scss +234 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/mixins.scss +54 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default.scss +273 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/buttons.scss +22 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/credits.scss +9 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/icons/icon_font.scss +206 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/icons/sprite.scss +152 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/menu_boxes.scss +42 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/share_box.scss +9 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/typography.scss +90 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/widget_margin.scss +23 -0
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/vertical.scss +97 -0
- data/app/views/pageflow/progress_navigation_bar/_widget.html.erb +7 -3
- data/app/views/pageflow/progress_navigation_bar/widget/_bar_top.html.erb +6 -22
- data/app/views/pageflow/progress_navigation_bar/widget/_overview_button.html.erb +8 -0
- data/app/views/pageflow/progress_navigation_bar/widget/_page.html.erb +1 -2
- data/config/locales/de.yml +4 -1
- data/config/locales/en.yml +4 -1
- data/lib/pageflow-progress-navigation-bar.rb +9 -1
- data/lib/pageflow/progress_navigation_bar/horizontal_widget_type.rb +17 -0
- data/lib/pageflow/progress_navigation_bar/version.rb +1 -1
- data/lib/pageflow/progress_navigation_bar/vertical_widget_type.rb +17 -0
- data/lib/pageflow/progress_navigation_bar/widget_type.rb +5 -4
- data/pageflow-progress-navigation-bar.gemspec +2 -2
- metadata +26 -10
- data/app/assets/stylesheets/pageflow/cross_dependant_styles.css.scss +0 -35
- data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default.css.scss +0 -345
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
////
|
|
2
|
+
/// @group buttons
|
|
3
|
+
////
|
|
4
|
+
|
|
5
|
+
/// Color of label below the buttons.
|
|
6
|
+
$progress-navigation-bar-button-label-color: #a9a9a9 !default;
|
|
7
|
+
|
|
8
|
+
/// Color of label below active button.
|
|
9
|
+
$progress-navigation-bar-active-button-label-color: $main-color !default;
|
|
10
|
+
|
|
11
|
+
.navigation_bar_buttons {
|
|
12
|
+
.navi_hint {
|
|
13
|
+
color: $progress-navigation-bar-button-label-color;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
a:hover,
|
|
17
|
+
.active {
|
|
18
|
+
.navi_hint {
|
|
19
|
+
color: $progress-navigation-bar-active-button-label-color;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
$navigation-credits-link-color: $main-color !default;
|
|
2
|
+
|
|
3
|
+
/// Color of links in credits text.
|
|
4
|
+
$progress-navigation-bar-credits-link-color: $navigation-credits-link-color !default;
|
|
5
|
+
|
|
6
|
+
.navigation_credits_box a {
|
|
7
|
+
@extend %anchor;
|
|
8
|
+
color: $progress-navigation-bar-credits-link-color;
|
|
9
|
+
}
|
data/app/assets/stylesheets/pageflow/progress_navigation_bar/themes/default/icons/icon_font.scss
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
@mixin progress-navigation-bar-icons-icon-font(
|
|
2
|
+
$button-background-color: rgb(219, 219, 219),
|
|
3
|
+
$active-button-background-color: $main-color
|
|
4
|
+
) {
|
|
5
|
+
.navigation_button_area .navigation_bar_buttons {
|
|
6
|
+
|
|
7
|
+
.navigation_bullet, .navigation_menu > a {
|
|
8
|
+
position: absolute;
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
|
|
11
|
+
.button {
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
width: 28px;
|
|
15
|
+
height: 28px;
|
|
16
|
+
display: block;
|
|
17
|
+
box-shadow: 1px 2px 1px 0 rgba(0, 0, 0, 0.2);
|
|
18
|
+
border-radius: 18px;
|
|
19
|
+
color: rgba(0, 0, 0, 0.75);
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
margin: -25px auto 0 30px;
|
|
22
|
+
position: relative;
|
|
23
|
+
background-color: $button-background-color !important;
|
|
24
|
+
|
|
25
|
+
@include pageflow-progress-navigation-bar-small-height {
|
|
26
|
+
margin: -14px auto 0 30px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:hover .button, &.active .button {
|
|
31
|
+
background-color: $active-button-background-color !important;
|
|
32
|
+
-webkit-mask-image: none;
|
|
33
|
+
color: rgba(255, 255, 255, 0.9);
|
|
34
|
+
text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
|
|
35
|
+
|
|
36
|
+
.button, .navigation_mute, .navigation_share {
|
|
37
|
+
color: rgba(255, 255, 255, 0.9);
|
|
38
|
+
text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.navi_hint {
|
|
43
|
+
color: $nav-hint-color;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:active .button {
|
|
47
|
+
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
|
|
48
|
+
-webkit-transform: translate(1px, 1px);
|
|
49
|
+
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.2) 100%);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.button, .navigation_mute, .navigation_share {
|
|
54
|
+
font-family: "FontAwesome";
|
|
55
|
+
font-size: 1em;
|
|
56
|
+
color: rgba(0, 0, 0, 0.75);
|
|
57
|
+
text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.6);
|
|
58
|
+
|
|
59
|
+
display: inline-block;
|
|
60
|
+
width: 100%;
|
|
61
|
+
text-align: center;
|
|
62
|
+
line-height: 28px;
|
|
63
|
+
border-bottom: 0 !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.navigation_bullet.navigation_main {
|
|
67
|
+
.button {
|
|
68
|
+
@include fa-reorder-icon;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.navigation_bullet.navigation_top {
|
|
73
|
+
padding-top: 0;
|
|
74
|
+
.button {
|
|
75
|
+
border-bottom: 0;
|
|
76
|
+
font-weight: bold;
|
|
77
|
+
|
|
78
|
+
@include fa-arrow-circle-up-icon;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.navigation_bullet.navigation_home {
|
|
83
|
+
padding-top: 0;
|
|
84
|
+
.button {
|
|
85
|
+
border-bottom: 0;
|
|
86
|
+
font-weight: bold;
|
|
87
|
+
|
|
88
|
+
@include fa-home-icon;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.navigation_bullet.navigation_index {
|
|
93
|
+
.button {
|
|
94
|
+
@include fa-th-icon;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.navigation_bullet.navigation_fullscreen {
|
|
99
|
+
.button {
|
|
100
|
+
font-weight: bold;
|
|
101
|
+
|
|
102
|
+
@include fa-expand-icon;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.navigation_bullet.navigation_hide_text {
|
|
107
|
+
.button {
|
|
108
|
+
font-weight: bold;
|
|
109
|
+
|
|
110
|
+
@include fa-photo-icon;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.navigation_menu {
|
|
115
|
+
.navigation_share {
|
|
116
|
+
font-weight: bold;
|
|
117
|
+
|
|
118
|
+
@include fa-share-icon;
|
|
119
|
+
|
|
120
|
+
&:before {
|
|
121
|
+
margin-left: 1px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.navigation_menu {
|
|
127
|
+
.navigation_credits {
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
|
|
130
|
+
@include fa-info-icon;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.share_google, .share_facebook, .share_twitter {
|
|
135
|
+
font-size: 1.5em;
|
|
136
|
+
&:before {
|
|
137
|
+
font-family: "FontAwesome";
|
|
138
|
+
color: white;
|
|
139
|
+
text-shadow: none;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.share_google {
|
|
144
|
+
@include fa-google-plus-icon;
|
|
145
|
+
}
|
|
146
|
+
.share_facebook {
|
|
147
|
+
@include fa-facebook-icon;
|
|
148
|
+
}
|
|
149
|
+
.share_twitter {
|
|
150
|
+
@include fa-twitter-icon;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.volume-control:before,
|
|
155
|
+
.volume-slider:before {
|
|
156
|
+
color: $button-background-color;
|
|
157
|
+
position: absolute;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&.horizontal {
|
|
161
|
+
.volume-control {
|
|
162
|
+
@include fa-volume-down-icon;
|
|
163
|
+
|
|
164
|
+
&:before {
|
|
165
|
+
left: 0;
|
|
166
|
+
top: 2px;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.volume-slider {
|
|
171
|
+
@include fa-volume-up-icon;
|
|
172
|
+
|
|
173
|
+
&:before {
|
|
174
|
+
right: -25px;
|
|
175
|
+
top: -8px;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&.vertical {
|
|
181
|
+
.volume-control {
|
|
182
|
+
@include fa-volume-up-icon;
|
|
183
|
+
|
|
184
|
+
&:before {
|
|
185
|
+
left: 19px;
|
|
186
|
+
top: 8%;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.volume-slider {
|
|
191
|
+
@include fa-volume-down-icon;
|
|
192
|
+
|
|
193
|
+
&:before {
|
|
194
|
+
left: -3px;
|
|
195
|
+
bottom: -26px;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
@include pageflow-progress-navigation-bar-small-height {
|
|
200
|
+
.volume-control:before,
|
|
201
|
+
.volume-slider:before {
|
|
202
|
+
display: none;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
@mixin progress-navigation-bar-icons-sprite {
|
|
2
|
+
$progress-navigation-bar-use-fullscreen-exit-icon: false !default;
|
|
3
|
+
|
|
4
|
+
.button,
|
|
5
|
+
.navigation_mute {
|
|
6
|
+
@extend %pageflow_sprite_icon;
|
|
7
|
+
height: 42px;
|
|
8
|
+
width: 42px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.navigation_bar_buttons {
|
|
12
|
+
.navigation_main {
|
|
13
|
+
@include pageflow-sprite-icon-menu($target: ".button");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.navigation_main.active {
|
|
17
|
+
@include pageflow-sprite-icon-close-header($target: ".button");
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.navigation_home {
|
|
22
|
+
@include pageflow-sprite-icon-home($target: ".button");
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.navigation_top {
|
|
26
|
+
@include pageflow-sprite-icon-top($target: ".button");
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.navigation_top.deactivated {
|
|
30
|
+
@include pageflow-sprite-icon-top("disabled", $target: ".button");
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.navigation_index {
|
|
34
|
+
@include pageflow-sprite-icon-overview($target: ".button");
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.navigation_index.active {
|
|
38
|
+
@include pageflow-sprite-icon-overview("active", $target: ".button");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.navigation_fullscreen {
|
|
42
|
+
@include pageflow-sprite-icon-fullscreen($target: ".button");
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.navigation_fullscreen.active {
|
|
46
|
+
@if ($progress-navigation-bar-use-fullscreen-exit-icon) {
|
|
47
|
+
@include pageflow-sprite-icon-fullscreen-exit($target: ".button");
|
|
48
|
+
} @else {
|
|
49
|
+
@include pageflow-sprite-icon-fullscreen("active");
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.navigation_hide_text {
|
|
54
|
+
@include pageflow-sprite-icon-hide-text($target: ".button");
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.navigation_hide_text.active {
|
|
58
|
+
@include pageflow-sprite-icon-hide-text("active", $target: ".button");
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.navigation_menu.share {
|
|
62
|
+
@include pageflow-sprite-icon-share($target: ".navigation_share.button");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.navigation_menu.credits {
|
|
66
|
+
@include pageflow-sprite-icon-credits($target: ".button");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.share.google {
|
|
70
|
+
@include pageflow-sprite-icon-google($offset: -5px, $target: ".button");
|
|
71
|
+
|
|
72
|
+
&.active {
|
|
73
|
+
@include pageflow-sprite-icon-google("active", $offset: -5px, $target: ".button");
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.share.twitter {
|
|
78
|
+
@include pageflow-sprite-icon-twitter($offset: -5px, $target: ".button");
|
|
79
|
+
|
|
80
|
+
&.active {
|
|
81
|
+
@include pageflow-sprite-icon-twitter("active", $offset: -5px, $target: ".button");
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.share.facebook {
|
|
86
|
+
@include pageflow-sprite-icon-facebook($offset: -5px, $target: ".button");
|
|
87
|
+
|
|
88
|
+
&.active {
|
|
89
|
+
@include pageflow-sprite-icon-facebook("active", $offset: -5px, $target: ".button");
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.volume-control {
|
|
94
|
+
&:before,
|
|
95
|
+
&:after {
|
|
96
|
+
@extend %pageflow_sprite_icon;
|
|
97
|
+
content: "";
|
|
98
|
+
position: absolute;
|
|
99
|
+
width: 27px;
|
|
100
|
+
height: 27px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&:before {
|
|
104
|
+
@include pageflow-sprite-icon-volume-up;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:after {
|
|
108
|
+
@include pageflow-sprite-icon-volume-down;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&.horizontal {
|
|
113
|
+
.volume-control {
|
|
114
|
+
&:before,
|
|
115
|
+
&:after {
|
|
116
|
+
top: -2px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:before {
|
|
120
|
+
right: -5px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&:after {
|
|
124
|
+
left: -5px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.vertical {
|
|
130
|
+
.volume-control {
|
|
131
|
+
&:before,
|
|
132
|
+
&:after {
|
|
133
|
+
left: 10px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:before {
|
|
137
|
+
top: 4%;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&:after {
|
|
141
|
+
bottom: 4%;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@include pageflow-progress-navigation-bar-small-height {
|
|
146
|
+
.volume-control:before,
|
|
147
|
+
.volume-control:after {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
////
|
|
2
|
+
/// @group menu-boxes
|
|
3
|
+
////
|
|
4
|
+
|
|
5
|
+
// Define locally if not defined by theme
|
|
6
|
+
$navigation-menu-box-background-color: #353535 !default;
|
|
7
|
+
$navigation-menu-box-text-color: #fff !default;
|
|
8
|
+
$navigation-menu-box-border-width: 2px !default;
|
|
9
|
+
$navigation-menu-box-border-color: #9c9c9c !default;
|
|
10
|
+
|
|
11
|
+
/// Background color of page detail and menu boxes
|
|
12
|
+
$progress-navigation-bar-menu-box-background-color: $navigation-menu-box-background-color !default;
|
|
13
|
+
|
|
14
|
+
/// Text color of page detail and menu boxes
|
|
15
|
+
$progress-navigation-bar-menu-box-text-color: $navigation-menu-box-text-color !default;
|
|
16
|
+
|
|
17
|
+
/// Width of border if `$navigation-menu-box-style` is `"border"`.
|
|
18
|
+
$progress-navigation-bar-menu-box-border-width: $navigation-menu-box-border-width !default;
|
|
19
|
+
|
|
20
|
+
/// Color of border if `$navigation-menu-box-style` is `"border"`.
|
|
21
|
+
$progress-navigation-bar-menu-box-border-color: $navigation-menu-box-border-color !default;
|
|
22
|
+
|
|
23
|
+
/// Text color of chapter title. Use `$navigation-menu-box-text-color` if not defined.
|
|
24
|
+
$progress-navigation-bar-menu-box-chapter-title-color: $navigation-menu-box-text-color !default;
|
|
25
|
+
|
|
26
|
+
/// Pictogram visibility.
|
|
27
|
+
$progress-navigation-bar-pictogram-visibility: $standard-page-pictogram-visibility !default;
|
|
28
|
+
|
|
29
|
+
.navigation_site_detail,
|
|
30
|
+
.navigation_menu_box {
|
|
31
|
+
color: $progress-navigation-bar-menu-box-text-color;
|
|
32
|
+
background-color: $progress-navigation-bar-menu-box-background-color;
|
|
33
|
+
border: $progress-navigation-bar-menu-box-border-width solid $progress-navigation-bar-menu-box-border-color;
|
|
34
|
+
|
|
35
|
+
hr {
|
|
36
|
+
border-bottom: 1px solid $progress-navigation-bar-menu-box-text-color;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.chapter_title {
|
|
40
|
+
color: $progress-navigation-bar-menu-box-chapter-title-color;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/// Base typography for widget.
|
|
2
|
+
$progress-navigation-bar-typography: () !default;
|
|
3
|
+
|
|
4
|
+
/// Typography of labels below the buttons.
|
|
5
|
+
$progress-navigation-bar-button-label-typography: () !default;
|
|
6
|
+
|
|
7
|
+
/// Typography of the text inside the page preview boxes.
|
|
8
|
+
$progress-navigation-bar-page-box-typography: () !default;
|
|
9
|
+
|
|
10
|
+
/// Typography of the chapter header above the page title.
|
|
11
|
+
$progress-navigation-bar-chapter-header-typography: () !default;
|
|
12
|
+
|
|
13
|
+
/// Typography of the chapter number inside the page preview box.
|
|
14
|
+
$progress-navigation-bar-chapter-number-typography: () !default;
|
|
15
|
+
|
|
16
|
+
/// Typography of the chapter title inside the page preview box.
|
|
17
|
+
$progress-navigation-bar-chapter-title-typography: () !default;
|
|
18
|
+
|
|
19
|
+
/// Typography for share link labels.
|
|
20
|
+
$progress-navigation-bar-share-link-typography: () !default;
|
|
21
|
+
|
|
22
|
+
/// Typography for credits box.
|
|
23
|
+
$progress-navigation-bar-credits-box-typography: () !default;
|
|
24
|
+
|
|
25
|
+
@include standard-typography($progress-navigation-bar-typography, ());
|
|
26
|
+
|
|
27
|
+
.navi_hint {
|
|
28
|
+
@include typography(
|
|
29
|
+
$progress-navigation-bar-button-label-typography,
|
|
30
|
+
(
|
|
31
|
+
font-size: 11px
|
|
32
|
+
)
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.navigation_site_detail {
|
|
37
|
+
@include typography(
|
|
38
|
+
$progress-navigation-bar-page-box-typography,
|
|
39
|
+
(
|
|
40
|
+
font-size: 1em,
|
|
41
|
+
line-height: 1.1em
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
h2 {
|
|
46
|
+
@include typography(
|
|
47
|
+
$progress-navigation-bar-chapter-header-typography,
|
|
48
|
+
(
|
|
49
|
+
font-size: 1em,
|
|
50
|
+
line-height: 1.2em,
|
|
51
|
+
margin: 0
|
|
52
|
+
)
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.chapter_number {
|
|
57
|
+
@include typography(
|
|
58
|
+
$progress-navigation-bar-chapter-number-typography,
|
|
59
|
+
(
|
|
60
|
+
font-weight: normal
|
|
61
|
+
)
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.chapter_title {
|
|
66
|
+
@include typography(
|
|
67
|
+
$progress-navigation-bar-chapter-title-typography
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.navigation_share_box {
|
|
73
|
+
p {
|
|
74
|
+
@include typography(
|
|
75
|
+
$progress-navigation-bar-share-link-typography,
|
|
76
|
+
(
|
|
77
|
+
font-size: 12px
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.navigation_credits_box {
|
|
84
|
+
@include typography(
|
|
85
|
+
$progress-navigation-bar-credits-box-typography,
|
|
86
|
+
(
|
|
87
|
+
font-size: 1em
|
|
88
|
+
)
|
|
89
|
+
);
|
|
90
|
+
}
|