Skip to content

Commit 777671f

Browse files
committed
Use stylus in components instead pure css
1 parent 6c07d8f commit 777671f

6 files changed

Lines changed: 189 additions & 217 deletions

File tree

src/components/app-footer-nav/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react'
2-
import './style.css'
2+
import './style.styl'
33
import github from '../../assets/github/GitHub-Mark-Light-32px.png'
44
import {
55
Keyboard

src/components/app-footer-nav/style.css

Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
.footer-nav
2+
position absolute
3+
right 2rem
4+
bottom 0
5+
color white
6+
7+
ul
8+
list-style none
9+
display flex
10+
justify-content center
11+
flex-direction column
12+
padding 0
13+
14+
li
15+
padding 0.5rem
16+
display flex
17+
justify-content center
18+
cursor pointer
19+
transition background-color 400ms ease-out
20+
border-radius 50%
21+
margin 0.6rem
22+
position relative
23+
24+
&:hover
25+
background-color rgba(255, 255, 255, 0.2)
26+
&.active
27+
background-color rgba(255, 255, 255, 0.2)
28+
29+
.popup-shortcut
30+
position absolute
31+
bottom -0.75rem
32+
right 3rem
33+
background-color rgba(255, 255, 255, 0.2)
34+
width 20rem
35+
cursor default
36+
37+
&::after
38+
position absolute
39+
content ''
40+
width 0
41+
height 0
42+
right -10px
43+
bottom 10px
44+
border-top 10px solid transparent
45+
border-bottom 10px solid transparent
46+
border-left 10px solid rgba(255, 255, 255, 0.23)
47+
48+
ul
49+
list-style none
50+
51+
li
52+
display grid
53+
grid-template-areas 'shortcut description'
54+
grid-template-columns 6rem 1fr
55+
border-radius unset
56+
cursor default
57+
58+
&:hover
59+
border-radius unset
60+
background-color unset
61+
62+
span
63+
text-align center
64+
font-weight 500
65+
margin-right 5px

src/components/audio/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { Component } from 'react'
2-
import './style.css'
2+
import './style.styl'
33
import rise from '../../assets/music/rise.mp3'
44
import fantastic from '../../assets/music/fantastic.mp3'
55
import legendsNeverDie from '../../assets/music/legends-never-die.mp3'

src/components/audio/style.css

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)