bootstrap-italia 2.17.3 → 3.0.0-alpha.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.
- package/README.EN.md +1 -1
- package/README.md +1 -1
- package/dist/css/bootstrap-italia.min.css +1 -9
- package/dist/css/bootstrap-italia.min.css.map +1 -1
- package/dist/fonts/Titillium_Sans_Pro/OFL.txt +92 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Bold.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Bold.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-BoldItalic.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-BoldItalic.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Italic.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Italic.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Light.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Light.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-LightItalic.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-LightItalic.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Regular.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Regular.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Semibold.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-Semibold.woff2 +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-SemiboldItalic.woff +0 -0
- package/dist/fonts/Titillium_Sans_Pro/TitilliumSansPro-SemiboldItalic.woff2 +0 -0
- package/dist/js/bootstrap-italia.bundle.min.js +10 -10
- package/dist/js/bootstrap-italia.min.js +4 -4
- package/dist/plugins/dropdown.js +1 -1
- package/dist/plugins/dropdown.js.map +1 -1
- package/dist/plugins/fonts-loader.js +340 -111
- package/dist/plugins/fonts-loader.js.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +3 -3
- package/src/fonts/Titillium_Sans_Pro/OFL.txt +92 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Bold.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Bold.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-BoldItalic.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-BoldItalic.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Italic.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Italic.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Light.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Light.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-LightItalic.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-LightItalic.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Regular.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Regular.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Semibold.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-Semibold.woff2 +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-SemiboldItalic.woff +0 -0
- package/src/fonts/Titillium_Sans_Pro/TitilliumSansPro-SemiboldItalic.woff2 +0 -0
- package/src/js/plugins/dropdown.js +1 -1
- package/src/js/plugins/fonts-loader.js +340 -111
- package/src/js/version.js +1 -1
- package/src/scss/base/_maps.scss +11 -0
- package/src/scss/base/_mixins.scss +2 -1
- package/src/scss/base/_reboot.scss +15 -147
- package/src/scss/base/_root.scss +272 -45
- package/src/scss/base/_utilities.scss +3 -3
- package/src/scss/base/_variables.scss +44 -55
- package/src/scss/base/_version.scss +1 -1
- package/src/scss/base/mixins/_banner.scss +7 -9
- package/src/scss/base/mixins/_focus.scss +14 -0
- package/src/scss/bootstrap-italia.scss +29 -32
- package/src/scss/components/_accept-overlay.scss +74 -50
- package/src/scss/components/_accordion.scss +120 -97
- package/src/scss/components/_affix.scss +14 -0
- package/src/scss/components/_alert.scss +60 -45
- package/src/scss/components/_anchor.scss +14 -0
- package/src/scss/components/_avatar.scss +236 -369
- package/src/scss/components/_back-to-top.scss +70 -54
- package/src/scss/components/_badge.scss +69 -36
- package/src/scss/components/_bottomnav.scss +14 -0
- package/src/scss/components/_breadcrumb.scss +78 -71
- package/src/scss/components/_button-group.scss +21 -7
- package/src/scss/components/_buttons.scss +289 -318
- package/src/scss/components/_calendar.scss +22 -8
- package/src/scss/components/_callout.scss +133 -125
- package/src/scss/components/_card-old.scss +14 -0
- package/src/scss/components/_card.scss +476 -518
- package/src/scss/components/_carousel.scss +14 -0
- package/src/scss/components/_chips.scss +150 -209
- package/src/scss/components/_code.scss +31 -6
- package/src/scss/components/_cookiebar.scss +14 -0
- package/src/scss/components/_dimmer.scss +14 -0
- package/src/scss/components/_dropdown.scss +144 -179
- package/src/scss/components/_figcaption.scss +14 -0
- package/src/scss/components/_font.scss +14 -0
- package/src/scss/components/_footer.scss +99 -75
- package/src/scss/components/_forward.scss +14 -0
- package/src/scss/components/_grid.scss +31 -22
- package/src/scss/components/_gridlist.scss +41 -19
- package/src/scss/components/_header.scss +150 -142
- package/src/scss/components/_headercenter.scss +129 -193
- package/src/scss/components/_headercentertheme.scss +14 -0
- package/src/scss/components/_headernavbar.scss +22 -14
- package/src/scss/components/_headernavbartheme.scss +16 -2
- package/src/scss/components/_headerslim.scss +133 -137
- package/src/scss/components/_headerslimtheme.scss +14 -0
- package/src/scss/components/_hero.scss +93 -202
- package/src/scss/components/_images.scss +14 -0
- package/src/scss/components/_imgresponsive.scss +14 -0
- package/src/scss/components/_linklist.scss +241 -262
- package/src/scss/components/_list-group.scss +26 -14
- package/src/scss/components/_list.scss +66 -123
- package/src/scss/components/_map.scss +14 -0
- package/src/scss/components/_masonry-loader.scss +14 -0
- package/src/scss/components/_megamenu.scss +191 -256
- package/src/scss/components/_modal.scss +115 -204
- package/src/scss/components/_nav.scss +43 -41
- package/src/scss/components/_navbar.scss +408 -91
- package/src/scss/components/_navigation.scss +56 -459
- package/src/scss/components/_navigationtheme.scss +109 -171
- package/src/scss/components/_navscroll.scss +210 -208
- package/src/scss/components/_navscrolltheme.scss +14 -0
- package/src/scss/components/_notifications.scss +14 -0
- package/src/scss/components/_offcanvas.scss +14 -0
- package/src/scss/components/_overlay-panel.scss +14 -0
- package/src/scss/components/_page-scroll.scss +14 -0
- package/src/scss/components/_pagination.scss +135 -80
- package/src/scss/components/_placeholders.scss +14 -0
- package/src/scss/components/_point-list.scss +15 -0
- package/src/scss/components/_popover.scss +29 -19
- package/src/scss/components/_print.scss +14 -0
- package/src/scss/components/_progress-bars.scss +14 -0
- package/src/scss/components/_progress-donuts.scss +14 -0
- package/src/scss/components/_progress-spinners.scss +14 -0
- package/src/scss/components/_rating-list.scss +14 -0
- package/src/scss/components/_rating.scss +76 -45
- package/src/scss/components/_sections.scss +51 -30
- package/src/scss/components/_sidebar.scss +119 -121
- package/src/scss/components/_sidebarthemes.scss +14 -0
- package/src/scss/components/_skiplinks.scss +14 -0
- package/src/scss/components/_steppers.scss +14 -0
- package/src/scss/components/_sticky.scss +14 -0
- package/src/scss/components/_tab.scss +14 -0
- package/src/scss/components/_tables.scss +14 -0
- package/src/scss/components/_thumbnav.scss +14 -0
- package/src/scss/components/_timeline.scss +14 -0
- package/src/scss/components/_toasts.scss +14 -0
- package/src/scss/components/_toolbar.scss +14 -0
- package/src/scss/components/_tooltip.scss +23 -9
- package/src/scss/components/_type.scss +176 -176
- package/src/scss/components/_videoplayer.scss +25 -5
- package/src/scss/forms/_accessible-autocomplete.scss +25 -27
- package/src/scss/forms/_autocomplete.scss +99 -144
- package/src/scss/forms/_form-control.scss +47 -116
- package/src/scss/forms/_form-input-file.scss +7 -6
- package/src/scss/forms/_form-input-number.scss +38 -22
- package/src/scss/forms/_form-input-upload.scss +149 -147
- package/src/scss/forms/_form-password.scss +14 -11
- package/src/scss/forms/_form-select.scss +3 -92
- package/src/scss/forms/_forms.scss +304 -247
- package/src/scss/forms/_input-group.scss +23 -36
- package/src/scss/forms/_just-validate.scss +11 -12
- package/src/scss/utilities/focus.scss +3 -12
- package/src/scss/utilities/icons.scss +59 -13
- package/src/scss/components/_pager.scss +0 -166
- package/src/scss/forms/_form-text.scss +0 -11
|
@@ -1,150 +1,167 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
1
|
+
// Component: header
|
|
2
|
+
//
|
|
3
|
+
// Description: Component styles for header
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
// Variables
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
// Properties
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
.it-header-wrapper,
|
|
13
|
+
.it-header-slim-wrapper,
|
|
14
|
+
.it-header-center-wrapper,
|
|
15
|
+
.it-header-navbar-wrapper {
|
|
16
|
+
--#{$prefix}header-brand-color: var(--#{$prefix}color-text-inverse); // Controls the brand color for the header, using color tokens.
|
|
17
|
+
--#{$prefix}header-brand-icon-color: var(--#{$prefix}icon-inverse); // Controls the brand icon color for the header, using icon tokens.
|
|
18
|
+
--#{$prefix}header-brand-size: 2.5rem; // Controls the brand size for the header.
|
|
19
|
+
--#{$prefix}header-brand-spacing: var(--it-spacing-14x); // Controls the brand spacing for the header, using spacing tokens.
|
|
20
|
+
--#{$prefix}header-brand-tagline-size: var(--#{$prefix}body-font-size); // Controls the brand tagline size for the header, using font tokens.
|
|
21
|
+
--#{$prefix}header-brand-title-size: var(--#{$prefix}heading-5-font-size); // Controls the brand title size for the header, using font tokens.
|
|
22
|
+
--#{$prefix}header-center-background: var(--#{$prefix}color-background-primary); // Controls the center background for the header, using color tokens.
|
|
23
|
+
--#{$prefix}header-center-font-size: var(--#{$prefix}label-font-size-s); // Controls the center font size for the header, using font tokens.
|
|
24
|
+
--#{$prefix}header-center-height: 4.5rem; // Controls the center height for the header.
|
|
25
|
+
--#{$prefix}header-center-text-color: var(--#{$prefix}color-text-inverse); // Controls the center text color for the header, using color tokens.
|
|
26
|
+
--#{$prefix}header-nav-background: var(--#{$prefix}color-background-primary); // Controls the nav background for the header, using color tokens.
|
|
27
|
+
--#{$prefix}header-nav-secondary-font-size: var(--#{$prefix}label-font-size); // Controls the nav secondary font size for the header, using font tokens.
|
|
28
|
+
--#{$prefix}header-nav-text-color: var(--#{$prefix}color-link); // Controls the nav text color for the header, using color tokens.
|
|
29
|
+
--#{$prefix}header-search-button-background: var(
|
|
30
|
+
--#{$prefix}color-background-inverse
|
|
31
|
+
); // Controls the search button background for the header, using color tokens.
|
|
32
|
+
--#{$prefix}header-search-button-color: var(--#{$prefix}icon-inverse); // Controls the search button color for the header, using icon tokens.
|
|
33
|
+
--#{$prefix}header-search-button-size: 3rem; // Controls the search button size for the header.
|
|
34
|
+
--#{$prefix}header-search-icon-color: var(--#{$prefix}icon-inverse); // Controls the search icon color for the header, using icon tokens.
|
|
35
|
+
--#{$prefix}header-search-icon-size: 1.5rem; // Controls the search icon size for the header.
|
|
36
|
+
--#{$prefix}header-slim-background: var(--it-color-blue-30); // Controls the slim background for the header. // TODO: use variable when ready
|
|
37
|
+
--#{$prefix}header-slim-border-color: hsla(0, 0%, 100%, 0.2); // Controls the slim border color for the header.
|
|
38
|
+
--#{$prefix}header-slim-font-size: var(--#{$prefix}label-font-size-s); // Controls the slim font size for the header, using font tokens.
|
|
39
|
+
--#{$prefix}header-slim-height: 3rem; // Controls the slim height for the header.
|
|
40
|
+
--#{$prefix}header-slim-text-color: var(--#{$prefix}color-text-inverse); // Controls the slim text color for the header, using color tokens.
|
|
41
|
+
--#{$prefix}header-social-color: var(--#{$prefix}icon-inverse); // Controls the social color for the header, using icon tokens.
|
|
42
|
+
--#{$prefix}header-spacing-inset: var(--#{$prefix}spacing-xxs); // Controls the inset spacing for the header, using spacing tokens.
|
|
43
|
+
@include media-breakpoint-up(md) {
|
|
44
|
+
--#{$prefix}header-brand-size: 3.5rem; // 56px
|
|
45
|
+
--#{$prefix}header-search-icon-color: var(--#{$prefix}icon-primary);
|
|
46
|
+
}
|
|
47
|
+
@include media-breakpoint-up(lg) {
|
|
48
|
+
--#{$prefix}header-brand-size: 4.5rem; // 72px
|
|
49
|
+
--#{$prefix}header-brand-title-size: var(--#{$prefix}heading-3-font-size);
|
|
50
|
+
--#{$prefix}header-center-height: 7.5rem; // 120px
|
|
51
|
+
--#{$prefix}header-nav-text-color: var(--#{$prefix}color-text-inverse);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Styles
|
|
56
|
+
//
|
|
57
|
+
|
|
58
|
+
// Light theme
|
|
59
|
+
.it-header-slim-wrapper.theme-light,
|
|
60
|
+
.it-header-center-wrapper.theme-light,
|
|
61
|
+
.it-header-navbar-wrapper.theme-light,
|
|
62
|
+
.it-header-navbar-wrapper.theme-light-desk {
|
|
63
|
+
--#{$prefix}header-brand-color: var(--#{$prefix}color-text-primary);
|
|
64
|
+
--#{$prefix}header-brand-icon-color: var(--#{$prefix}icon-primary);
|
|
65
|
+
--#{$prefix}header-center-background: var(--#{$prefix}color-background-inverse);
|
|
66
|
+
--#{$prefix}header-center-text-color: var(--#{$prefix}color-link);
|
|
67
|
+
--#{$prefix}header-nav-background: var(--#{$prefix}color-background-inverse);
|
|
68
|
+
--#{$prefix}header-nav-text-color: var(--#{$prefix}color-link);
|
|
69
|
+
--#{$prefix}header-search-button-background: var(--#{$prefix}color-background-primary);
|
|
70
|
+
--#{$prefix}header-search-icon-color: var(--#{$prefix}icon-primary);
|
|
71
|
+
--#{$prefix}header-slim-background: var(--#{$prefix}color-background-inverse);
|
|
72
|
+
--#{$prefix}header-slim-border-color: hsla(210, 100%, 40%, 0.2);
|
|
73
|
+
--#{$prefix}header-slim-text-color: var(--#{$prefix}color-link);
|
|
74
|
+
--#{$prefix}header-social-color: var(--#{$prefix}icon-primary);
|
|
75
|
+
@include media-breakpoint-up(md) {
|
|
76
|
+
--#{$prefix}header-search-icon-color: var(--#{$prefix}icon-inverse);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
3
79
|
|
|
4
80
|
.it-header-wrapper {
|
|
5
81
|
position: relative;
|
|
6
82
|
z-index: 5;
|
|
7
83
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
z-index: auto;
|
|
84
|
+
&.it-header-sticky.is-sticky {
|
|
85
|
+
width: 100%;
|
|
11
86
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
87
|
+
.it-nav-wrapper {
|
|
88
|
+
top: 0;
|
|
89
|
+
z-index: 10;
|
|
90
|
+
width: 100%;
|
|
15
91
|
}
|
|
16
92
|
|
|
17
|
-
.it-header-
|
|
18
|
-
|
|
19
|
-
position: absolute;
|
|
20
|
-
z-index: 3;
|
|
21
|
-
left: 0;
|
|
22
|
-
top: 50%;
|
|
23
|
-
margin-top: -$header-nav-button-distance;
|
|
24
|
-
|
|
25
|
-
nav {
|
|
26
|
-
padding-left: $header-general-padding - ($grid-columns * 0.5);
|
|
27
|
-
padding-right: $header-general-padding - ($grid-columns * 0.5);
|
|
28
|
-
|
|
29
|
-
.custom-navbar-toggler {
|
|
30
|
-
padding: 0;
|
|
31
|
-
transform: translateX(-2px);
|
|
32
|
-
cursor: pointer;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
93
|
+
.it-header-slim-wrapper {
|
|
94
|
+
display: none;
|
|
35
95
|
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.it-header-sticky {
|
|
39
|
-
&.is-sticky {
|
|
40
|
-
width: 100%;
|
|
41
|
-
|
|
42
|
-
.it-nav-wrapper {
|
|
43
|
-
//position: fixed;
|
|
44
|
-
top: 0;
|
|
45
|
-
width: 100%;
|
|
46
|
-
z-index: 10; //livello +10 del it-navscroll
|
|
47
|
-
}
|
|
48
96
|
|
|
49
|
-
|
|
97
|
+
@include media-breakpoint-up(lg) {
|
|
98
|
+
.it-header-slim-wrapper,
|
|
99
|
+
.it-header-center-wrapper {
|
|
50
100
|
display: none;
|
|
51
101
|
}
|
|
52
102
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
display: none;
|
|
57
|
-
}
|
|
103
|
+
.it-header-navbar-wrapper {
|
|
104
|
+
top: 0;
|
|
105
|
+
width: 100%;
|
|
58
106
|
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
107
|
+
.menu-wrapper {
|
|
108
|
+
display: flex;
|
|
109
|
+
flex-direction: row;
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: flex-start;
|
|
63
112
|
|
|
64
|
-
.
|
|
65
|
-
|
|
66
|
-
flex-direction: row;
|
|
67
|
-
justify-content: flex-start;
|
|
68
|
-
align-items: center;
|
|
113
|
+
.it-brand-wrapper {
|
|
114
|
+
align-self: center;
|
|
69
115
|
|
|
70
|
-
|
|
71
|
-
|
|
116
|
+
&.cloned-element {
|
|
117
|
+
.it-brand-text {
|
|
118
|
+
display: none;
|
|
119
|
+
}
|
|
72
120
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
121
|
+
a {
|
|
122
|
+
color: var(--#{$prefix}header-brand-color);
|
|
123
|
+
&:hover {
|
|
124
|
+
text-decoration: none;
|
|
76
125
|
}
|
|
77
126
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.icon {
|
|
86
|
-
fill: $header-center-text-color;
|
|
87
|
-
width: $header-center-icon-size * 0.5;
|
|
88
|
-
height: $header-center-icon-size * 0.5;
|
|
89
|
-
margin-right: $header-center-icon-margin;
|
|
90
|
-
flex-shrink: 0;
|
|
91
|
-
}
|
|
127
|
+
.icon {
|
|
128
|
+
flex-shrink: 0;
|
|
129
|
+
width: var(--#{$prefix}header-brand-size);
|
|
130
|
+
height: var(--#{$prefix}header-brand-size);
|
|
131
|
+
margin-right: var(--#{$prefix}spacing-xxs);
|
|
132
|
+
fill: var(--#{$prefix}header-brand-icon-color);
|
|
92
133
|
}
|
|
93
134
|
}
|
|
94
135
|
}
|
|
136
|
+
}
|
|
95
137
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
138
|
+
.it-search-wrapper {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
align-self: center;
|
|
142
|
+
margin-left: 4rem;
|
|
143
|
+
color: var(--#{$prefix}header-center-text-color);
|
|
144
|
+
font-size: var(--#{$prefix}header-center-font-size);
|
|
103
145
|
|
|
146
|
+
&.cloned-element {
|
|
104
147
|
a {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
height: $header-center-search-size;
|
|
108
|
-
border-radius: $header-center-search-radius;
|
|
109
|
-
background: $header-center-text-color;
|
|
110
|
-
display: flex;
|
|
111
|
-
justify-content: center;
|
|
112
|
-
align-items: center;
|
|
113
|
-
margin-left: $v-gap * 2;
|
|
114
|
-
transition: all 0.3s;
|
|
115
|
-
|
|
116
|
-
&:hover {
|
|
117
|
-
background: shade-color($header-center-text-color, 5%);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
svg {
|
|
121
|
-
fill: $header-center-bg-color;
|
|
122
|
-
width: $header-center-search-icon-size;
|
|
123
|
-
height: $header-center-search-icon-size;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
148
|
+
width: 35px;
|
|
149
|
+
height: 35px;
|
|
127
150
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
height: 35px;
|
|
132
|
-
|
|
133
|
-
svg {
|
|
134
|
-
width: 20px;
|
|
135
|
-
height: 20px;
|
|
136
|
-
}
|
|
151
|
+
svg {
|
|
152
|
+
width: 20px;
|
|
153
|
+
height: 20px;
|
|
137
154
|
}
|
|
138
155
|
}
|
|
139
156
|
}
|
|
157
|
+
}
|
|
140
158
|
|
|
141
|
-
|
|
142
|
-
|
|
159
|
+
.navbar-nav {
|
|
160
|
+
flex: 1;
|
|
143
161
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
}
|
|
162
|
+
// hide navbar-secondary if header is sticky
|
|
163
|
+
&.navbar-secondary {
|
|
164
|
+
display: none;
|
|
148
165
|
}
|
|
149
166
|
}
|
|
150
167
|
}
|
|
@@ -153,32 +170,23 @@
|
|
|
153
170
|
}
|
|
154
171
|
}
|
|
155
172
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
.it-brand-wrapper {
|
|
161
|
-
padding-left: 0;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
position: relative;
|
|
165
|
-
|
|
166
|
-
.it-header-navbar-wrapper {
|
|
167
|
-
position: inherit;
|
|
168
|
-
left: auto;
|
|
169
|
-
top: inherit;
|
|
170
|
-
margin-top: 0;
|
|
171
|
-
|
|
172
|
-
nav {
|
|
173
|
-
padding-left: $header-general-padding - ($grid-columns * 0.5);
|
|
174
|
-
padding-right: $header-general-padding - ($grid-columns * 0.5);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
173
|
+
.it-nav-wrapper {
|
|
174
|
+
position: relative;
|
|
175
|
+
z-index: auto;
|
|
176
|
+
}
|
|
178
177
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
178
|
+
.it-header-navbar-wrapper {
|
|
179
|
+
position: absolute;
|
|
180
|
+
top: 50%;
|
|
181
|
+
left: 8px;
|
|
182
|
+
z-index: 3;
|
|
183
|
+
margin-top: -20px;
|
|
184
|
+
transition: padding-top var(--#{$prefix}transition-instant) ease;
|
|
185
|
+
@include media-breakpoint-up(lg) {
|
|
186
|
+
position: inherit;
|
|
187
|
+
top: inherit;
|
|
188
|
+
left: auto;
|
|
189
|
+
margin-top: 0;
|
|
190
|
+
background: var(--#{$prefix}header-nav-background);
|
|
183
191
|
}
|
|
184
192
|
}
|
|
@@ -1,219 +1,155 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Component: headercenter
|
|
2
|
+
//
|
|
3
|
+
// Description: Component styles for headercenter
|
|
4
|
+
//
|
|
5
|
+
|
|
6
|
+
// Variables
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
// Properties
|
|
10
|
+
//
|
|
11
|
+
|
|
12
|
+
// Styles
|
|
13
|
+
//
|
|
14
|
+
|
|
2
15
|
.it-header-center-wrapper {
|
|
3
|
-
background: $header-center-bg-color;
|
|
4
|
-
height: $header-center-max-height-mob;
|
|
5
16
|
display: flex;
|
|
6
17
|
align-items: center;
|
|
7
|
-
|
|
8
|
-
|
|
18
|
+
height: var(--#{$prefix}header-center-height);
|
|
19
|
+
background: var(--#{$prefix}header-center-background);
|
|
20
|
+
|
|
21
|
+
// Header Center Small
|
|
9
22
|
&.it-small-header {
|
|
10
|
-
|
|
23
|
+
--#{$prefix}header-center-height: 4rem; // 64px
|
|
24
|
+
@include media-breakpoint-up(lg) {
|
|
25
|
+
--#{$prefix}header-center-height: 6.5rem; // 104px
|
|
26
|
+
}
|
|
11
27
|
}
|
|
28
|
+
}
|
|
12
29
|
|
|
13
|
-
|
|
14
|
-
|
|
30
|
+
.it-header-center-content-wrapper {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-basis: 100%;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
@include media-breakpoint-up(lg) {
|
|
36
|
+
padding: 0 var(--#{$prefix}header-spacing-inset);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Right zone
|
|
41
|
+
.it-right-zone {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
color: var(--#{$prefix}header-center-text-color);
|
|
45
|
+
|
|
46
|
+
.it-socials {
|
|
15
47
|
align-items: center;
|
|
16
|
-
|
|
17
|
-
flex-basis: 100%;
|
|
18
|
-
.it-brand-wrapper {
|
|
19
|
-
.it-brand-text {
|
|
20
|
-
padding-right: $v-gap * 3;
|
|
21
|
-
}
|
|
22
|
-
a {
|
|
23
|
-
display: flex;
|
|
24
|
-
color: $header-center-text-color;
|
|
25
|
-
align-items: center;
|
|
26
|
-
text-decoration: none;
|
|
27
|
-
h2,
|
|
28
|
-
.it-brand-title {
|
|
29
|
-
font-size: $header-center-h2-size-mob;
|
|
30
|
-
margin-bottom: 0;
|
|
31
|
-
font-weight: $header-center-h2-weight;
|
|
32
|
-
letter-spacing: unset;
|
|
33
|
-
line-height: 1.1;
|
|
34
|
-
}
|
|
35
|
-
h3,
|
|
36
|
-
.it-brand-tagline {
|
|
37
|
-
font-size: $header-center-h3-size;
|
|
38
|
-
font-weight: normal;
|
|
39
|
-
margin-bottom: 0;
|
|
40
|
-
}
|
|
41
|
-
&:hover {
|
|
42
|
-
text-decoration: none;
|
|
43
|
-
}
|
|
44
|
-
.icon {
|
|
45
|
-
fill: $header-center-text-color;
|
|
46
|
-
width: $header-center-icon-size-mob;
|
|
47
|
-
height: $header-center-icon-size-mob;
|
|
48
|
-
margin-right: $header-center-icon-margin-mob;
|
|
49
|
-
flex-shrink: 0;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
48
|
+
font-size: var(--#{$prefix}header-center-font-size);
|
|
53
49
|
|
|
54
|
-
|
|
55
|
-
.it-right-zone {
|
|
56
|
-
color: $header-center-text-color;
|
|
50
|
+
ul {
|
|
57
51
|
display: flex;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
font-size: $header-center-text-size;
|
|
62
|
-
ul {
|
|
63
|
-
list-style-type: none;
|
|
64
|
-
margin: 0;
|
|
65
|
-
padding: 0;
|
|
66
|
-
display: flex;
|
|
67
|
-
.icon {
|
|
68
|
-
fill: $header-center-text-color;
|
|
69
|
-
width: $header-center-social-size;
|
|
70
|
-
height: $header-center-social-size;
|
|
71
|
-
margin-left: $header-center-social-distance;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
52
|
+
margin: 0;
|
|
53
|
+
padding: 0;
|
|
54
|
+
list-style-type: none;
|
|
75
55
|
}
|
|
76
|
-
|
|
77
|
-
.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
height: $header-center-search-size * 0.5;
|
|
85
|
-
display: block;
|
|
86
|
-
display: flex;
|
|
87
|
-
justify-content: center;
|
|
88
|
-
align-items: center;
|
|
89
|
-
svg {
|
|
90
|
-
fill: $header-center-text-color;
|
|
91
|
-
width: $header-center-search-icon-size;
|
|
92
|
-
height: $header-center-search-icon-size;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
56
|
+
|
|
57
|
+
.icon {
|
|
58
|
+
width: var(--#{$prefix}icon-size-s);
|
|
59
|
+
height: var(--#{$prefix}icon-size-s);
|
|
60
|
+
margin-left: var(--#{$prefix}spacing-s);
|
|
61
|
+
fill: var(--#{$prefix}header-social-color);
|
|
62
|
+
&:hover {
|
|
63
|
+
--#{$prefix}header-social-color: var(--#{$prefix}color-background-inverse-hover);
|
|
95
64
|
}
|
|
96
65
|
}
|
|
97
66
|
}
|
|
98
67
|
}
|
|
99
68
|
|
|
100
|
-
//
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
69
|
+
// Search
|
|
70
|
+
.it-search-wrapper {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
font-size: var(--#{$prefix}header-center-font-size);
|
|
74
|
+
@include media-breakpoint-up(md) {
|
|
75
|
+
margin-left: 3rem; // 48px
|
|
104
76
|
}
|
|
105
|
-
|
|
106
|
-
|
|
77
|
+
|
|
78
|
+
a.rounded-icon {
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: center;
|
|
82
|
+
width: var(--#{$prefix}header-search-button-size);
|
|
83
|
+
height: var(--#{$prefix}header-search-button-size);
|
|
84
|
+
border-radius: var(--#{$prefix}radius-rounded);
|
|
85
|
+
background-color: transparent;
|
|
86
|
+
@include media-breakpoint-up(md) {
|
|
87
|
+
margin-left: var(--#{$prefix}icon-spacing);
|
|
88
|
+
background-color: var(--#{$prefix}header-search-button-background);
|
|
89
|
+
}
|
|
90
|
+
@include media-breakpoint-up(lg) {
|
|
91
|
+
width: 3.5rem; // 56px
|
|
92
|
+
height: 3.5rem; // 56px
|
|
93
|
+
&:hover {
|
|
94
|
+
background: var(--#{$prefix}color-background-inverse-hover);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
svg {
|
|
99
|
+
width: var(--#{$prefix}header-search-icon-size);
|
|
100
|
+
height: var(--#{$prefix}header-search-icon-size);
|
|
101
|
+
fill: var(--#{$prefix}header-search-icon-color);
|
|
102
|
+
}
|
|
107
103
|
}
|
|
108
104
|
}
|
|
109
105
|
|
|
110
|
-
//
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
// Brand
|
|
107
|
+
.it-brand-wrapper {
|
|
108
|
+
padding-left: var(--#{$prefix}header-brand-spacing);
|
|
109
|
+
|
|
110
|
+
@include media-breakpoint-up(lg) {
|
|
114
111
|
padding-left: 0;
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.it-brand-text {
|
|
115
|
+
margin-right: var(--#{$prefix}spacing-xxs);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
a {
|
|
119
|
+
display: flex;
|
|
120
|
+
align-items: center;
|
|
121
|
+
color: var(--#{$prefix}header-brand-color);
|
|
122
|
+
text-decoration: none;
|
|
123
|
+
|
|
124
|
+
&:hover {
|
|
125
|
+
text-decoration: none;
|
|
126
126
|
}
|
|
127
|
-
.it-header-center-content-wrapper {
|
|
128
|
-
padding-left: $header-general-padding - ($grid-columns * 0.5);
|
|
129
|
-
padding-right: $header-general-padding - ($grid-columns * 0.5);
|
|
130
|
-
display: flex;
|
|
131
|
-
align-items: center;
|
|
132
|
-
justify-content: space-between;
|
|
133
|
-
flex-basis: 100%;
|
|
134
|
-
.it-brand-wrapper {
|
|
135
|
-
margin-left: 0;
|
|
136
|
-
a {
|
|
137
|
-
display: flex;
|
|
138
|
-
align-items: center;
|
|
139
|
-
h2,
|
|
140
|
-
.it-brand-title {
|
|
141
|
-
font-size: $header-center-h2-size;
|
|
142
|
-
margin-bottom: 0;
|
|
143
|
-
font-weight: $header-center-h2-weight;
|
|
144
|
-
}
|
|
145
|
-
h3,
|
|
146
|
-
.it-brand-tagline {
|
|
147
|
-
font-size: $header-center-h3-size;
|
|
148
|
-
font-weight: normal;
|
|
149
|
-
margin-bottom: 0;
|
|
150
|
-
}
|
|
151
|
-
&:hover {
|
|
152
|
-
text-decoration: none;
|
|
153
|
-
}
|
|
154
|
-
.icon {
|
|
155
|
-
width: $header-center-icon-size;
|
|
156
|
-
height: $header-center-icon-size;
|
|
157
|
-
margin-right: $header-center-icon-margin;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
127
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
margin: 0;
|
|
172
|
-
padding: 0;
|
|
173
|
-
display: flex;
|
|
174
|
-
.icon {
|
|
175
|
-
width: $header-center-social-size;
|
|
176
|
-
height: $header-center-social-size;
|
|
177
|
-
margin-left: $header-center-social-distance;
|
|
178
|
-
}
|
|
179
|
-
a {
|
|
180
|
-
&:hover {
|
|
181
|
-
svg {
|
|
182
|
-
fill: darken($header-center-text-color, 5%);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
//-search
|
|
190
|
-
.it-search-wrapper {
|
|
191
|
-
display: flex;
|
|
192
|
-
align-items: center;
|
|
193
|
-
margin-left: $header-center-search-distance;
|
|
194
|
-
font-size: $header-center-text-size;
|
|
195
|
-
a {
|
|
196
|
-
&.rounded-icon {
|
|
197
|
-
width: $header-center-search-size;
|
|
198
|
-
height: $header-center-search-size;
|
|
199
|
-
border-radius: $header-center-search-radius;
|
|
200
|
-
background: $header-center-text-color;
|
|
201
|
-
display: flex;
|
|
202
|
-
justify-content: center;
|
|
203
|
-
align-items: center;
|
|
204
|
-
margin-left: $v-gap * 2;
|
|
205
|
-
transition: all 0.3s;
|
|
206
|
-
&:hover {
|
|
207
|
-
background: darken($header-center-text-color, 5%);
|
|
208
|
-
}
|
|
209
|
-
svg {
|
|
210
|
-
fill: $header-center-bg-color;
|
|
211
|
-
width: $header-center-search-icon-size;
|
|
212
|
-
height: $header-center-search-icon-size;
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
128
|
+
h2,
|
|
129
|
+
.it-brand-title {
|
|
130
|
+
margin-bottom: 0;
|
|
131
|
+
font-size: var(--#{$prefix}header-brand-title-size);
|
|
132
|
+
font-weight: var(--#{$prefix}heading-font-weight);
|
|
133
|
+
letter-spacing: unset;
|
|
134
|
+
line-height: var(--#{$prefix}heading-line-height);
|
|
135
|
+
@include media-breakpoint-up(lg) {
|
|
136
|
+
margin-bottom: var(--#{$prefix}spacing-3xs);
|
|
216
137
|
}
|
|
217
138
|
}
|
|
139
|
+
|
|
140
|
+
h3,
|
|
141
|
+
.it-brand-tagline {
|
|
142
|
+
margin-bottom: 0;
|
|
143
|
+
font-size: var(--#{$prefix}header-brand-tagline-size);
|
|
144
|
+
font-weight: var(--#{$prefix}body-font-weight);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// Brand icon
|
|
149
|
+
.icon {
|
|
150
|
+
width: var(--#{$prefix}header-brand-size);
|
|
151
|
+
height: var(--#{$prefix}header-brand-size);
|
|
152
|
+
margin-right: var(--#{$prefix}spacing-xxs);
|
|
153
|
+
fill: var(--#{$prefix}header-brand-icon-color);
|
|
218
154
|
}
|
|
219
155
|
}
|