-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
142 lines (135 loc) · 3.06 KB
/
styles.css
File metadata and controls
142 lines (135 loc) · 3.06 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
:root {
/* You can override this in your app/theme */
--primary-color: #f76b39; /* fallback if not provided */
}
.header-bar {
width: 100%;
height: 56px;
display: flex;
align-items: center;
gap: 12px;
padding: 0 20px;
box-sizing: border-box;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.project-group {
margin-left: auto; /* push to right */
display: flex;
align-items: center;
gap: 10px;
position: relative;
}
.project-label {
color: #e5e7eb;
font-size: 0.95rem;
font-weight: 600;
letter-spacing: 0.3px;
}
.project-select {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
padding: 10px 40px 10px 12px;
border-radius: 10px;
border: 1px solid var(--primary-color, #f76b39);
background: #343536; /* dark surface */
color: #f3f4f6;
font-size: 0.95rem;
line-height: 1;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
outline: none;
transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.project-select:hover {
border-color: var(--primary-color, #f76b39);
}
.project-select:focus {
border-color: var(--primary-color, #f76b39);
}
/* custom caret */
.project-group::after {
content: "▾";
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: var(--primary-color, #f76b39);
pointer-events: none;
font-size: 0.9rem;
}
.download-btn,
button {
margin-left: 8px;
padding: 9px 14px;
border-radius: 8px;
background: var(--primary-color, #f76b39);
color: #ffffff;
text-decoration: none;
border: 1px solid var(--primary-color, #f76b39);
font-size: 0.92rem;
line-height: 1;
transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.02s ease;
}
.download-btn:hover,
button:hover {
filter: brightness(1.05);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.download-btn:active,
button:active {
transform: translateY(1px);
}
/* Icon-only button (GitHub link) */
.icon-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 38px;
height: 38px;
border-radius: 8px;
background: #2f3132;
border: 1px solid #444;
color: #e5e7eb;
text-decoration: none;
transition: background 0.2s ease, box-shadow 0.15s ease, transform 0.02s ease, border-color 0.2s ease;
}
.icon-btn:hover {
background: #3a3c3d;
border-color: #666;
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.icon-btn:active {
transform: translateY(1px);
}
.github-icon {
width: 20px;
height: 20px;
fill: #e5e7eb;
}
#rapi-pdf {
display: none;
}
/* RapiDoc exposed parts: color its buttons with --primary-color */
rapi-doc::part(btn),
rapi-doc::part(btn-fill) {
background: var(--primary-color, #f76b39);
border-color: var(--primary-color, #f76b39);
color: #ffffff;
}
rapi-doc::part(btn):hover,
rapi-doc::part(btn-fill):hover {
filter: brightness(1.05);
}
rapi-doc::part(btn-outline) {
background: transparent;
border-color: var(--primary-color, #f76b39);
color: var(--primary-color, #f76b39);
}
@media (max-width: 520px) {
.project-label {
display: none;
}
.project-select {
padding: 10px 32px 10px 12px;
}
}