forked from HoF-Halle-Wittenberg/amb-dido
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
108 lines (91 loc) · 2.17 KB
/
styles.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/* styles.css
Plugin: AMB-DiDo
*/
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Dynamische Spaltenanzahl */
gap: 5px; /* Abstand zwischen den Items */
padding: 5px;
}
.grid-item {
display: block;
margin: 5px 0;
}
.amb-field {
font-weight: bold;
border-bottom: solid 1px black;
display: block;
margin: 10px 0 0 0;
}
.amb-control, .amb-control-label {
display: table-cell;
vertical-align: top;
}
.amb-control-label {
padding-left: 5px;
word-break: break-word;
}
.amb-textarea, .amb-textinput {
width: 80%;
}
svg.components-checkbox-control__checked, svg.components-checkbox-control__indeterminate {
top: -2px;
}
.amb-narrower {
background-color: rgb(255, 255, 255);
cursor: pointer;
border: 1px solid rgb(155, 155, 155);
border-radius: 30px;
width: 20px;
height: 20px;
margin-right: 5px;
font-weight: bold;
position: relative;
top: -1px;
}
.amb-narrower.collapsed::after {
content: "";
background-color: rgb(45, 45, 45);
position: absolute;
width: 3px;
height: 60%;
left: 50%;
top: 50%;
-webkit-transform: translateX(-50%) translateY(-50%);
-moz-transform: translateX(-50%) translateY(-50%);
-ms-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
}
.amb-narrower::before {
content: "";
background-color: rgb(45, 45, 45);
position: absolute;
width: 60%;
height: 3px;
left: 50%;
top: 50%;
-webkit-transform: translateY(-50%) translateX(-50%);
-moz-transform: translateY(-50%) translateX(-50%);
-ms-transform: translateY(-50%) translateX(-50%);
transform: translateY(-50%) translateX(-50%);
}
.amb-code {
font-family: monospace;
font-weight: bold;
unicode-bidi: isolate;
white-space: pre;
margin: 1em 0px;
}
.amb_dido_custom_field_row {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.amb_dido_custom_field_column {
flex: 1;
margin-right: 10px;
}
.amb_dido_custom_field_header {
font-weight: bold;
margin-bottom: 5px;
}