mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.3 KiB
81 lines
1.3 KiB
@import '_vars';
|
|
@import '_mixins';
|
|
|
|
.icon-upload-3 {
|
|
font-size: 1.4rem;
|
|
font-weight: lighter;
|
|
padding-right: .5rem;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.dropdown-menu {
|
|
@include absolute(2.6rem, 0, auto, auto);
|
|
display: block;
|
|
max-width: 60%;
|
|
min-height: 4rem;
|
|
min-width: 30rem;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.uploads {
|
|
& {
|
|
background: none;
|
|
border: 2px solid transparent;
|
|
min-height: 2rem;
|
|
}
|
|
|
|
&-empty {
|
|
line-height: 1.8rem;
|
|
}
|
|
}
|
|
|
|
.upload {
|
|
& {
|
|
@include force-height(2rem);
|
|
line-height: 2rem;
|
|
margin-bottom: .5rem;
|
|
}
|
|
|
|
&:last-child {
|
|
margin: 0;
|
|
}
|
|
|
|
&-name {
|
|
@include truncate;
|
|
padding-left: .5rem;
|
|
padding-right: .5rem;
|
|
}
|
|
}
|
|
|
|
$circle-size: 1.6rem;
|
|
|
|
.upload-status {
|
|
& {
|
|
@include circle($circle-size);
|
|
background: $color-border;
|
|
color: $color-dark-foreground;
|
|
cursor: none;
|
|
font-size: .4 * $circle-size;
|
|
font-weight: normal;
|
|
line-height: $circle-size + .1rem;
|
|
text-align: center;
|
|
}
|
|
|
|
&-running {
|
|
color: inherit;
|
|
}
|
|
|
|
&-failed {
|
|
background: $color-theme-error;
|
|
}
|
|
|
|
&-success {
|
|
background: $color-theme-green;
|
|
}
|
|
}
|
|
|
|
.drag {
|
|
& > .uploads {
|
|
border-color: $color-theme-blue;
|
|
}
|
|
}
|