Skip to content

Commit c22121f

Browse files
committed
fix stylelint
1 parent 2bef38b commit c22121f

2 files changed

Lines changed: 54 additions & 54 deletions

File tree

decidim-core/app/packs/stylesheets/decidim/_redesigned_modal.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030
}
3131

32-
[data-dialog-title]{
32+
[data-dialog-title] {
3333
@apply text-2xl text-black font-semibold focus:outline-none;
3434
}
3535

decidim-elections/app/packs/stylesheets/decidim/elections/elections.scss

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,201 +1,201 @@
1-
.election{
2-
&__section{
3-
&-title{
1+
.election {
2+
&__section {
3+
&-title {
44
@apply flex gap-1 items-center;
55

6-
svg{
6+
svg {
77
@apply w-6 h-6 text-tertiary fill-current;
88
}
99
}
1010

11-
&-desc{
11+
&-desc {
1212
@apply text-gray-2 my-6;
1313
}
1414
}
1515

16-
&__accordion{
16+
&__accordion {
1717
@apply border-4 border-background rounded px-3 py-2;
1818

19-
&-trigger{
19+
&-trigger {
2020
@apply flex justify-between items-center w-full font-bold text-secondary hover:underline focus:outline-none focus:underline;
2121

22-
> :last-child{
22+
> :last-child {
2323
@apply flex-none;
2424
}
2525

26-
svg{
26+
svg {
2727
@apply w-8 h-8 text-secondary fill-current first:block last:hidden;
2828
}
2929

30-
&[role="button"][aria-expanded="true"] svg{
30+
&[role="button"][aria-expanded="true"] svg {
3131
@apply first:hidden last:block;
3232
}
3333
}
3434

35-
&-panel{
35+
&-panel {
3636
@apply border-t border-gray-3 mt-4 pt-4 space-y-4;
3737

38-
ul{
38+
ul {
3939
@apply list-decimal px-4;
4040
}
4141
}
4242
}
4343

44-
&__aside{
45-
&-heading{
44+
&__aside {
45+
&-heading {
4646
@apply uppercase font-semibold text-gray-2 text-sm;
4747
}
4848

49-
&-link{
49+
&-link {
5050
@apply flex items-center gap-2 text-sm;
5151

52-
svg{
52+
svg {
5353
@apply w-4 h-4 flex-none text-gray fill-current;
5454
}
5555

56-
a{
56+
a {
5757
@apply text-md text-secondary;
5858
}
5959
}
6060
}
6161
}
6262

63-
.election-log{
64-
&__entry{
63+
.election-log {
64+
&__entry {
6565
@apply flex flex-col gap-2 rounded border-4 border-background p-4 mb-8 last:mb-0 text-gray-2;
6666
}
6767

6868
&__hash,
69-
&__time{
69+
&__time {
7070
@apply text-sm empty:hidden;
7171
}
7272

73-
&__pre{
73+
&__pre {
7474
@apply bg-background p-2 rounded;
7575
}
7676
}
7777

78-
.election-question{
78+
.election-question {
7979
@apply block rounded p-4 border-4 border-background flex items-center text-lg text-gray-2 hover:border-tertiary focus:border-tertiary cursor-pointer;
8080

81-
&[aria-disabled="true"]{
81+
&[aria-disabled="true"] {
8282
@apply text-gray cursor-not-allowed hover:border-background focus:border-background;
8383
}
8484

85-
&__counter{
85+
&__counter {
8686
@apply font-semibold text-black text-lg bg-tertiary inline-block;
8787
}
8888

8989
/* overwrite default accordion styles */
90-
[id^="step"][aria-hidden="true"]{
90+
[id^="step"][aria-hidden="true"] {
9191
@apply hidden;
9292
}
9393

94-
&__container{
94+
&__container {
9595
@apply space-y-4 mb-8;
9696
}
9797

98-
&__intro{
98+
&__intro {
9999
@apply py-8 border-t-2 border-background space-y-4;
100100
}
101101

102-
&__description{
102+
&__description {
103103
@apply text-gray-2 text-lg;
104104
}
105105

106-
&__maxselections{
106+
&__maxselections {
107107
@apply flex items-center justify-between gap-2 text-gray-2;
108108
}
109109

110-
&__answer{
110+
&__answer {
111111
@apply flex flex-col items-start gap-4 py-8 text-gray-2 border-t-2 border-background;
112112

113-
&-option{
113+
&-option {
114114
@apply flex items-center justify-between w-full text-lg;
115115
}
116116
}
117117

118-
&__ballot{
118+
&__ballot {
119119
@apply flex flex-col items-start gap-2 py-8 border-t-2 border-background text-lg text-gray-2;
120120
}
121121

122-
&__modal{
123-
&-explanation{
122+
&__modal {
123+
&-explanation {
124124
@apply space-y-4;
125125
}
126126

127-
&-grid{
127+
&-grid {
128128
@apply grid grid-cols-2 gap-4;
129129
}
130130

131-
img{
131+
img {
132132
@apply aspect-video object-cover h-full w-full;
133133
}
134134

135-
ul{
135+
ul {
136136
@apply list-disc;
137137
}
138138

139-
li{
139+
li {
140140
@apply ml-4;
141141
}
142142

143-
a{
143+
a {
144144
@apply text-secondary;
145145
}
146146
}
147147
}
148148

149-
.election-trustee{
150-
&__container{
149+
.election-trustee {
150+
&__container {
151151
@apply space-y-6 [&_p]:text-gray-2;
152152
}
153153

154-
&__list{
154+
&__list {
155155
@apply list-disc pl-4 text-gray-2;
156156
}
157157

158-
&__table{
158+
&__table {
159159
@apply text-left w-full border-2 border-background;
160160

161161
th,
162-
td{
162+
td {
163163
@apply px-4 py-2;
164164
}
165165

166-
th{
166+
th {
167167
@apply bg-background;
168168
}
169169

170-
tr:nth-child(even) td{
170+
tr:nth-child(even) td {
171171
@apply bg-gray-3;
172172
}
173173

174-
a{
174+
a {
175175
@apply text-secondary underline;
176176
}
177177

178-
.step_status{
179-
span{
178+
.step_status {
179+
span {
180180
@apply hidden;
181181
}
182182

183183
&[data-step-status="pending"] .pending,
184184
&[data-step-status="processing"] .processing,
185-
&[data-step-status="completed"] .completed{
185+
&[data-step-status="completed"] .completed {
186186
@apply block;
187187
}
188188
}
189189
}
190190

191-
&__submit{
191+
&__submit {
192192
@apply p-4 border-4 border-background space-y-4 rounded;
193193
}
194194

195-
&__buttons{
195+
&__buttons {
196196
@apply flex items-center gap-4;
197197

198-
[hidden]{
198+
[hidden] {
199199
@apply hidden;
200200
}
201201
}

0 commit comments

Comments
 (0)