File tree 6 files changed +28
-14
lines changed
6 files changed +28
-14
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : [
3
+ " stylelint-config-standard"
4
+ ],
5
+ "rules" : {
6
+ "at-rule-no-unknown" : null ,
7
+ "media-feature-range-notation" : null
8
+ }
9
+ }
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN apt-get update -y --fix-missing \
33
33
34
34
WORKDIR /home
35
35
COPY Makefile /home
36
+ COPY .stylelintrc.json /home
36
37
COPY Gemfile /home
37
38
COPY judges /home/judges
38
39
COPY sass /home/sass
Original file line number Diff line number Diff line change 2
2
# SPDX-License-Identifier: MIT
3
3
4
4
.ONESHELL :
5
- .PHONY : clean all assets install rake
5
+ .PHONY : clean all assets install rake fix-styles
6
6
.SILENT :
7
7
.SECONDARY :
8
8
.SHELLFLAGS := -x -e -o pipefail -c
@@ -70,7 +70,10 @@ target/fb/%.fb: tests/%.yml Makefile | target/fb
70
70
rake : $(SAXON )
71
71
bundle exec rake
72
72
73
- $(CSS ) : sass/* .scss Makefile | target/css
73
+ fix-styles : sass/* .scss
74
+ stylelint sass/* .scss --fix
75
+
76
+ $(CSS ) : sass/* .scss fix-styles Makefile | target/css
74
77
sass --no-source-map --style=compressed --no-quiet --stop-on-error sass/main.scss " $@ "
75
78
76
79
$(JS ) : js/* .js Makefile | target/js
@@ -101,6 +104,7 @@ install: $(SAXON) | target
101
104
npm --no-color install -g eslint@9.22.0
102
105
npm --no-color install -g uglify-js
103
106
npm --no-color install -g sass@1.77.2
107
+ npm --no-color install -g stylelint stylelint-config-standard stylelint-scss
104
108
105
109
entry : target/docker-image.txt target/fb/simple.fb
106
110
img=$$(cat target/docker-image.txt )
Original file line number Diff line number Diff line change @@ -18,18 +18,18 @@ $hightlight: #f5f5f5;
18
18
background-color : $hightlight ;
19
19
}
20
20
21
- tr .p_ {
22
- font-size : 90% ;
21
+ tr .p-table {
22
+ font-size : 90% ;
23
23
}
24
24
25
25
td .avatar {
26
- text-align : center ;
27
- vertical-align : middle ;
26
+ text-align : center ;
27
+ vertical-align : middle ;
28
28
29
- img {
30
- height : 1.5em ;
31
- vertical-align : middle ;
32
- width : 1.5em ;
33
- }
29
+ img {
30
+ height : 1.5em ;
31
+ vertical-align : middle ;
32
+ width : 1.5em ;
33
+ }
34
34
}
35
35
}
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ header {
44
44
font-size : 2em ;
45
45
font-weight : bolder ;
46
46
margin-left : 1em ;
47
- padding : .0 em .2em ;
47
+ padding : 0 .2em ;
48
48
vertical-align : middle ;
49
49
}
50
50
}
Original file line number Diff line number Diff line change 320
320
</xsl : if >
321
321
</tr >
322
322
<xsl : if test =" $fb/f[what='reconciliation' and who=$id]" >
323
- <tr class =" sub tablesorter-childRow p_ p_{$name}" style =" display: none;" >
323
+ <tr class =" sub tablesorter-childRow p-table p_{$name}" style =" display: none;" >
324
324
<td >
325
325
<!-- Avatar -->
326
326
<xsl : text > </xsl : text >
367
367
<xsl : for-each select =" $facts[who_name=$name]" >
368
368
<xsl : sort select =" when" data-type =" text" />
369
369
<xsl : variable name =" fact" select =" ." />
370
- <tr class =" sub tablesorter-childRow p_ p_{$name}" style =" display: none;" >
370
+ <tr class =" sub tablesorter-childRow p-table p_{$name}" style =" display: none;" >
371
371
<td >
372
372
<!-- Avatar -->
373
373
<xsl : text > </xsl : text >
You can’t perform that action at this time.
0 commit comments