1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
onion/sass/ascribe_uploader.scss

142 lines
2.7 KiB
SCSS
Raw Normal View History

2015-06-23 10:16:53 +02:00
.file-drag-and-drop {
2015-08-31 19:04:44 +02:00
background-color: #fefefe;
cursor: default !important;
2015-06-29 13:41:37 +02:00
display: block;
2015-06-29 14:36:55 +02:00
height: auto;
2015-06-29 13:41:37 +02:00
margin-top: 1em;
2015-08-31 19:04:44 +02:00
outline: 1px dashed #9e9e9e;
overflow: auto;
padding: 1.5em 0;
text-align: center;
vertical-align: middle;
2015-06-29 14:36:55 +02:00
2015-08-31 19:04:44 +02:00
.file-drag-and-drop-dialog > p:first-child {
font-size: 1.5em !important;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
}
}
2015-07-07 18:07:12 +02:00
.inactive-dropzone {
2015-08-31 19:04:44 +02:00
background-color: rgba(0, 0, 0, 0) !important;
2015-07-07 18:07:12 +02:00
cursor: default !important;
outline: 0;
2015-06-23 10:16:53 +02:00
}
2015-07-27 14:21:26 +02:00
.present-options {
> p {
margin-bottom: .75em !important;
}
.btn {
2015-08-31 19:04:44 +02:00
margin: 0 1em;
2015-07-27 14:21:26 +02:00
}
}
2015-06-23 10:16:53 +02:00
.file-drag-and-drop-position {
display: inline-block;
margin-left: .7em;
margin-right: .7em;
2015-08-31 19:04:44 +02:00
position: relative;
2015-06-29 17:59:35 +02:00
.delete-file {
background-color: black;
2015-08-31 19:04:44 +02:00
border-radius: 1em;
cursor: pointer;
display: block;
2015-06-29 17:59:35 +02:00
height: 20px;
position: absolute;
right: -7px;
text-align: center;
2015-08-31 19:04:44 +02:00
top: -7px;
width: 20px;
2015-06-29 17:59:35 +02:00
span {
color: white;
2015-07-07 18:07:12 +02:00
font-size: .8em;
2015-08-31 19:04:44 +02:00
left: 0;
top: 1px;
2015-07-07 18:07:12 +02:00
&:hover {
color: $brand-danger;
}
2015-06-29 17:59:35 +02:00
}
}
2015-06-23 10:16:53 +02:00
}
.file-drag-and-drop-preview-table-wrapper {
display: table;
2015-08-31 19:04:44 +02:00
height: 94px;
width: 104px;
2015-06-23 10:16:53 +02:00
}
.file-drag-and-drop-preview {
2015-08-31 19:04:44 +02:00
background-color: #eeeeee;
2015-06-23 10:16:53 +02:00
border: 1px solid #616161;
2015-08-31 19:04:44 +02:00
cursor: default;
overflow: hidden;
2015-06-23 10:16:53 +02:00
}
.file-drag-and-drop-preview-image {
border: 1px solid #616161;
2015-08-31 19:04:44 +02:00
display: table;
height: 104px;
overflow: hidden;
2015-06-25 13:28:49 +02:00
text-align: center;
2015-08-31 19:04:44 +02:00
width: 104px;
2015-06-25 13:28:49 +02:00
2015-08-31 19:04:44 +02:00
.action-file {
color: white;
cursor: pointer;
font-size: 2.5em;
margin-top: .6em;
text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
&:link,
&:visited,
&:hover,
&:active {
text-decoration: none;
}
2015-07-01 10:00:53 +02:00
2015-08-31 19:04:44 +02:00
&:hover {
color: #d9534f;
}
2015-06-25 13:28:49 +02:00
}
}
2015-06-23 10:16:53 +02:00
.file-drag-and-drop-preview-other {
display: table-cell;
text-align: center;
vertical-align: middle;
2015-08-31 19:04:44 +02:00
.action-file {
color: white;
cursor: pointer;
font-size: 2.5em;
margin-top: 0;
position: relative;
text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
top: .3em;
&:link,
&:visited,
&:hover,
&:active {
text-decoration: none;
}
2015-06-23 10:16:53 +02:00
2015-08-31 19:04:44 +02:00
&:hover {
color: #d9534f;
}
span:not(:first-child) {
display: block;
margin-top: .5em;
}
}
2015-06-23 10:16:53 +02:00
}