Skip to content

Commit 6bf4c7d

Browse files
Update App.css to include styles for "Events" demo
1 parent 7ec6e88 commit 6bf4c7d

1 file changed

Lines changed: 44 additions & 23 deletions

File tree

src/App.css

Lines changed: 44 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@
99
align-items: center;
1010
justify-content: center;
1111
font-size: 120%;
12-
color: #fff;
12+
color: white;
1313
}
1414

1515
.App-buttonbar {
1616
display: flex;
1717
flex-direction: row;
18+
padding-bottom: 2em;
1819
}
1920

2021
[class*="App-button-"] {
21-
background-color: #4caf50;
22+
background-color: #4CAF50;
2223
border: none;
23-
color: #fff;
24+
color: white;
2425
padding: 15px 32px;
2526
text-align: center;
2627
display: inline-block;
@@ -30,33 +31,53 @@
3031
margin-right: 1em;
3132
}
3233

33-
.App-button-plain:hover {
34-
box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24),
35-
0 17px 50px 0 rgba(0, 0, 0, 0.19);
34+
.App-button-plain {
35+
color: white;
3636
}
3737

3838
.App-button-active {
39-
color: #000;
39+
color: black;
4040
}
4141

42-
.App-source-button {
43-
background-color: #1a456d;
44-
border: none;
45-
color: white;
46-
padding: 0.5rem 1.25rem;
47-
text-align: center;
48-
display: inline-block;
49-
font-size: 16px;
50-
border-radius: 5px;
51-
text-decoration: none;
52-
margin-right: 1rem;
42+
.App-button-plain:hover {
43+
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
5344
}
5445

55-
.App-demo-titlebar {
56-
background-color: #c3c3c5;
57-
padding: 15px 32px;
46+
.App-link {
47+
color: #61dafb;
48+
}
49+
50+
.Events-wrapper {
51+
display: flex;
52+
flex-direction: row;
53+
}
54+
55+
.Events-output {
56+
border: 1px;
57+
border-style: solid;
58+
width: 30%;
59+
margin-top: 1em;
60+
margin-bottom: 1em;
61+
margin-right: 1em;
62+
}
63+
64+
.Events-bound {
65+
margin-left: 1em;
66+
text-align: left;
67+
}
68+
69+
.Events-bound ul {
70+
margin-top: 0.5em;
71+
}
72+
73+
.Events-renderState {
74+
background-color:#c3c3c5;
75+
color: white;
76+
padding-top: 0.3em;
77+
padding-bottom: 0.3em;
5878
}
5979

60-
.App-demo-titlebar h3 {
61-
color: #484848;
80+
.Events-nodeInfo {
81+
margin-left: 1em;
82+
text-align: left;
6283
}

0 commit comments

Comments
 (0)