Pony.fm/resources/assets/styles/uploader.less

91 lines
1.3 KiB
Text
Raw Normal View History

2015-09-12 13:19:18 +02:00
@import 'variables';
.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
}