-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.css
63 lines (54 loc) · 1.13 KB
/
options.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
/*
* Copyright (C) 2021 Sellers Industry
* distributed under the MIT License
*
* author: Evan Sellers <[email protected]>
* date: Tue Nov 30 2021
* file: options.css
* project: Moodle Custom Menu
* purpose: Options Menu CSS
*
*/
.item-row {
display: flex;
flex-direction: row;
padding-bottom: 0.5rem;
margin-bottom: 0.5rem;
padding-left: 1rem;
border-left: transparent 5px solid;
border-radius: 2px;
transition: 0.2s border;
}
.item-row:focus-within, .item-row:hover {
border-left: #d0d0d0 5px solid;
}
.item-row .item-input {
padding-right: 1rem;
}
.item-row .item-input p {
margin-block-end: 0.2em;
font-size: 0.8rem;
}
.item-row .item-contol {
display: flex;
flex-direction: column-reverse;
padding-right: 0.5rem;
}
input {
padding: 0.3rem 0.5rem;
border-color: #d0d0d0;
background: white;
border-radius: 0.5rem;
border-style: solid;
border-width: 1px;
}
input:focus, input:focus-visible {
border-color: gray;
outline: none;
}
button {
padding: 0.5rem 1rem;
border-radius: 0.5rem;
border: none;
cursor:pointer;
}