bootstrap-italia 2.9.2 → 2.11.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.
@@ -4,24 +4,28 @@
4
4
  .it-header-wrapper {
5
5
  position: relative;
6
6
  z-index: 5;
7
+
7
8
  .it-nav-wrapper {
8
9
  position: relative;
9
10
  z-index: auto;
11
+
10
12
  // se ha un menu
11
13
  .it-brand-wrapper {
12
14
  padding-left: $v-gap * 4;
13
15
  }
16
+
14
17
  .it-header-navbar-wrapper {
15
18
  transition: padding-top 0.3s ease;
16
-
17
19
  position: absolute;
18
20
  z-index: 3;
19
21
  left: 0;
20
22
  top: 50%;
21
23
  margin-top: -$header-nav-button-distance;
24
+
22
25
  nav {
23
26
  padding-left: $header-general-padding - ($grid-columns * 0.5);
24
27
  padding-right: $header-general-padding - ($grid-columns * 0.5);
28
+
25
29
  .custom-navbar-toggler {
26
30
  padding: 0;
27
31
  transform: translateX(-2px);
@@ -34,6 +38,7 @@
34
38
  &.it-header-sticky {
35
39
  &.is-sticky {
36
40
  width: 100%;
41
+
37
42
  .it-nav-wrapper {
38
43
  //position: fixed;
39
44
  top: 0;
@@ -72,9 +77,11 @@
72
77
 
73
78
  a {
74
79
  color: $header-center-text-color;
80
+
75
81
  &:hover {
76
82
  text-decoration: none;
77
83
  }
84
+
78
85
  .icon {
79
86
  fill: $header-center-text-color;
80
87
  width: $header-center-icon-size * 0.5;
@@ -93,6 +100,7 @@
93
100
  margin-left: math.div($header-center-search-distance, 3);
94
101
  font-size: $header-center-text-size;
95
102
  color: $header-center-text-color;
103
+
96
104
  a {
97
105
  &.rounded-icon {
98
106
  width: $header-center-search-size;
@@ -104,9 +112,11 @@
104
112
  align-items: center;
105
113
  margin-left: $v-gap * 2;
106
114
  transition: all 0.3s;
115
+
107
116
  &:hover {
108
117
  background: shade-color($header-center-text-color, 5%);
109
118
  }
119
+
110
120
  svg {
111
121
  fill: $header-center-bg-color;
112
122
  width: $header-center-search-icon-size;
@@ -150,18 +160,22 @@
150
160
  .it-brand-wrapper {
151
161
  padding-left: 0;
152
162
  }
163
+
153
164
  position: relative;
165
+
154
166
  .it-header-navbar-wrapper {
155
167
  position: inherit;
156
168
  left: auto;
157
169
  top: inherit;
158
170
  margin-top: 0;
171
+
159
172
  nav {
160
173
  padding-left: $header-general-padding - ($grid-columns * 0.5);
161
174
  padding-right: $header-general-padding - ($grid-columns * 0.5);
162
175
  }
163
176
  }
164
177
  }
178
+
165
179
  .navbar .navbar-collapsable .menu-wrapper .nav-item.megamenu .dropdown-menu {
166
180
  left: 0;
167
181
  right: 0;
@@ -1,7 +1,10 @@
1
1
  //mobile
2
2
  .link-list-wrapper {
3
+ .list-item-title,
3
4
  .link-list-heading {
4
5
  font-size: $link-list-heading-size;
6
+ }
7
+ .link-list-heading {
5
8
  color: $color-text-base;
6
9
  padding: 0 $link-list-h-pad;
7
10
  font-weight: 600;
@@ -4,6 +4,7 @@
4
4
  list-style-type: none;
5
5
  margin: 0;
6
6
  padding: 0;
7
+
7
8
  .list-item {
8
9
  transition: all 0.3s;
9
10
  margin-top: -1px;
@@ -12,103 +13,105 @@
12
13
  text-decoration: none;
13
14
  border-bottom: 1px solid $list-border-color;
14
15
  overflow-wrap: anywhere;
16
+
15
17
  .avatar,
16
18
  .it-rounded-icon,
17
19
  .it-thumb {
18
20
  flex-shrink: 0;
19
21
  margin-right: $v-gap * 2;
20
22
  }
23
+
21
24
  .it-rounded-icon {
22
25
  width: $v-gap * 5;
26
+
23
27
  svg {
24
28
  fill: $primary-a5;
25
29
  }
26
30
  }
31
+
27
32
  .form-check {
28
33
  margin-right: $v-gap;
29
34
  width: $v-gap;
30
35
  height: $v-gap * 4;
31
36
  text-align: left;
37
+
32
38
  & + .it-right-zone {
33
39
  margin-left: $v-gap * 2;
34
40
  }
41
+
35
42
  label {
36
43
  padding-left: 0;
37
44
  margin-bottom: 0;
38
45
  }
39
46
  }
47
+
40
48
  .it-thumb {
41
49
  width: $v-gap * 5;
42
50
  height: $v-gap * 5;
51
+
43
52
  img {
44
53
  object-fit: cover;
45
54
  width: 100%;
46
55
  height: 100%;
47
56
  }
48
57
  }
58
+
49
59
  .it-right-zone {
50
60
  padding: $list-text-padding;
51
61
  flex-grow: 1;
52
62
  display: flex;
53
63
  justify-content: space-between;
54
64
  align-items: center;
55
- a {
56
- text-decoration: none;
57
- }
65
+
58
66
  svg {
59
67
  fill: $primary;
60
68
  width: $v-gap * 3;
61
69
  height: $v-gap * 3;
62
70
  }
63
- span.it-multiple {
71
+
72
+ .it-multiple {
64
73
  display: flex;
65
74
  justify-content: flex-end;
66
75
  flex-wrap: wrap;
67
- span.metadata {
76
+
77
+ .metadata {
68
78
  margin-right: 0;
69
79
  width: 100%;
70
80
  text-align: right;
71
81
  }
82
+
72
83
  svg {
73
84
  margin-left: $v-gap * 2;
74
85
  margin-right: 0;
75
86
  }
76
87
  }
88
+
77
89
  .toggles {
78
90
  height: $v-gap * 4;
79
91
  }
80
- span.metadata {
92
+
93
+ .metadata {
81
94
  color: $list-metadata-color;
82
95
  font-size: $list-metadata-size;
83
96
  letter-spacing: $list-metadata-space;
84
- a {
85
- color: $primary;
86
- }
87
97
  }
88
- }
89
- span.text {
90
- font-size: $list-font-size;
91
- font-weight: 600;
92
- display: block;
93
- @include media-breakpoint-up(lg) {
94
- font-size: 1.125rem;
98
+
99
+ .text {
100
+ font-size: $list-font-size;
101
+ font-weight: $font-weight-semibold;
102
+ @include media-breakpoint-up(lg) {
103
+ font-size: 1.125rem;
104
+ }
95
105
  }
96
- em {
97
- display: block;
106
+
107
+ .text + p {
98
108
  font-size: $list-sub-size;
99
109
  color: $list-sub-color;
100
- font-style: normal;
101
- font-weight: normal;
102
- }
103
- }
104
- // active
105
- &.active {
106
- color: $color-text-base;
107
- .text {
108
- color: $color-text-base;
110
+ font-weight: $font-weight-normal;
109
111
  }
110
112
  }
111
113
  }
114
+
112
115
  li:last-child {
113
116
  .list-item {
114
117
  span.text {
@@ -116,12 +119,15 @@
116
119
  }
117
120
  }
118
121
  }
122
+
123
+ a .text {
124
+ text-decoration: underline;
125
+ }
119
126
  }
120
127
  }
121
128
 
122
- //Desktop
129
+ // Desktop
123
130
  @include media-breakpoint-up(xl) {
124
- //mobile
125
131
  .it-list-wrapper {
126
132
  .it-list {
127
133
  .list-item {
@@ -130,32 +136,30 @@
130
136
  .it-thumb {
131
137
  margin-left: $v-gap;
132
138
  margin-right: 0;
139
+
133
140
  & + .it-right-zone {
134
141
  margin-left: $v-gap * 2;
135
142
  }
136
143
  }
144
+
137
145
  .form-check {
138
146
  margin-right: $v-gap * 2;
139
147
  text-align: center;
140
148
  }
149
+
141
150
  // hover
142
151
  .it-right-zone {
143
152
  margin-left: $v-gap;
144
153
  margin-right: $v-gap;
145
- a {
146
- &:hover {
147
- .text {
148
- color: $primary;
149
- text-decoration: underline;
150
- }
151
- }
152
- }
154
+
153
155
  span.it-multiple {
154
156
  margin-right: $v-gap;
157
+
155
158
  a {
156
159
  svg {
157
- transition: all 0.3s;
160
+ transition: fill 0.3s;
158
161
  }
162
+
159
163
  &:hover {
160
164
  svg {
161
165
  fill: $primary-a10;
@@ -163,33 +167,26 @@
163
167
  }
164
168
  }
165
169
  }
170
+
166
171
  .toggles {
167
172
  margin-right: 0;
168
173
  }
174
+
169
175
  span.metadata {
170
176
  margin-right: $v-gap;
171
- a:hover {
172
- text-decoration: underline;
173
- }
174
177
  }
175
178
  }
176
179
  }
177
- a {
178
- &.list-item {
179
- &:hover {
180
- box-shadow: $card-shadow;
181
- color: $color-text-primary-hover;
182
- text-decoration: none;
183
- background: $white;
184
- position: relative;
185
- z-index: 1;
186
- transition: none;
187
- border-bottom: 1px solid transparent;
188
- span.text {
189
- text-decoration: underline;
190
- }
191
- }
192
- }
180
+
181
+ a.list-item:hover {
182
+ box-shadow: $card-shadow;
183
+ color: $color-text-primary-hover;
184
+ text-decoration: none;
185
+ background: $white;
186
+ position: relative;
187
+ z-index: 1;
188
+ transition: none;
189
+ border-bottom: 1px solid transparent;
193
190
  }
194
191
  }
195
192
  }
@@ -2,6 +2,7 @@
2
2
  .skiplinks {
3
3
  background-color: $skiplinks-bg;
4
4
  text-align: center;
5
+
5
6
  a {
6
7
  padding: $skiplink-padding-y $skiplink-padding-x;
7
8
  display: block;
@@ -9,4 +10,12 @@
9
10
  color: $skiplinks-color;
10
11
  text-decoration: underline;
11
12
  }
13
+
14
+ ul {
15
+ list-style: none;
16
+ padding: 0;
17
+ font-size: 1rem;
18
+ line-height: 1.5rem;
19
+ margin-bottom: 0;
20
+ }
12
21
  }
@@ -62,6 +62,8 @@
62
62
  background: $timeline-pin-background;
63
63
  border-radius: $border-radius;
64
64
  font-family: $font-family-monospace;
65
+ font-size: var(--bs-body-font-size);
66
+ line-height: var(--bs-body-line-height);
65
67
 
66
68
  span {
67
69
  padding: $v-gap * 0.5 $v-gap * 2;
@@ -1,3 +1,3 @@
1
1
  :root {
2
- --bootstrap-italia-version: '2.9.2';
2
+ --bootstrap-italia-version: '2.11.0';
3
3
  }
@@ -1,3 +1,13 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M12 22L6.31001 11.63C4.99676 9.25198 5.30085 6.30809 7.07246 4.24872C8.84407 2.18935 11.7095 1.4489 14.257 2.39217C16.8045 3.33544 18.4968 5.76346 18.5 8.48C18.4997 9.57513 18.2209 10.6522 17.69 11.61L12 22ZM12 3C10.0517 2.99538 8.24688 4.02372 7.25751 5.70214C6.26815 7.38057 6.24246 9.45762 7.19 11.16L12 19.94L16.82 11.13C17.2627 10.3166 17.4963 9.40602 17.5 8.48C17.4835 5.45253 15.0275 3.00545 12 3ZM8.5 9V8H15.5V9H8.5Z" />
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg version="1.1" id="Livello_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
3
+ viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
4
+ <g>
5
+ <path
6
+ d="M17.7,5.3C16,2.2,12,1.1,8.9,2.8s-4.3,5.7-2.5,8.8L12,22l5.7-10.4c0.5-1,0.8-2,0.8-3.1S18.2,6.3,17.7,5.3z M16.8,11.1 L12,19.9l-4.8-8.8c-0.5-0.8-0.7-1.7-0.7-2.7C6.5,5.4,9,3,12,3s5.5,2.5,5.5,5.5C17.5,9.4,17.3,10.3,16.8,11.1z"
7
+ id="path2" />
8
+ </g>
9
+ <path
10
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
11
+ d="m 9.3661034,9.0091423 5.2094906,0.017287"
12
+ id="path859" />
3
13
  </svg>