jekyll-theme-pirati 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/_data/members.yml +9 -0
  3. data/_includes/accordeon/accordeon.html +1 -3
  4. data/_includes/articles/author.html +8 -0
  5. data/_includes/articles/horizontal-article.html +48 -0
  6. data/_includes/articles/list-responsive.html +9 -0
  7. data/_includes/articles/pagination.html +23 -23
  8. data/_includes/articles/vertical-article.html +51 -0
  9. data/_includes/candidate-badge.html +14 -0
  10. data/_includes/contacts/basic-contacts.html +33 -0
  11. data/_includes/contacts/{residance.html → residence.html} +4 -4
  12. data/_includes/footer.html +13 -13
  13. data/_includes/head.html +22 -22
  14. data/_includes/header.html +1 -1
  15. data/_includes/headline-image.html +3 -2
  16. data/_includes/js/main.html +3 -3
  17. data/_includes/menu.html +1 -1
  18. data/_includes/page-header.html +12 -0
  19. data/_includes/people/list-group.html +7 -9
  20. data/_includes/people/list-responsive.html +13 -0
  21. data/_includes/people/profile-badge.html +44 -31
  22. data/_includes/right-bar/bar_cal.html +2 -3
  23. data/_includes/right-bar/bar_foto.html +2 -5
  24. data/_includes/right-bar/bar_garant.html +2 -4
  25. data/_includes/right-bar/bar_people.html +5 -7
  26. data/_includes/right-bar/bar_person_contact.html +8 -10
  27. data/_includes/right-bar/bar_program.html +10 -12
  28. data/_includes/right-bar/bar_video.html +1 -1
  29. data/_includes/right-bar/rbar.html +0 -11
  30. data/_includes/submenu.html +1 -1
  31. data/_layouts/contacts.html +3 -3
  32. data/_layouts/default.html +1 -1
  33. data/_layouts/komunalni-volby.html +47 -51
  34. data/_layouts/members.html +26 -0
  35. data/_layouts/page.html +9 -23
  36. data/_layouts/post.html +33 -42
  37. data/_layouts/program-post.html +5 -0
  38. data/_sass/_base.scss +0 -120
  39. data/_sass/_settings.scss +4 -4
  40. data/_sass/components/article-listing.scss +51 -0
  41. data/_sass/components/blockquote.scss +5 -7
  42. data/_sass/components/hp-banner.scss +11 -0
  43. data/_sass/components/pagination.scss +28 -7
  44. data/_sass/components/program.scss +24 -49
  45. data/_sass/components/simple-accordion.scss +16 -23
  46. data/_sass/components/top-bar.scss +18 -50
  47. data/_sass/components/typography.scss +15 -2
  48. data/_sass/components/vertical-navigation.scss +1 -3
  49. data/_sass/components/widget-accordion.scss +54 -208
  50. data/_sass/objects/media.scss +21 -54
  51. data/_sass/objects/section.scss +1 -5
  52. data/_sass/utilities/utilities.scss +18 -90
  53. data/assets/css/main.scss +2 -6
  54. data/assets/{favicon → img/favicon}/apple-touch-icon-114x114.png +0 -0
  55. data/assets/{favicon → img/favicon}/apple-touch-icon-120x120.png +0 -0
  56. data/assets/{favicon → img/favicon}/apple-touch-icon-144x144.png +0 -0
  57. data/assets/{favicon → img/favicon}/apple-touch-icon-152x152.png +0 -0
  58. data/assets/{favicon → img/favicon}/apple-touch-icon-57x57.png +0 -0
  59. data/assets/{favicon → img/favicon}/apple-touch-icon-60x60.png +0 -0
  60. data/assets/{favicon → img/favicon}/apple-touch-icon-72x72.png +0 -0
  61. data/assets/{favicon → img/favicon}/apple-touch-icon-76x76.png +0 -0
  62. data/assets/{favicon/favicon-128.png → img/favicon/favicon-128x128.png} +0 -0
  63. data/assets/{favicon → img/favicon}/favicon-16x16.png +0 -0
  64. data/assets/{favicon → img/favicon}/favicon-196x196.png +0 -0
  65. data/assets/{favicon → img/favicon}/favicon-32x32.png +0 -0
  66. data/assets/{favicon → img/favicon}/favicon-96x96.png +0 -0
  67. data/assets/{favicon → img/favicon}/favicon.ico +0 -0
  68. data/assets/{favicon → img/favicon}/mstile-144x144.png +0 -0
  69. data/assets/{favicon → img/favicon}/mstile-150x150.png +0 -0
  70. data/assets/{favicon → img/favicon}/mstile-310x150.png +0 -0
  71. data/assets/{favicon → img/favicon}/mstile-310x310.png +0 -0
  72. data/assets/{favicon → img/favicon}/mstile-70x70.png +0 -0
  73. data/assets/js/{0.main.98ff15822eba72edef32.js → 0.main.e640f60e727337dacf2d.js} +0 -0
  74. data/assets/js/{0.main.98ff15822eba72edef32.js.map → 0.main.e640f60e727337dacf2d.js.map} +1 -1
  75. data/assets/js/main.e640f60e727337dacf2d.css +3 -0
  76. data/assets/js/main.e640f60e727337dacf2d.css.map +1 -0
  77. data/assets/js/{main.98ff15822eba72edef32.js → main.e640f60e727337dacf2d.js} +0 -0
  78. data/assets/js/{main.98ff15822eba72edef32.js.map → main.e640f60e727337dacf2d.js.map} +1 -1
  79. metadata +41 -45
  80. data/_includes/articles/featured_article.html +0 -56
  81. data/_includes/articles/hp_article.html +0 -41
  82. data/_includes/articles/list_3col.html +0 -22
  83. data/_includes/articles/standard_article.html +0 -47
  84. data/_includes/candidate_badge.html +0 -16
  85. data/_includes/contacts/basic_contacts.html +0 -34
  86. data/_includes/people/list-2col.html +0 -28
  87. data/_includes/right-bar/bar_list.html +0 -48
  88. data/_includes/right-bar/bar_otevrenost.html +0 -29
  89. data/_includes/right-bar/bar_teams_summary.html +0 -30
  90. data/_includes/right-bar/bar_teams_toc.html +0 -31
  91. data/_includes/right-bar/bar_toc.html +0 -77
  92. data/_layouts/team.html +0 -45
  93. data/_sass/components/BlogPosting.scss +0 -276
  94. data/_sass/components/pripoj-se.scss +0 -97
  95. data/assets/js/main.98ff15822eba72edef32.css +0 -3
  96. data/assets/js/main.98ff15822eba72edef32.css.map +0 -1
  97. data/assets/people/piratska-strana.png +0 -0
  98. data/assets/people/ppp.jpg +0 -0
@@ -41,13 +41,7 @@ $program-item-ns: '';
41
41
  .#{$program-item-ns}c-program-items__item-wrap {
42
42
  display: flex;
43
43
  color: $white;
44
- border: 1px $light-gray solid;
45
- transition: border-color .2s ease-in-out;
46
-
47
- &:hover {
48
- border-color: $primary-color;
49
- color: $white;
50
- }
44
+ border: 3px $primary-color solid;
51
45
  }
52
46
 
53
47
 
@@ -58,14 +52,6 @@ $program-item-ns: '';
58
52
  .#{$program-item-ns}c-program-items__item-inner {
59
53
  padding: 1.25rem;
60
54
 
61
- .#{$program-item-ns}c-program-items__item-title {
62
- color: $primary-color;
63
- font-weight: 600;
64
- font-size: 1.5rem;
65
-
66
- @include headlineAnchor();
67
- }
68
-
69
55
  a:not(.button) {
70
56
  color: $black;
71
57
  // color: $white;
@@ -96,40 +82,29 @@ $program-item-ns: '';
96
82
  display: flex; // keep the height uniform
97
83
 
98
84
  .#{$program-item-ns}c-program-candidate-badge__body {
99
- width: 100%;
100
- display: flex;
101
- flex-direction: column;
102
- border: 1px $light-gray solid;
103
-
104
- .#{$program-item-ns}c-program-candidate-badge__description {
105
- padding: 1rem;
106
- }
107
-
108
- .#{$program-item-ns}c-program-candidate-badge__name {
109
- font-size: 1.5rem;
110
- font-weight: 600;
111
-
112
- @include headlineAnchor();
113
-
114
- @include breakpoint(medium down) {
115
- font-size: 1.25rem;
116
- }
117
- }
118
-
119
- .#{$program-item-ns}c-program-candidate-badge__profession {
120
- display: block;
121
- margin-bottom: .25rem;
122
- font-weight: 600;
123
- }
124
-
125
- .#{$program-item-ns}c-program-candidate-badge__bio {
126
- margin-top: 1rem;
127
- margin-bottom: 0;
128
-
129
- @include breakpoint(medium down) {
130
- display: none;
131
- }
132
- }
85
+ width: 100%;
86
+ display: flex;
87
+ flex-direction: column;
88
+ border: 3px $primary-color solid;
89
+
90
+ .#{$program-item-ns}c-program-candidate-badge__description {
91
+ padding: 1rem;
92
+ }
93
+
94
+ .#{$program-item-ns}c-program-candidate-badge__profession {
95
+ display: block;
96
+ margin-bottom: .25rem;
97
+ font-weight: 600;
98
+ }
99
+
100
+ .#{$program-item-ns}c-program-candidate-badge__bio {
101
+ margin-top: 1rem;
102
+ margin-bottom: 0;
103
+
104
+ @include breakpoint(medium down) {
105
+ display: none;
106
+ }
107
+ }
133
108
  }
134
109
 
135
110
  .#{$program-item-ns}c-program-candidate-badge__avatar {
@@ -1,15 +1,14 @@
1
1
  .c-simple-accordion {
2
2
  border: 0 !important; // Because of Foundation's bloat
3
3
  @include accordion-container;
4
- }
5
-
6
- .c-simple-accordion.c-simple-accordion--nomargin {
7
- margin-bottom: 0;
8
- }
9
4
 
5
+ &.c-simple-accordion--nomargin {
6
+ margin-bottom: 0;
10
7
 
11
- .c-simple-accordion.c-simple-accordion--nomargin :last-child>.c-simple-accordion-content:last-child {
12
- padding-bottom: 0;
8
+ :last-child > .c-simple-accordion-content:last-child {
9
+ padding-bottom: 0;
10
+ }
11
+ }
13
12
  }
14
13
 
15
14
  .c-simple-accordion-item {
@@ -18,35 +17,25 @@
18
17
  display: none !important;
19
18
  }
20
19
  @include accordion-item;
21
-
22
- &.is-active .c-simple-accordion-title:before {
23
- line-height: 15px;
24
- }
25
20
  }
26
21
 
27
22
  .c-simple-accordion-title {
28
23
  @include accordion-title;
29
- display: inline-block;
24
+ display: block;
30
25
  padding-left: 2.5rem;
31
- font-size: 1.75rem !important;
32
- color: $body-font-color;
33
- text-decoration: none !important;
34
- background: #fff;
35
- border: none;
36
-
26
+ border: 0; // override accordion-title
27
+
37
28
  &:hover,
38
29
  &:focus {
39
30
  color: $body-font-color;
40
- text-decoration: none !important;
41
- background: #FFF;
31
+ background: $white;
42
32
  }
43
33
 
44
34
  &:before {
45
- border-radius: 3px;
46
35
  display: inline-block;
47
36
  width: 22px;
48
37
  height: 22px;
49
- line-height: 20px;
38
+ line-height: 22px;
50
39
  right: auto;
51
40
  left: 0;
52
41
  margin-top: auto;
@@ -58,6 +47,10 @@
58
47
  }
59
48
  }
60
49
 
50
+ .c-simple-accordion__headline {
51
+ margin: 0;
52
+ }
53
+
61
54
  .c-simple-accordion-content {
62
55
  border: 0 !important; // Because of Foundation's bloat, again
63
56
  @include accordion-content;
@@ -80,6 +73,6 @@
80
73
  }
81
74
  }
82
75
 
83
- :last-child:not(.is-active)>.c-simple-accordion-title {
76
+ :last-child:not(.is-active) > .c-simple-accordion-title {
84
77
  border: none;
85
78
  }
@@ -1,7 +1,7 @@
1
1
  .c-search {
2
2
  display: flex;
3
3
  align-items: center;
4
- border-bottom: 1px $medium-gray solid;
4
+ border-bottom: 3px $primary-color solid;
5
5
  }
6
6
 
7
7
  .c-search__input {
@@ -47,6 +47,7 @@
47
47
  left: 0;
48
48
  z-index: 10;
49
49
  background: $light-gray;
50
+ border-bottom: 3px $primary-color solid;
50
51
 
51
52
  width: calc(100% + 2.5rem);
52
53
  margin-left: -1.25rem;
@@ -71,6 +72,10 @@
71
72
  @include breakpoint(medium down) {
72
73
  display: block;
73
74
  }
75
+
76
+ @include breakpoint(small down) {
77
+ text-align: center;
78
+ }
74
79
  }
75
80
 
76
81
  .c-responsive-menu__item a {
@@ -78,9 +83,11 @@
78
83
  position: relative;
79
84
  color: map-get($foundation-palette, dark);
80
85
  text-transform: uppercase;
81
- font-size: 1.15rem;
82
- transition: color 0.2s;
83
- padding: 0.7rem 1.25rem;
86
+ font-family: $header-font-family;
87
+ font-size: 1.25rem;
88
+ font-weight: 600;
89
+ margin: 0.7rem 1.25rem;
90
+ padding: 4px .25em 0; // 4px to compensate for font
84
91
 
85
92
  @include breakpoint(medium down) {
86
93
  padding: 1rem 1.8rem;
@@ -93,45 +100,10 @@
93
100
  color: $primary-color;
94
101
  }
95
102
 
96
- // On mobile view, display a divider between items.
97
- .c-responsive-menu__item:not(:first-child) a {
98
- @include breakpoint(medium down) {
99
- &:before {
100
- content: '';
101
- box-sizing: border-box;
102
- width: calc(100% - 3.6rem);
103
- height: 1px;
104
- display: inline-block;
105
- position: absolute;
106
- top: 0;
107
- left: 1.8rem;
108
- transform: none;
109
- background: #d3d3d3;
110
- }
111
- }
112
- }
113
-
114
- // On desktop view, display 'underline' block under the menu link.
115
- .c-responsive-menu__item a {
116
- @include breakpoint(large) {
117
- &:after {
118
- content: '';
119
- display: block;
120
- position: absolute;
121
- bottom: 0;
122
- left: 1rem;
123
- right: 1rem;
124
- height: 4px;
125
- background: transparent;
126
- transition: background 0.2s;
127
- }
128
- }
129
- }
130
-
131
- // Highlights underline block when item is active.
132
- .c-responsive-menu__item a:hover:after,
133
- .c-responsive-menu__item--active a:after {
103
+ .c-responsive-menu__item a:hover,
104
+ .c-responsive-menu__item--active a {
134
105
  background: $primary-color;
106
+ color: $secondary-color;
135
107
  }
136
108
 
137
109
  // Display '/' divider between menu items on desktop view.
@@ -142,9 +114,8 @@
142
114
  width: 12px;
143
115
  display: inline-block;
144
116
  position: absolute;
145
- top: 0.25rem;
146
- left: 0;
147
- transform: translateX(-50%);
117
+ top: -1px;
118
+ left: -27px;
148
119
  font-size: 1.7rem;
149
120
  color: $medium-gray;
150
121
  border: 0px solid transparent;
@@ -158,12 +129,8 @@
158
129
  display: flex;
159
130
  align-items: center;
160
131
 
161
- @include breakpoint(large) {
162
- padding: .5rem;
163
- }
164
-
165
132
  @include breakpoint(medium down) {
166
- padding: 1.5rem 1rem;
133
+ padding: 1.5rem 0;
167
134
  }
168
135
  }
169
136
 
@@ -226,6 +193,7 @@
226
193
 
227
194
  // Divides top bar from the rest of the page.
228
195
  .c-top-bar__divider {
196
+ clear: both;
229
197
  display: block;
230
198
  height: 5px;
231
199
  margin-top: -3px;
@@ -1,16 +1,30 @@
1
1
  @mixin emphasizedAnchor {
2
2
  text-decoration: underline;
3
3
 
4
- &:hover {
4
+ &:hover,
5
+ &.active {
5
6
  background-color: $primary-color;
6
7
  color: $secondary-color;
7
8
  }
9
+
8
10
  }
9
11
 
10
12
  @mixin headlineAnchor {
11
13
  text-decoration: underline;
12
14
  }
13
15
 
16
+ // Makes classes for each headline style that can be used to override the looks:
17
+ // t-h1, t-h2, ...
18
+ @each $size, $headers in $header-sizes {
19
+ @include breakpoint($size) {
20
+ @each $header, $font-size in $headers {
21
+ .t-#{$header} {
22
+ font-size: rem-calc($font-size);
23
+ }
24
+ }
25
+ }
26
+ }
27
+
14
28
  // Special page title header
15
29
  .c-page-title {
16
30
  font-size: 2.55rem;
@@ -40,4 +54,3 @@
40
54
  @include headlineAnchor();
41
55
  }
42
56
 
43
-
@@ -1,8 +1,6 @@
1
1
  $vn-ns: '';
2
2
 
3
3
  .#{$vn-ns}c-vertical-navigation {
4
- margin: 18px 0 10px 0;
5
-
6
4
  @include breakpoint(medium down) {
7
5
  padding: 5px;
8
6
  }
@@ -65,4 +63,4 @@ $vn-ns: '';
65
63
 
66
64
  }
67
65
 
68
- }
66
+ }
@@ -1,102 +1,79 @@
1
- $wa-ns: '';
2
-
3
- .#{$wa-ns}c-widget-accordion {
1
+ .c-widget-accordion {
4
2
  @include accordion-container;
5
-
6
- transition: 0.2s background;
7
3
  background: $primary-color;
8
- box-shadow: 0 4px 2px -2px #e3e3e3;
9
-
10
- &:hover {
11
- background: darken($primary-color, 10%);
12
- }
13
- }
14
-
15
- .#{$wa-ns}c-widget-accordion + .#{$wa-ns}c-widget-accordion {
16
- margin-top: 2.15rem;
17
4
  }
18
5
 
19
- .#{$wa-ns}c-widget-accordion--unstacksibling + .#{$wa-ns}c-widget-accordion--unstacksibling {
20
- margin-top: 0rem;
6
+ .c-widget-accordion + .c-widget-accordion {
7
+ margin-top: 1rem;
21
8
  }
22
9
 
23
- .#{$wa-ns}c-widget-accordion.#{$wa-ns}c-widget-accordion--topspace {
24
- margin-top: 1.75rem;
25
- margin-bottom: 0.5rem;
26
- }
27
-
28
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-item {
29
- @include accordion-item;
10
+ .c-widget-accordion-link {
11
+ position: relative;
12
+ font-family: $header-font-family-sub;
13
+ font-size: 1.5rem;
14
+ padding: 0;
15
+ padding-left: 1rem;
16
+ display: table;
17
+ height: 50px;
18
+ min-height: 50px;
19
+ line-height: 1;
20
+ width: 100%;
21
+ background: $primary-color !important;
30
22
 
31
- .#{$wa-ns}c-widget-accordion-link:before {
23
+ &:before {
24
+ position: absolute;
25
+ right: 1rem;
26
+ top: 50%;
32
27
  content: '\f196';
33
28
  font-family: 'FontAwesome';
34
29
  font-size: 1.4rem;
35
30
  margin-top: -0.7rem;
36
- color: #fff;
31
+ color: $white;
37
32
  }
33
+ }
38
34
 
39
- &.is-active .#{$wa-ns}c-widget-accordion-link:before {
35
+ .c-widget-accordion .c-widget-accordion-item {
36
+ &.is-active .c-widget-accordion-link:before {
40
37
  content: '\f147';
41
38
  }
42
39
 
43
- .#{$wa-ns}c-widget-accordion-link.#{$wa-ns}c-widget-accordion-link--fb:before {
40
+ .c-widget-accordion-link.c-widget-accordion-link--fb:before {
44
41
  content: '\f09a';
45
42
  margin-right: 0.5rem;
46
43
  }
47
44
 
48
- .#{$wa-ns}c-widget-accordion-link.#{$wa-ns}c-widget-accordion-link--twitter:before {
45
+ .c-widget-accordion-link.c-widget-accordion-link--twitter:before {
49
46
  content: '\f099';
50
47
  margin-right: 0.5rem;
51
48
  }
52
49
 
53
- .#{$wa-ns}c-widget-accordion-link.#{$wa-ns}c-widget-accordion-link--fb:hover,
54
- .#{$wa-ns}c-widget-accordion-link.#{$wa-ns}c-widget-accordion-link--twitter:hover {
50
+ .c-widget-accordion-link.c-widget-accordion-link--fb:hover,
51
+ .c-widget-accordion-link.c-widget-accordion-link--twitter:hover {
55
52
  background: #2785ce !important;
56
53
  cursor: default;
57
54
  }
58
-
59
55
  }
60
56
 
61
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-link {
62
- @include accordion-title;
63
- font-family: $header-font-family;
64
- font-weight: 500;
65
- font-size: 1.55rem;
66
- padding: 0;
67
- padding-left: 1.2rem;
68
- display: table;
69
- height: 50px;
70
- min-height: 50px;
71
- width: 100%;
72
- transition: 0.2s background;
73
- background: $primary-color !important;
74
-
75
- &:hover {
76
- background: darken($primary-color, 10%) !important;
77
- }
78
- }
79
-
80
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion__icon,
81
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion__title {
57
+ .c-widget-accordion .c-widget-accordion__icon,
58
+ .c-widget-accordion .c-widget-accordion__title {
82
59
  display: table-cell;
83
60
  vertical-align: middle;
84
61
  line-height: normal;
85
- color: #fff;
62
+ color: $white;
86
63
  white-space: nowrap;
87
64
  }
88
65
 
89
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion__title--noicon {
66
+ .c-widget-accordion .c-widget-accordion__title--noicon {
90
67
  width: 100%;
91
68
  }
92
69
 
93
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion__title--plain {
70
+ .c-widget-accordion .c-widget-accordion__title--plain {
94
71
  font-family: $body-font-family;
95
72
  font-weight: 600;
96
73
  font-size: 1.15rem;
97
74
  }
98
75
 
99
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion__icon {
76
+ .c-widget-accordion .c-widget-accordion__icon {
100
77
  opacity: 0.2;
101
78
  font-size: 2rem;
102
79
  padding-left: 1rem;
@@ -107,192 +84,61 @@ $wa-ns: '';
107
84
  }
108
85
  }
109
86
 
110
- .#{$wa-ns}c-widget-accordion
111
- .#{$wa-ns}c-widget-accordion__icon.#{$wa-ns}c-widget-accordion__icon--bottom {
87
+ .c-widget-accordion
88
+ .c-widget-accordion__icon.c-widget-accordion__icon--bottom {
112
89
  vertical-align: bottom;
113
90
  }
114
91
 
115
- .#{$wa-ns}c-widget-accordion
116
- .#{$wa-ns}c-widget-accordion__icon.#{$wa-ns}c-widget-accordion__icon--bottomPulled i {
92
+ .c-widget-accordion
93
+ .c-widget-accordion__icon.c-widget-accordion__icon--bottomPulled i {
117
94
  margin-bottom: -0.2em;
118
95
  }
119
96
 
120
- .#{$wa-ns}c-widget-accordion
121
- .#{$wa-ns}c-widget-accordion__icon.#{$wa-ns}c-widget-accordion__icon--top {
97
+ .c-widget-accordion
98
+ .c-widget-accordion__icon.c-widget-accordion__icon--top {
122
99
  vertical-align: top;
123
100
  }
124
101
 
125
- .#{$wa-ns}c-widget-accordion span:last-child {
102
+ .c-widget-accordion span:last-child {
126
103
  white-space: nowrap;
127
104
  width: 100%;
128
105
  }
129
106
 
130
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-content {
131
- @include accordion-content;
132
- background: #f3f3f3;
133
- padding: 1.2rem;
134
- }
135
-
136
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-content-inner {
107
+ .c-widget-accordion .c-widget-accordion-content {
108
+ padding: 1rem;
137
109
  background: $white;
138
- padding: 1.2rem;
139
- line-height: 1.45;
140
-
141
- h4 {
142
- font-weight: bold;
143
- }
144
-
145
- &.#{$wa-ns}c-widget-accordion-content-inner--unpadded {
146
- padding: 0;
147
- }
148
-
149
- &.#{$wa-ns}c-widget-accordion-content-inner--nofill {
150
- background: transparent;
151
- }
152
-
153
- &.#{$wa-ns}c-widget-accordion-content-inner--bigp p {
154
- font-size: 1.15rem;
155
- }
110
+ border: 3px $primary-color solid;
156
111
  }
157
112
 
158
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-link,
159
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-content {
113
+ .c-widget-accordion .c-widget-accordion-link {
160
114
  border: 0;
161
- }
162
-
163
- :last-child:not(.is-active) > .c-widget-accordion .c-widget-accordion-link {
164
115
  border-bottom: 0;
165
116
  }
166
117
 
167
- :last-child > .c-widget-accordion .c-widget-accordion-content:last-child {
168
- border-bottom: 0;
118
+ .c-widget-accordion .c-widget-accordion-content__cta {
119
+ margin-top: 1rem;
169
120
  }
170
121
 
171
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-content__cta {
172
- margin-top: 0.65rem;
173
-
174
- a, button {
175
- margin: 0;
176
- line-height: 1.2;
177
- padding-top: 0.7rem;
178
- padding-bottom: 0.7rem;
179
- border-radius: 2px;
180
- }
181
-
182
- }
183
-
184
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-content-video {
185
-
186
- .#{$wa-ns}c-widget-accordion-content__video + .#{$wa-ns}c-widget-accordion-content__cta {
187
- margin-top: 0.25rem;
188
- }
189
-
190
- }
191
-
192
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-list__heading {
193
- margin-bottom: 0.25em;
194
- }
195
-
196
- .#{$wa-ns}c-widget-accordion .#{$wa-ns}c-widget-accordion-list {
122
+ .c-widget-accordion .c-widget-accordion-list {
197
123
  margin-left: 0;
198
- list-style-type: none;
199
- margin-bottom: 1.5rem;
124
+ margin-bottom: 1rem;
200
125
 
201
126
  &:last-child {
202
127
  margin-bottom: 0;
203
128
  }
204
-
205
- li:before {
206
- content: none;
207
- }
208
-
209
- ul {
210
- list-style-type: none;
211
- margin-left: 0.5rem;
212
- margin-bottom: 0.25rem;
213
- }
214
-
215
- ul li {
216
- line-height: 1.25rem;
217
- padding-left: 1.35rem;
218
- position: relative;
219
- line-height: 1.5;
220
- }
221
-
222
- li {
223
- line-height: 1.4;
224
- }
225
-
226
- ul li:before {
227
- content: '';
228
- font-family: none;
229
- position: absolute;
230
- display: inline-block;
231
- width: 12px;
232
- height: 12px;
233
- left: 0;
234
- top: 30%;
235
- transform: translateY(-50%);
236
- background: url('../img/tiles/tableOfContent.png') no-repeat;
237
- }
238
-
239
- a {
240
- color: $primary-color;
241
- }
242
-
243
- .#{$wa-ns}c-widget-accordion-list__seen {
244
- color: #343434;
245
- font-weight: bold;
246
- }
247
- }
248
-
249
- .#{$wa-ns}c-widget-accordion ul {
250
- list-style-type: none;
251
- margin-left: 0;
252
-
253
- li {
254
- line-height: 2;
255
- }
256
-
257
- li:before {
258
- display: inline-block;
259
- content: '\f10c';
260
- font-family: 'FontAwesome';
261
- font-size: 0.75rem;
262
- vertical-align: middle;
263
- padding-right: 0.75rem;
264
- color: $primary-color;
265
- }
266
-
267
- a {
268
- color: #343434;
269
- }
270
129
  }
271
130
 
272
131
  // Colors
273
-
274
- .#{$wa-ns}c-widget-accordion.#{$wa-ns}c-widget-accordion--alert {
132
+ .c-widget-accordion.c-widget-accordion--alert {
275
133
  background: $alert-color;
276
-
277
- &:hover {
278
- background: darken($alert-color, 10%);
279
- }
280
134
  }
281
135
 
282
- .#{$wa-ns}c-widget-accordion.#{$wa-ns}c-widget-accordion--alert
283
- .#{$wa-ns}c-widget-accordion-link {
136
+ .c-widget-accordion.c-widget-accordion--alert
137
+ .c-widget-accordion-link {
284
138
  background: $alert-color !important;
285
-
286
- &:hover {
287
- background: darken($alert-color, 10%) !important;
288
- }
289
139
  }
290
140
 
291
- .#{$wa-ns}c-widget-accordion.#{$wa-ns}c-widget-accordion--dark
292
- .#{$wa-ns}c-widget-accordion-link {
293
- background: #343434 !important;
294
-
295
- &:hover {
296
- background: darken(#343434, 10%) !important;
297
- }
141
+ .c-widget-accordion.c-widget-accordion--dark
142
+ .c-widget-accordion-link {
143
+ background: $dark-gray !important;
298
144
  }