File tree Expand file tree Collapse file tree 3 files changed +33
-56
lines changed
javascript/css/components Expand file tree Collapse file tree 3 files changed +33
-56
lines changed Original file line number Diff line number Diff line change 3
3
}
4
4
5
5
.footer-content {
6
- & nav > * {
6
+ & nav > ul > li {
7
7
padding-top : var (--space-2xs-xs );
8
8
padding-bottom : var (--space-2xs-xs );
9
9
}
@@ -13,33 +13,14 @@ footer {
13
13
flex-wrap : wrap;
14
14
}
15
15
16
- & nav > ul > li : first-child {
17
- & a {
18
- font-weight : bold;
19
- }
20
-
21
- & : has (+ li ) {
22
- margin-inline-end : var (--space-2xs-xs );
23
-
24
- & a {
25
- margin-inline-end : var (--space-2xs-xs );
26
- }
27
-
28
- & : after {
29
- content : ' / ' ;
30
- color : var (--joy-text-faint );
31
- }
32
- }
16
+ & nav > ul > li > a {
17
+ font-weight : bold;
33
18
}
34
19
35
- & nav > ul > li > ul > li : has (+ li ) {
36
- margin-inline-end : var (--space-2xs-xs );
37
-
38
- & a {
39
- margin-inline-end : var (--space-2xs-xs );
40
- }
41
-
20
+ & nav li : has (+ li ) {
42
21
& : after {
22
+ margin-inline-start : var (--space-2xs-xs );
23
+ margin-inline-end : var (--space-2xs-xs );
43
24
content : ' / ' ;
44
25
color : var (--joy-text-faint );
45
26
}
Original file line number Diff line number Diff line change 4
4
< div > <%= inline_svg_tag "joy-logo.svg" , class : "fill-current" %> </ div >
5
5
< div > Sharing and experiencing the Joy of Rails</ div >
6
6
<% end %>
7
- < nav
8
- class ="">
7
+ < nav >
9
8
< ul >
10
- < li class ="">
11
- < a
12
- class =""
13
- href ="/articles "> Articles</ a >
14
- </ li >
15
- </ ul >
16
- < ul >
17
- < li class ="">
18
- <%= link_to "Settings" , settings_color_scheme_path %>
19
- </ li >
20
- < li class ="">
21
- <%= link_to "Syntax Highlighting" , settings_syntax_highlight_path %>
22
- </ li >
23
- <!--
24
9
< li >
25
- <ul>
26
- <li>
27
- <%# = link_to "Colors", settings_color_scheme_path %>
28
- </li>
29
- </ul>
10
+ < a href ="/articles "> Articles</ a >
30
11
</ li >
31
- -->
32
12
</ ul >
33
13
< ul >
34
- < li class ="" >
35
- < a class ="" href =" /about " > About </ a >
14
+ < li >
15
+ <%= link_to "Settings" , settings_color_scheme_path % >
36
16
</ li >
37
17
< li >
38
18
< ul >
39
19
< li >
40
- < a class ="" href =" /about/acknowledgements " > Acknowledgements </ a >
20
+ <%= link_to "Color Schemes" , settings_color_scheme_path % >
41
21
</ li >
42
22
< li >
43
- < a class ="" href =" /about/design " > Design </ a >
23
+ <%= link_to "Syntax Highlighting" , settings_syntax_highlight_path % >
44
24
</ li >
45
25
</ ul >
46
26
</ li >
47
27
</ ul >
48
- < ul >
49
- < li class =""> < a
50
- class =""
51
-
28
+ < ul >
29
+ < li >
30
+ < a href ="/about "> About</ a >
31
+ </ li >
32
+ < li >
33
+ < ul >
34
+ < li >
35
+ < a class ="" href ="/about/acknowledgements "> Acknowledgements</ a >
36
+ </ li >
37
+ < li >
38
+ < a class ="" href ="/about/design "> Design</ a >
39
+ </ li >
40
+ </ ul >
41
+ </ li >
42
+ </ ul >
43
+ < ul >
44
+ < li >
45
+
46
+ </ li >
47
+ </ ul >
52
48
</ ul >
53
49
</ nav >
54
50
< div >
Original file line number Diff line number Diff line change 14
14
it "user can selected a curated color scheme" do
15
15
visit root_path
16
16
17
- click_link "Settings "
17
+ click_link "Color Schemes "
18
18
19
19
chosen_color = curated_colors . sample
20
20
select chosen_color . display_name , from : "settings[color_scheme_id]"
You can’t perform that action at this time.
0 commit comments