File tree 4 files changed +31
-21
lines changed
app/templates/app/app/bundles/app
4 files changed +31
-21
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ export default class Dummy extends React.Component {
55
55
const { dummy : { data, isLoading } , auth : { isLoggedIn } } = this . props ;
56
56
57
57
const dummyContent = (
58
- < div >
58
+ < div id = "dummy__content" >
59
59
{ data } { isLoggedIn ? `You're logged in!` : `You're logged out :(` }
60
- < div id = "auth " >
60
+ < div id = "dummy__content__auth " >
61
61
{ isLoggedIn ? (
62
- < span onClick = { ::this . _handleLogout } className = "auth-link " > logout</ span >
62
+ < span onClick = { ::this . _handleLogout } className = "dummy__content__auth__link " > logout</ span >
63
63
) : (
64
- < Link to = "/login" className = "auth-link " > login</ Link >
64
+ < Link to = "/login" className = "dummy__content__auth__link " > login</ Link >
65
65
) }
66
66
</ div >
67
67
</ div >
Original file line number Diff line number Diff line change 6
6
transform : translate (- 50% , - 50% )
7
7
text-align : center
8
8
9
- #auth
10
- display : block
11
- margin-top : 1rem
12
- .auth-link
13
- display : inline-block
14
- padding : .3rem 1rem
15
- border : 1px solid $blue
16
- border-radius : 4px
17
- background-color : #f f f
18
- color : $blue
19
- text-decoration : none
20
- cursor : pointer
21
- & :active
22
- transform : translate (1px , 1px )
9
+ $bg-color = #f f f
10
+ #dummy__content
11
+ display : inline-block
12
+ padding : 2rem 3rem
13
+ background-color : $bg-color
14
+ box-shadow : 0 0 1px rgba (0 , 0 , 0 , .1 )
15
+
16
+ #dummy__content__auth
17
+ display : block
18
+ margin-top : 1rem
19
+
20
+ .dummy__content__auth__link
21
+ display : inline-block
22
+ padding : .3rem 1rem
23
+ border : 1px solid $blue
24
+ border-radius : 4px
25
+ background-color : $bg-color
26
+ color : $blue
27
+ text-decoration : none
28
+ cursor : pointer
29
+ & :active
30
+ transform : translate (1px , 1px )
Original file line number Diff line number Diff line change 15
15
margin-right : 1%
16
16
padding : 1rem 1.5rem
17
17
border : 0
18
- border-radius : 8px
19
- background-color : #f1 f1 f1
18
+ border-radius : 0
19
+ background-color : #f f f
20
+ box-shadow : 0 0 1px rgba (0 , 0 , 0 , .1 )
20
21
& :focus
21
22
box-shadow : 0px 0px 5px 0px rgba (#1e a9 ff , 0.95 )
22
23
42
43
width : 100%
43
44
margin : 0
44
45
padding : 1rem 1.5rem
46
+ border-radius : 0
45
47
color : #f f f
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ $base-line-height = 1.4
5
5
6
6
/* Colors */
7
7
$base-text-color = rgba (0 , 0 , 0 , 0.8 )
8
- $body-bg-color = #f f f
8
+ $body-bg-color = #ea ea ea
9
9
$footer-bg-color = #f f f
10
10
$main-color = #2 9 d
11
11
$blue = #2 9 d
You can’t perform that action at this time.
0 commit comments