Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
151 lines (136 loc) · 3.52 KB
/
Copy pathstyles.css
File metadata and controls
151 lines (136 loc) · 3.52 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
/* Use the same css like a label */
.unilabel .mod-indent {
float: left;
padding-top: 20px;
}
.section .unilabel .mod-indent-outer {
padding-left: 24px;
display: block;
}
.section .unilabel .mod-indent-outer .contentwithoutlink {
display: inline;
}
.section .unilabel .mod-indent-outer .unilabel-content {
margin-bottom: 1rem;
}
/* If the carousel item is a link it overlaps the controls */
.unilabel .carousel .carousel-control-prev,
.unilabel .carousel .carousel-control-next {
z-index: 998;
mix-blend-mode: difference;
}
/* Nice overlay effect which can be used in subplugins */
.unilabel-overlay-effect:hover,
a:focus .unilabel-overlay-effect {
opacity: 0.3;
}
.unilabel-overlay-effect {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
opacity: 0;
transition: .5s ease;
overflow: hidden;
z-index: 998;
}
/* Dropdown list in mod_form */
#page-mod-unilabel-mod #fitem_id_unilabeltype .dropdown .dropdown-menu {
width: max-content;
}
/* Visible button style */
#page-mod-unilabel-edit_content form fieldset a.visible-button {
display: none;
}
#page-mod-unilabel-edit_content form fieldset.has-visibility a.visible-button {
display: inline;
}
#page-mod-unilabel-edit_content form fieldset.has-visibility.visible-off {
opacity: 0.5;
}
/* Drag and drop style */
#page-mod-unilabel-edit_content form fieldset span .draghandle {
display: none;
}
#page-mod-unilabel-edit_content form fieldset.draggable span .draghandle {
cursor: move;
display: inline;
}
#page-mod-unilabel-edit_content form fieldset.draggable.dragging {
opacity: 0;
}
#page-mod-unilabel-edit_content div.activitytitle.unilabel-input-replacement {
width: 450px;
}
/* Activity picker replacement */
#page-mod-unilabel-edit_content div.unilabel-input-replacement {
padding-right: .5rem;
border-style: solid;
border-width: 2px;
}
/* Hyphenation to break long words, for example in the grid */
.unilabel-hyphens {
hyphens: auto;
}
/*************************************
Show the move cursor on draggable modals
**************************************/
div.modal.draggable > .modal-dialog > .modal-content > .modal-header {
cursor: move;
}
/***********************************************/
/*
This is a workaround for a five-column grid.
We have to put it here because in <plugin>/styles.css it is loaded before bootstrap and overriden.
*/
.unilabel-content .col-2dot4,
.unilabel-content .col-sm-2dot4,
.unilabel-content .col-md-2dot4,
.unilabel-content .col-lg-2dot4,
.unilabel-content .col-xl-2dot4 {
position: relative;
width: 100%;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
.unilabel-content .col-2dot4 {
-webkit-box-flex: 0;
-ms-flex: 0 0 20%;
flex: 0 0 20%;
max-width: 20%;
}
@media (min-width: 576px) {
.unilabel-content .col-sm-2dot4 {
-webkit-box-flex: 0;
-ms-flex: 0 0 20%;
flex: 0 0 20%;
max-width: 20%;
}
}
@media (min-width: 768px) {
.unilabel-content .col-md-2dot4 {
-webkit-box-flex: 0;
-ms-flex: 0 0 20%;
flex: 0 0 20%;
max-width: 20%;
}
}
@media (min-width: 992px) {
.unilabel-content .col-lg-2dot4 {
-webkit-box-flex: 0;
-ms-flex: 0 0 20%;
flex: 0 0 20%;
max-width: 20%;
}
}
@media (min-width: 1200px) {
.unilabel-content .col-xl-2dot4 {
-webkit-box-flex: 0;
-ms-flex: 0 0 20%;
flex: 0 0 20%;
max-width: 20%;
}
}
/***********************************************/