-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathacm.css
More file actions
182 lines (144 loc) · 3.31 KB
/
acm.css
File metadata and controls
182 lines (144 loc) · 3.31 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
.acm-conditionals-wrapper {
margin-top: 20px;
}
.acm-ui-wrapper .button {
margin-right: 10px;
}
.acm-ui-wrapper p {
}
tr:hover .row-actions {
visibility: visible;
}
.conditional-single-field {
clear: both;
}
.acm-remove-conditional {
float: right;
color: #D54E21;
}
.conditional-single-field .conditional-function {
float: left;
}
#add-adcode .conditional-single-field .conditional-function {
width: 50%;
}
#add-adcode .conditional-single-field .conditional-arguments {
float: left;
width: 45%;
margin-bottom: 5px;
}
#add-adcode .form-add-more {
clear:left;
width: 90%;
}
.acm-global-options {
clear: both;
margin-bottom: 20px;
}
.acm-global-options .acm-config-form p {
display: flex;
align-items: center;
gap: 10px;
margin: 0;
}
.acm-global-options .acm-config-form label {
font-weight: 600;
}
.acm-global-options .acm-config-form .button {
margin-left: 10px;
}
.acm-global-options input[type="text"] {
min-width: 200px;
width: 30%;
}
.acm-global-options #provider-field label {
float: left;
width: 125px;
}
/* Ensure conditional row has consistent height even when arguments hidden */
#add-adcode .conditional-single-field {
min-height: 36px;
margin-bottom: 8px;
}
/* Select2 styling for conditional autocomplete */
#add-adcode .conditional-arguments .select2-container {
width: 100% !important;
}
#add-adcode .conditional-arguments .select2-container--default .select2-selection--single {
height: 30px;
border-color: #8c8f94;
border-radius: 4px;
}
#add-adcode .conditional-arguments .select2-container--default .select2-selection--single .select2-selection__rendered {
line-height: 28px;
padding-left: 8px;
}
#add-adcode .conditional-arguments .select2-container--default .select2-selection--single .select2-selection__arrow {
height: 28px;
}
/* Hide Add button initially until first condition is selected */
#add-adcode .form-add-more {
display: none;
}
#add-adcode .form-add-more.visible {
display: block;
}
/* Edit page styles */
#edit-adcode .form-table th {
width: 200px;
padding: 20px 10px 20px 0;
}
#edit-adcode .regular-text {
width: 25em;
}
#edit-adcode .conditional-single-field {
margin-bottom: 10px;
display: flex;
align-items: flex-start;
gap: 10px;
}
#edit-adcode .conditional-function {
flex: 0 0 200px;
}
#edit-adcode .conditional-function select {
width: 100%;
}
#edit-adcode .conditional-arguments {
flex: 1;
display: flex;
align-items: center;
gap: 10px;
}
#edit-adcode .conditional-arguments input[type="text"] {
width: 200px;
}
#edit-adcode .form-add-more {
display: none;
margin-top: 10px;
}
#edit-adcode .form-add-more.visible {
display: block;
}
#edit-adcode .acm-remove-conditional {
color: #b32d2e;
text-decoration: none;
}
#edit-adcode .acm-remove-conditional:hover {
color: #a00;
}
/* Select2 styling for edit page */
#edit-adcode .conditional-arguments .select2-container {
width: 200px !important;
}
#edit-adcode .conditional-arguments .select2-container--default .select2-selection--single {
height: 30px;
border-color: #8c8f94;
border-radius: 4px;
}
#edit-adcode .conditional-arguments .select2-container--default .select2-selection--single .select2-selection__rendered {
line-height: 28px;
padding-left: 8px;
}
#edit-adcode .conditional-arguments .select2-container--default .select2-selection--single .select2-selection__arrow {
height: 28px;
}