1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 21:52:08 +02:00
onion/sass/ascribe_uploader.scss

128 lines
2.4 KiB
SCSS
Raw Normal View History

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