-
Notifications
You must be signed in to change notification settings - Fork 29
/
silverpeas-image-selector.css
156 lines (133 loc) · 3.56 KB
/
silverpeas-image-selector.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
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
/*
* Copyright (C) 2000 - 2021 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a special exception to the terms and conditions of version 3.0 of
* the GPL, you may redistribute this Program in connection with Free/Libre
* Open Source Software ("FLOSS") applications as described in Silverpeas's
* FLOSS exception. You should have received a copy of the text describing
* the FLOSS exception, and it is also available here:
* "https://www.silverpeas.org/legal/floss_exception.html"
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
.image-selector-container .thumbnail {
width: 60px;
}
.image-url {
display: flex;
gap: 10px;
}
.image-url div {
min-width: 60px;
}
.image-url input {
border: 1px solid #CACACA;
color: #333;
width: 90%;
}
.image-attachments .add-zone {
width: 100%;
display: inline-flex;
margin-top: 10px;
}
.image-attachments .add-zone .dragAndDrop {
position: absolute;
top: -10000px;
right: 0;
}
.image-attachments .add-zone .droparea-cover-help {
display: none !important;
}
.image-attachments .droparea {
height: 30px;
width: calc(100% - 90px);
}
.image-attachments .upload-manually {
top: 2px !important;
position: relative !important;
right: unset !important;
}
.image-attachments .list {
max-height: 200px;
overflow-y: auto;
}
.image-attachment {
cursor: pointer;
}
.media-bank li {
cursor: pointer;
}
.image-selector-container .back-to-previous-image {
background: #FFF url(../../../../../util/icons/arrow/refresh.png) 10px center no-repeat;
border: 1px solid #999;
border-radius: 5px;
padding: 5px 10px;
display: inline-block;
margin-top: 10px;
padding-left: 30px;
}
.image-selector-container .selected-image {
border-bottom: 1px dashed #999;
padding-bottom: 10px;
}
.image-selector-container .section-title {
text-transform: uppercase;
font-size: 1em;
font-weight: 700;
}
.image-selector-container h3.section-title {
text-transform: initial;
font-weight: 500;
}
.image-selector-container .fileUpload-container {
margin: 0;
}
.image-selector-container .media-bank-container,
.image-selector-container .media-bank {
margin: 10px 0 0;
}
.image-selector-container .fileUpload-container .list,
.image-selector-container .media-bank ul {
display: flex;
list-style-type: none;
gap: 10px;
padding: 0 0 10px 0;
margin: 0;
}
.image-selector-container .fileUpload-container .list .image-attachment,
.image-selector-container .media-bank ul li {
border: 1px solid #d5d5d5;
padding: 5px 5px 25px 5px;
background-color: #FFF;
position: relative;
}
.image-selector-container .media-bank ul li {
padding: 5px 25px 5px 5px;
}
.image-selector-container .fileUpload-container .list .image-attachment a {
text-align: right;
position: absolute;
bottom: 5px;
right: 5px;
}
.image-selector-container .media-bank ul li::after {
content: ' ';
display: block;
width: 16px;
height: 16px;
background: #FFF url(../../../../../util/icons/images.png) 0 0 no-repeat;
position: absolute;
right: 5px;
top: 5px;
}