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

191 lines
3.3 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;
text-align: center;
vertical-align: middle;
padding: 1.5em 0 1.5em 0;
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-09-04 14:54:39 +02:00
.file-drag-and-drop-preview-iterator {
2015-09-09 15:15:54 +02:00
margin: 2.5em 0 0 0;
2015-09-04 14:54:39 +02:00
text-align: right;
> div:first-child {
text-align: center;
}
}
2015-09-09 15:15:54 +02:00
.file-drag-and-drop-preview-iterator-spacing {
margin-bottom: 1em;
}
.file-drag-and-drop-dialog {
margin: 1.5em 0 1.5em 0;
}
.file-drag-and-drop-hashing-dialog {
text-align: center;
2015-09-09 15:15:54 +02:00
margin: 1.5em 0 0 0;
}
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 {
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
}
.action-file {
color: white;
cursor: pointer;
font-size: 2.5em;
text-shadow: -1px 0 black,
0 1px black,
1px 0 black,
0 -1px black;
&:link,
&:visited,
&:hover,
&:active {
text-decoration: none;
}
&:hover {
color: #d9534f;
}
}
.spinner-file {
font-size: 2.5em;
}
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
.action-file, .spinner-file {
2015-08-31 19:04:44 +02:00
margin-top: .6em;
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;
p {
margin-top: 5px;
}
.action-file, .spinner-file {
2015-08-31 19:04:44 +02:00
margin-top: 0;
position: relative;
top: .3em;
span:not(:first-child) {
display: block;
margin-top: .5em;
}
}
2015-06-23 10:16:53 +02:00
}
.ascribe-progress-bar {
margin-bottom: 0;
> .progress-bar {
background-color: $ascribe-dark-blue;
}
}
.ascribe-progress-bar-xs {
height: 12px;
}
.upload-button-wrapper {
text-align: left;
.btn {
font-size: 1em;
margin-right: 1em;
}
span + .btn {
margin-left: 1em;
}
}