summaryrefslogtreecommitdiff
path: root/sample_editor/topbar.css
blob: 88ec5be60a76db3125c23f8fa97ccfd8f5ba2567 (plain)
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
92
93
:root {
    --highlight-hue: 0;
}
body {
    background: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    margin: 0;
}
.top-menu-bar {
    width: 100vw;
    height: 24px;
    display: flex;
}
.tab {
    height: 23px;
    display: flex;
    align-items: center;
    border: 1px solid hsl(var(--highlight-hue), 100%, 50%);
    border-right: none;
    background: hsl(var(--highlight-hue), 100%, 50%);
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    flex-grow: 1;
}
.tab:last-child {
    border-right: 1px solid hsl(var(--highlight-hue), 100%, 50%);
}
.tab:hover {
    background: lightgrey;
}
.tab.selected {
    background: white;
    color: hsl(var(--highlight-hue), 100%, 50%);
}
.burger-menu {
    width: 24px;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
}
.burger-menu-icon {
    font-size: 16px;
    color: white;
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 24px;
    left: 0;
    background: white;
    border: 1px solid hsl(var(--highlight-hue), 100%, 50%);
    z-index: 1;
}
.dropdown-menu.open {
    display: block;
}
.dropdown-item {
    padding: 4px 8px;
    border-bottom: 1px solid hsl(var(--highlight-hue), 100%, 50%);
    cursor: pointer;
    font-size: 14px;
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background: lightgrey;
}
.circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    color: hsl(var(--highlight-hue), 100%, 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    margin-left: 2px;
    transition: background 0.3s, color 0.3s;
}
.tab.selected .circle {
    background: hsl(var(--highlight-hue), 100%, 50%);
    color: white;
}
.minicanvas-container {
    flex-grow: 1;
    width: 22px;
    height: 22px;
    opacity: 0.25;
}