-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmodx.scss
More file actions
137 lines (117 loc) · 2.61 KB
/
modx.scss
File metadata and controls
137 lines (117 loc) · 2.61 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
// hide resource buttons
#modx-abtn-cancel,
#modx-abtn-help {
display: none !important;
}
// change contentblocks manager layout
#modx-resource-content {
box-shadow: none !important;
& > .x-panel-header {
display: none;
}
}
.contentblocks-layout {
margin: 1rem 0;
}
.contentblocks-modal-header,
.contentblocks-modal-content {
.switch-view,
.contentblocks-modal-content {
display: none;
}
}
.contentblocks-layout-wrapper {
li {
&:nth-child(1) {
.contentblocks-add-layout {
display: none;
}
}
}
}
.contentblocks-region-container-header {
background-color: #f2f2f2;
box-shadow: none !important;
}
.contentblocks-setting-image {
.field-label {
display: none;
}
}
.contentblocks-field-image-upload,
.contentblocks-field-gallery-upload,
.contentblocks-field-file-upload {
padding: 10px;
background: #fcfcfc;
border: 1px solid #e5e5e5;
}
.contentblocks-field-button {
&.contentblocks-field-image-choose,
&.contentblocks-field-gallery-choose,
&.contentblocks-field-file-choose {
font-size: inherit;
color: #1a7fb8;
padding-right: 0;
background-color: transparent;
border-color: transparent;
}
&.contentblocks-field-file-choose {
&:after {
content: " oder eine Datei in diesen Bereich ziehen (Drag & Drop)";
color: black;
}
}
&.contentblocks-field-upload,
&.contentblocks-field-gallery-url,
&.contentblocks-field-image-url {
display: none;
}
}
.contentblocks-collapser {
display: none !important;
}
// region header
.contentblocks-region-container-header {
border-bottom: 2px solid #1a7fb8 !important;
.contentblocks-layout-title {
color: #1a7fb8;
}
.contentblocks-region-container-tools {
opacity: 0.2;
&:hover {
opacity: 1;
}
}
}
// repeater field labels
.contentblocks-repeater-mini {
.contentblocks-field-link,
.contentblocks-float-label {
label {
padding: 5px;
background-color: white;
}
}
}
// chunk selector
.contentblocks-field-chunk_selector {
pointer-events: none;
position: relative;
&:before {
content: "Only for Admin 🤙🏻";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
color: gray;
text-align: center;
}
* {
filter: blur(0.2rem);
}
}