infotorg-api-jekyll-theme 0.1.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 +7 -0
- data/README.md +3 -0
- data/_config.yml +37 -0
- data/_includes/footer.html +11 -0
- data/_includes/head-app-css.html +2 -0
- data/_includes/head-fonts.html +2 -0
- data/_includes/head-google-analytics.html +13 -0
- data/_includes/navigation.html +58 -0
- data/_includes/services.html +75 -0
- data/_includes/title.html +4 -0
- data/_layouts/default.html +38 -0
- data/_layouts/services.html +5 -0
- data/_layouts/swagger-ui.html +67 -0
- data/_sass/_bootstrap.scss +51 -0
- data/_sass/_bootstrap_variables.scss +124 -0
- data/_sass/_typography.scss +15 -0
- data/_sass/_variables.scss +75 -0
- data/_sass/bootstrap/_accordion.scss +125 -0
- data/_sass/bootstrap/_alert.scss +57 -0
- data/_sass/bootstrap/_badge.scss +29 -0
- data/_sass/bootstrap/_breadcrumb.scss +28 -0
- data/_sass/bootstrap/_button-group.scss +139 -0
- data/_sass/bootstrap/_buttons.scss +109 -0
- data/_sass/bootstrap/_card.scss +215 -0
- data/_sass/bootstrap/_carousel.scss +223 -0
- data/_sass/bootstrap/_close.scss +40 -0
- data/_sass/bootstrap/_containers.scss +41 -0
- data/_sass/bootstrap/_dropdown.scss +235 -0
- data/_sass/bootstrap/_forms.scss +9 -0
- data/_sass/bootstrap/_functions.scss +205 -0
- data/_sass/bootstrap/_grid.scss +22 -0
- data/_sass/bootstrap/_helpers.scss +7 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_list-group.scss +163 -0
- data/_sass/bootstrap/_mixins.scss +41 -0
- data/_sass/bootstrap/_modal.scss +235 -0
- data/_sass/bootstrap/_nav.scss +127 -0
- data/_sass/bootstrap/_navbar.scss +293 -0
- data/_sass/bootstrap/_pagination.scss +64 -0
- data/_sass/bootstrap/_popover.scss +173 -0
- data/_sass/bootstrap/_progress.scss +45 -0
- data/_sass/bootstrap/_reboot.scss +635 -0
- data/_sass/bootstrap/_root.scss +16 -0
- data/_sass/bootstrap/_spinners.scss +65 -0
- data/_sass/bootstrap/_tables.scss +150 -0
- data/_sass/bootstrap/_toasts.scss +50 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +19 -0
- data/_sass/bootstrap/_type.scss +104 -0
- data/_sass/bootstrap/_utilities.scss +560 -0
- data/_sass/bootstrap/_variables.scss +1333 -0
- data/_sass/bootstrap/bootstrap-grid.scss +65 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +15 -0
- data/_sass/bootstrap/bootstrap-utilities.scss +18 -0
- data/_sass/bootstrap/forms/_floating-labels.scss +61 -0
- data/_sass/bootstrap/forms/_form-check.scss +151 -0
- data/_sass/bootstrap/forms/_form-control.scss +223 -0
- data/_sass/bootstrap/forms/_form-range.scss +91 -0
- data/_sass/bootstrap/forms/_form-select.scss +68 -0
- data/_sass/bootstrap/forms/_form-text.scss +11 -0
- data/_sass/bootstrap/forms/_input-group.scss +121 -0
- data/_sass/bootstrap/forms/_labels.scss +36 -0
- data/_sass/bootstrap/forms/_validation.scss +12 -0
- data/_sass/bootstrap/helpers/_clearfix.scss +3 -0
- data/_sass/bootstrap/helpers/_colored-links.scss +12 -0
- data/_sass/bootstrap/helpers/_position.scss +30 -0
- data/_sass/bootstrap/helpers/_ratio.scss +26 -0
- data/_sass/bootstrap/helpers/_stretched-link.scss +15 -0
- data/_sass/bootstrap/helpers/_text-truncation.scss +7 -0
- data/_sass/bootstrap/helpers/_visually-hidden.scss +8 -0
- data/_sass/bootstrap/mixins/_alert.scss +9 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +18 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +127 -0
- data/_sass/bootstrap/mixins/_buttons.scss +128 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +9 -0
- data/_sass/bootstrap/mixins/_container.scss +9 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_forms.scss +117 -0
- data/_sass/bootstrap/mixins/_gradients.scss +43 -0
- data/_sass/bootstrap/mixins/_grid.scss +120 -0
- data/_sass/bootstrap/mixins/_image.scss +16 -0
- data/_sass/bootstrap/mixins/_list-group.scss +22 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_pagination.scss +29 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_table-variants.scss +21 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_utilities.scss +68 -0
- data/_sass/bootstrap/mixins/_visually-hidden.scss +28 -0
- data/_sass/bootstrap/utilities/_api.scss +47 -0
- data/_sass/bootstrap/vendor/_rfs.scss +312 -0
- data/assets/bootstrap.min.js +7 -0
- data/assets/bootstrap.min.js.map +1 -0
- data/assets/css/main.scss +214 -0
- data/assets/css/print.scss +8 -0
- data/assets/css/swagger-ui/3.x/theme-feeling-blue.css +1672 -0
- data/assets/css/swagger-ui/3.x/theme-flattop.css +1672 -0
- data/assets/css/swagger-ui/3.x/theme-material.css +1719 -0
- data/assets/css/swagger-ui/3.x/theme-monokai.css +1792 -0
- data/assets/css/swagger-ui/3.x/theme-muted.css +1673 -0
- data/assets/css/swagger-ui/3.x/theme-newspaper.css +1671 -0
- data/assets/css/swagger-ui/3.x/theme-outline.css +1652 -0
- data/assets/images/cube.svg +11 -0
- data/assets/images/icons/collapse.svg +14 -0
- data/assets/images/icons/info.svg +14 -0
- data/assets/images/icons/services/eiendom.svg +9 -0
- data/assets/images/icons/services/foretak.svg +10 -0
- data/assets/images/icons/services/kreditt.svg +11 -0
- data/assets/images/icons/services/likningopplysning.svg +11 -0
- data/assets/images/icons/services/person.svg +11 -0
- data/assets/images/icons/services/small-boats.svg +9 -0
- data/assets/images/icons/services/vehicle.svg +9 -0
- data/assets/images/infotorg-developer.png +0 -0
- data/assets/images/infotorg-developer.svg +23 -0
- data/assets/images/infotorg-developer@2x.png +0 -0
- data/assets/images/infotorg-developer@3x.png +0 -0
- data/assets/images/it-gears.svg +14 -0
- data/assets/images/logo.svg +12 -0
- data/assets/images/tieto-evry-logo.svg +29 -0
- data/assets/openapi/eiendom.json +6817 -0
- metadata +180 -0
@@ -0,0 +1,127 @@
|
|
1
|
+
// Base class
|
2
|
+
//
|
3
|
+
// Kickstart any navigation component with a set of style resets. Works with
|
4
|
+
// `<nav>`s, `<ul>`s or `<ol>`s.
|
5
|
+
|
6
|
+
.nav {
|
7
|
+
display: flex;
|
8
|
+
flex-wrap: wrap;
|
9
|
+
padding-left: 0;
|
10
|
+
margin-bottom: 0;
|
11
|
+
list-style: none;
|
12
|
+
}
|
13
|
+
|
14
|
+
.nav-link {
|
15
|
+
display: block;
|
16
|
+
padding: $nav-link-padding-y $nav-link-padding-x;
|
17
|
+
@include font-size($nav-link-font-size);
|
18
|
+
font-weight: $nav-link-font-weight;
|
19
|
+
color: $nav-link-color;
|
20
|
+
text-decoration: if($link-decoration == none, null, none);
|
21
|
+
@include transition($nav-link-transition);
|
22
|
+
|
23
|
+
&:hover,
|
24
|
+
&:focus {
|
25
|
+
color: $nav-link-hover-color;
|
26
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
27
|
+
}
|
28
|
+
|
29
|
+
// Disabled state lightens text
|
30
|
+
&.disabled {
|
31
|
+
color: $nav-link-disabled-color;
|
32
|
+
pointer-events: none;
|
33
|
+
cursor: default;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
//
|
38
|
+
// Tabs
|
39
|
+
//
|
40
|
+
|
41
|
+
.nav-tabs {
|
42
|
+
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;
|
43
|
+
|
44
|
+
.nav-link {
|
45
|
+
margin-bottom: -$nav-tabs-border-width;
|
46
|
+
border: $nav-tabs-border-width solid transparent;
|
47
|
+
@include border-top-radius($nav-tabs-border-radius);
|
48
|
+
|
49
|
+
&:hover,
|
50
|
+
&:focus {
|
51
|
+
border-color: $nav-tabs-link-hover-border-color;
|
52
|
+
}
|
53
|
+
|
54
|
+
&.disabled {
|
55
|
+
color: $nav-link-disabled-color;
|
56
|
+
background-color: transparent;
|
57
|
+
border-color: transparent;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
.nav-link.active,
|
62
|
+
.nav-item.show .nav-link {
|
63
|
+
color: $nav-tabs-link-active-color;
|
64
|
+
background-color: $nav-tabs-link-active-bg;
|
65
|
+
border-color: $nav-tabs-link-active-border-color;
|
66
|
+
}
|
67
|
+
|
68
|
+
.dropdown-menu {
|
69
|
+
// Make dropdown border overlap tab border
|
70
|
+
margin-top: -$nav-tabs-border-width;
|
71
|
+
// Remove the top rounded corners here since there is a hard edge above the menu
|
72
|
+
@include border-top-radius(0);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
//
|
78
|
+
// Pills
|
79
|
+
//
|
80
|
+
|
81
|
+
.nav-pills {
|
82
|
+
.nav-link {
|
83
|
+
@include border-radius($nav-pills-border-radius);
|
84
|
+
}
|
85
|
+
|
86
|
+
.nav-link.active,
|
87
|
+
.show > .nav-link {
|
88
|
+
color: $nav-pills-link-active-color;
|
89
|
+
@include gradient-bg($nav-pills-link-active-bg);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
//
|
95
|
+
// Justified variants
|
96
|
+
//
|
97
|
+
|
98
|
+
.nav-fill {
|
99
|
+
> .nav-link,
|
100
|
+
.nav-item {
|
101
|
+
flex: 1 1 auto;
|
102
|
+
text-align: center;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
.nav-justified {
|
107
|
+
> .nav-link,
|
108
|
+
.nav-item {
|
109
|
+
flex-basis: 0;
|
110
|
+
flex-grow: 1;
|
111
|
+
text-align: center;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
|
115
|
+
|
116
|
+
// Tabbable tabs
|
117
|
+
//
|
118
|
+
// Hide tabbable panes to start, show them when `.active`
|
119
|
+
|
120
|
+
.tab-content {
|
121
|
+
> .tab-pane {
|
122
|
+
display: none;
|
123
|
+
}
|
124
|
+
> .active {
|
125
|
+
display: block;
|
126
|
+
}
|
127
|
+
}
|
@@ -0,0 +1,293 @@
|
|
1
|
+
// Contents
|
2
|
+
//
|
3
|
+
// Navbar
|
4
|
+
// Navbar brand
|
5
|
+
// Navbar nav
|
6
|
+
// Navbar text
|
7
|
+
// Responsive navbar
|
8
|
+
// Navbar position
|
9
|
+
// Navbar themes
|
10
|
+
|
11
|
+
|
12
|
+
// Navbar
|
13
|
+
//
|
14
|
+
// Provide a static navbar from which we expand to create full-width, fixed, and
|
15
|
+
// other navbar variations.
|
16
|
+
|
17
|
+
.navbar {
|
18
|
+
position: relative;
|
19
|
+
display: flex;
|
20
|
+
flex-wrap: wrap; // allow us to do the line break for collapsing content
|
21
|
+
align-items: center;
|
22
|
+
justify-content: space-between; // space out brand from logo
|
23
|
+
padding-top: $navbar-padding-y;
|
24
|
+
padding-right: $navbar-padding-x; // default: null
|
25
|
+
padding-bottom: $navbar-padding-y;
|
26
|
+
padding-left: $navbar-padding-x; // default: null
|
27
|
+
@include gradient-bg();
|
28
|
+
|
29
|
+
// Because flex properties aren't inherited, we need to redeclare these first
|
30
|
+
// few properties so that content nested within behave properly.
|
31
|
+
// The `flex-wrap` property is inherited to simplify the expanded navbars
|
32
|
+
%container-flex-properties {
|
33
|
+
display: flex;
|
34
|
+
flex-wrap: inherit;
|
35
|
+
align-items: center;
|
36
|
+
justify-content: space-between;
|
37
|
+
}
|
38
|
+
|
39
|
+
> .container,
|
40
|
+
> .container-fluid {
|
41
|
+
@extend %container-flex-properties;
|
42
|
+
}
|
43
|
+
|
44
|
+
@each $breakpoint, $container-max-width in $container-max-widths {
|
45
|
+
> .container#{breakpoint-infix($breakpoint, $container-max-widths)} {
|
46
|
+
@extend %container-flex-properties;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
|
52
|
+
// Navbar brand
|
53
|
+
//
|
54
|
+
// Used for brand, project, or site names.
|
55
|
+
|
56
|
+
.navbar-brand {
|
57
|
+
padding-top: $navbar-brand-padding-y;
|
58
|
+
padding-bottom: $navbar-brand-padding-y;
|
59
|
+
margin-right: $navbar-brand-margin-end;
|
60
|
+
@include font-size($navbar-brand-font-size);
|
61
|
+
text-decoration: if($link-decoration == none, null, none);
|
62
|
+
white-space: nowrap;
|
63
|
+
|
64
|
+
&:hover,
|
65
|
+
&:focus {
|
66
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
// Navbar nav
|
72
|
+
//
|
73
|
+
// Custom navbar navigation (doesn't require `.nav`, but does make use of `.nav-link`).
|
74
|
+
|
75
|
+
.navbar-nav {
|
76
|
+
display: flex;
|
77
|
+
flex-direction: column; // cannot use `inherit` to get the `.navbar`s value
|
78
|
+
padding-left: 0;
|
79
|
+
margin-bottom: 0;
|
80
|
+
list-style: none;
|
81
|
+
|
82
|
+
.nav-link {
|
83
|
+
padding-right: 0;
|
84
|
+
padding-left: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
.dropdown-menu {
|
88
|
+
position: static;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
|
92
|
+
|
93
|
+
// Navbar text
|
94
|
+
//
|
95
|
+
//
|
96
|
+
|
97
|
+
.navbar-text {
|
98
|
+
padding-top: $nav-link-padding-y;
|
99
|
+
padding-bottom: $nav-link-padding-y;
|
100
|
+
}
|
101
|
+
|
102
|
+
|
103
|
+
// Responsive navbar
|
104
|
+
//
|
105
|
+
// Custom styles for responsive collapsing and toggling of navbar contents.
|
106
|
+
// Powered by the collapse Bootstrap JavaScript plugin.
|
107
|
+
|
108
|
+
// When collapsed, prevent the toggleable navbar contents from appearing in
|
109
|
+
// the default flexbox row orientation. Requires the use of `flex-wrap: wrap`
|
110
|
+
// on the `.navbar` parent.
|
111
|
+
.navbar-collapse {
|
112
|
+
// For always expanded or extra full navbars, ensure content aligns itself
|
113
|
+
// properly vertically. Can be easily overridden with flex utilities.
|
114
|
+
align-items: center;
|
115
|
+
width: 100%;
|
116
|
+
}
|
117
|
+
|
118
|
+
// Button for toggling the navbar when in its collapsed state
|
119
|
+
.navbar-toggler {
|
120
|
+
padding: $navbar-toggler-padding-y $navbar-toggler-padding-x;
|
121
|
+
@include font-size($navbar-toggler-font-size);
|
122
|
+
line-height: 1;
|
123
|
+
background-color: transparent; // remove default button style
|
124
|
+
border: $border-width solid transparent; // remove default button style
|
125
|
+
@include border-radius($navbar-toggler-border-radius);
|
126
|
+
@include transition($navbar-toggler-transition);
|
127
|
+
|
128
|
+
&:hover {
|
129
|
+
text-decoration: none;
|
130
|
+
}
|
131
|
+
|
132
|
+
&:focus {
|
133
|
+
text-decoration: none;
|
134
|
+
outline: 0;
|
135
|
+
box-shadow: 0 0 0 $navbar-toggler-focus-width;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
// Keep as a separate element so folks can easily override it with another icon
|
140
|
+
// or image file as needed.
|
141
|
+
.navbar-toggler-icon {
|
142
|
+
display: inline-block;
|
143
|
+
width: 1.5em;
|
144
|
+
height: 1.5em;
|
145
|
+
vertical-align: middle;
|
146
|
+
background-repeat: no-repeat;
|
147
|
+
background-position: center;
|
148
|
+
background-size: 100%;
|
149
|
+
}
|
150
|
+
|
151
|
+
// Generate series of `.navbar-expand-*` responsive classes for configuring
|
152
|
+
// where your navbar collapses.
|
153
|
+
.navbar-expand {
|
154
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
155
|
+
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
156
|
+
$infix: breakpoint-infix($next, $grid-breakpoints);
|
157
|
+
|
158
|
+
// stylelint-disable-next-line scss/selector-no-union-class-name
|
159
|
+
&#{$infix} {
|
160
|
+
@include media-breakpoint-up($next) {
|
161
|
+
flex-wrap: nowrap;
|
162
|
+
justify-content: flex-start;
|
163
|
+
|
164
|
+
.navbar-nav {
|
165
|
+
flex-direction: row;
|
166
|
+
|
167
|
+
.dropdown-menu {
|
168
|
+
position: absolute;
|
169
|
+
}
|
170
|
+
|
171
|
+
.nav-link {
|
172
|
+
padding-right: $navbar-nav-link-padding-x;
|
173
|
+
padding-left: $navbar-nav-link-padding-x;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
.navbar-collapse {
|
178
|
+
display: flex !important; // stylelint-disable-line declaration-no-important
|
179
|
+
}
|
180
|
+
|
181
|
+
.navbar-toggler {
|
182
|
+
display: none;
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
|
189
|
+
|
190
|
+
// Navbar themes
|
191
|
+
//
|
192
|
+
// Styles for switching between navbars with light or dark background.
|
193
|
+
|
194
|
+
// Dark links against a light background
|
195
|
+
.navbar-light {
|
196
|
+
.navbar-brand {
|
197
|
+
color: $navbar-light-brand-color;
|
198
|
+
|
199
|
+
&:hover,
|
200
|
+
&:focus {
|
201
|
+
color: $navbar-light-brand-hover-color;
|
202
|
+
}
|
203
|
+
}
|
204
|
+
|
205
|
+
.navbar-nav {
|
206
|
+
.nav-link {
|
207
|
+
color: $navbar-light-color;
|
208
|
+
|
209
|
+
&:hover,
|
210
|
+
&:focus {
|
211
|
+
color: $navbar-light-hover-color;
|
212
|
+
}
|
213
|
+
|
214
|
+
&.disabled {
|
215
|
+
color: $navbar-light-disabled-color;
|
216
|
+
}
|
217
|
+
}
|
218
|
+
|
219
|
+
.show > .nav-link,
|
220
|
+
.nav-link.active {
|
221
|
+
color: $navbar-light-active-color;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
|
225
|
+
.navbar-toggler {
|
226
|
+
color: $navbar-light-color;
|
227
|
+
border-color: $navbar-light-toggler-border-color;
|
228
|
+
}
|
229
|
+
|
230
|
+
.navbar-toggler-icon {
|
231
|
+
background-image: escape-svg($navbar-light-toggler-icon-bg);
|
232
|
+
}
|
233
|
+
|
234
|
+
.navbar-text {
|
235
|
+
color: $navbar-light-color;
|
236
|
+
|
237
|
+
a,
|
238
|
+
a:hover,
|
239
|
+
a:focus {
|
240
|
+
color: $navbar-light-active-color;
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
|
245
|
+
// White links against a dark background
|
246
|
+
.navbar-dark {
|
247
|
+
.navbar-brand {
|
248
|
+
color: $navbar-dark-brand-color;
|
249
|
+
|
250
|
+
&:hover,
|
251
|
+
&:focus {
|
252
|
+
color: $navbar-dark-brand-hover-color;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
|
256
|
+
.navbar-nav {
|
257
|
+
.nav-link {
|
258
|
+
color: $navbar-dark-color;
|
259
|
+
|
260
|
+
&:hover,
|
261
|
+
&:focus {
|
262
|
+
color: $navbar-dark-hover-color;
|
263
|
+
}
|
264
|
+
|
265
|
+
&.disabled {
|
266
|
+
color: $navbar-dark-disabled-color;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
.show > .nav-link,
|
271
|
+
.nav-link.active {
|
272
|
+
color: $navbar-dark-active-color;
|
273
|
+
}
|
274
|
+
}
|
275
|
+
|
276
|
+
.navbar-toggler {
|
277
|
+
color: $navbar-dark-color;
|
278
|
+
border-color: $navbar-dark-toggler-border-color;
|
279
|
+
}
|
280
|
+
|
281
|
+
.navbar-toggler-icon {
|
282
|
+
background-image: escape-svg($navbar-dark-toggler-icon-bg);
|
283
|
+
}
|
284
|
+
|
285
|
+
.navbar-text {
|
286
|
+
color: $navbar-dark-color;
|
287
|
+
a,
|
288
|
+
a:hover,
|
289
|
+
a:focus {
|
290
|
+
color: $navbar-dark-active-color;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
.pagination {
|
2
|
+
display: flex;
|
3
|
+
@include list-unstyled();
|
4
|
+
}
|
5
|
+
|
6
|
+
.page-link {
|
7
|
+
position: relative;
|
8
|
+
display: block;
|
9
|
+
color: $pagination-color;
|
10
|
+
text-decoration: if($link-decoration == none, null, none);
|
11
|
+
background-color: $pagination-bg;
|
12
|
+
border: $pagination-border-width solid $pagination-border-color;
|
13
|
+
@include transition($pagination-transition);
|
14
|
+
|
15
|
+
&:hover {
|
16
|
+
z-index: 2;
|
17
|
+
color: $pagination-hover-color;
|
18
|
+
text-decoration: if($link-hover-decoration == underline, none, null);
|
19
|
+
background-color: $pagination-hover-bg;
|
20
|
+
border-color: $pagination-hover-border-color;
|
21
|
+
}
|
22
|
+
|
23
|
+
&:focus {
|
24
|
+
z-index: 3;
|
25
|
+
color: $pagination-focus-color;
|
26
|
+
background-color: $pagination-focus-bg;
|
27
|
+
outline: $pagination-focus-outline;
|
28
|
+
box-shadow: $pagination-focus-box-shadow;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
.page-item {
|
33
|
+
&:not(:first-child) .page-link {
|
34
|
+
margin-left: $pagination-margin-start;
|
35
|
+
}
|
36
|
+
|
37
|
+
&.active .page-link {
|
38
|
+
z-index: 3;
|
39
|
+
color: $pagination-active-color;
|
40
|
+
@include gradient-bg($pagination-active-bg);
|
41
|
+
border-color: $pagination-active-border-color;
|
42
|
+
}
|
43
|
+
|
44
|
+
&.disabled .page-link {
|
45
|
+
color: $pagination-disabled-color;
|
46
|
+
pointer-events: none;
|
47
|
+
background-color: $pagination-disabled-bg;
|
48
|
+
border-color: $pagination-disabled-border-color;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
|
53
|
+
//
|
54
|
+
// Sizing
|
55
|
+
//
|
56
|
+
@include pagination-size($pagination-padding-y, $pagination-padding-x, null, $pagination-border-radius);
|
57
|
+
|
58
|
+
.pagination-lg {
|
59
|
+
@include pagination-size($pagination-padding-y-lg, $pagination-padding-x-lg, $font-size-lg, $border-radius-lg);
|
60
|
+
}
|
61
|
+
|
62
|
+
.pagination-sm {
|
63
|
+
@include pagination-size($pagination-padding-y-sm, $pagination-padding-x-sm, $font-size-sm, $border-radius-sm);
|
64
|
+
}
|