-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.css
91 lines (79 loc) · 1.58 KB
/
demo.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
body, div {
box-sizing: border-box;
}
#demo-head {
display: flex;
flex-direction: column;
}
#demo-title, #demo-subtitle {
background-color: var(--color-bg-head);
font-size: 24px;
color: var(--color-txt-label);
/*border: 1px solid var(--color-txt-label);*/
margin: 12px 12px 0 12px;
text-align: center;
}
#demo-subtitle {
font-size: 10px;
font-weight: 200;
margin-top: 0;
}
#demo-content {
display: flex;
flex-direction: row;
height: 100%;
width: 95%;
/*padding: 12px*/
}
#demo-menu {
font-family: Consolas;
display: flex;
flex-direction: column;
height: 80%;
padding: 12px;
flex-grow: 0;
}
#demo-components {
margin: 12px;
display: flex;
flex-direction: column;
}
#demo-components > div{
margin-bottom: 10px;
}
.demo-category {
border: 1px solid var(--color-bg-head);
border-left: 4px solid var(--color-purple);
background-color: var(--color-bg-head);
color: rgb(255, 255, 255);
margin-bottom: 10px;
padding: 5px 5px 5px 15px;
}
.demo-category:hover {
cursor: pointer;
background-color: var(--color-txt-link);
}
.demo-item {
border: 1px solid grey;
color: rgb(180, 180, 180);
margin-bottom: 10px;
padding: 5px 5px 5px 15px;
/*text-transform: capitalize;*/
display: none;
}
.demo-item:hover {
color: rgb(255, 255, 255);
cursor: pointer;
}
.demo-item.clicked {
color: black;
background-color: rgb(144, 152, 167);
}
/*
.demo-item.simple.hidden,
.demo-item.complex.hidden,
.demo-item.other.hidden
*/
.visible {
display: block;
}