2015-10-25 06:17:45 +01:00
|
|
|
/**
|
|
|
|
* Pony.fm - A community for pony fan music.
|
|
|
|
* Copyright (C) 2015 Peter Deltchev
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*/
|
|
|
|
|
2016-02-27 04:40:45 +01:00
|
|
|
@import '../variables';
|
2015-09-12 13:19:18 +02:00
|
|
|
|
|
|
|
.uploader {
|
|
|
|
h1 {
|
2015-10-25 03:35:37 +01:00
|
|
|
margin: 10px 0px;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.dropzone {
|
2015-10-25 03:35:37 +01:00
|
|
|
border: 2px dotted @pfm-purple;
|
|
|
|
background: lighten(@pfm-purple, 25%);
|
|
|
|
padding: 10px;
|
|
|
|
color: darken(@pfm-purple, 25%);
|
|
|
|
margin-bottom: 10px;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
p {
|
|
|
|
padding: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
&.file-over {
|
|
|
|
background: lighten(@pfm-purple, 5%);
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.close-button {
|
2015-10-25 03:35:37 +01:00
|
|
|
.border-radius(0px);
|
|
|
|
width: auto;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
float: none;
|
|
|
|
display: block;
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.uploads {
|
2015-10-25 03:35:37 +01:00
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
list-style: none;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
li {
|
|
|
|
margin-bottom: 5px;
|
|
|
|
background: #eee;
|
|
|
|
font-size: 9pt;
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
color: #444;
|
|
|
|
border: 2px solid #aaa;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
p {
|
|
|
|
margin: 5px;
|
|
|
|
padding: 0px;
|
|
|
|
height: 26px;
|
|
|
|
line-height: 26px;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
a {
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
.bar {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
left: 0px;
|
|
|
|
height: 10px;
|
|
|
|
z-index: -1;
|
|
|
|
background: @pfm-purple;
|
|
|
|
display: none;
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
&.has-error {
|
|
|
|
border-color: @red;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
.bar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
&.uploading {
|
|
|
|
.bar {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
&.is-processing {
|
|
|
|
border-color: @blue;
|
2015-09-12 13:19:18 +02:00
|
|
|
|
2015-10-25 03:35:37 +01:00
|
|
|
.bar {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-09-12 13:19:18 +02:00
|
|
|
}
|
2015-10-25 03:35:37 +01:00
|
|
|
}
|