334 lines
6.2 KiB
SCSS
334 lines
6.2 KiB
SCSS
// studio - views - assets
|
|
// ====================
|
|
|
|
.view-uploads {
|
|
|
|
.content-primary, .content-supplementary {
|
|
@include box-sizing(border-box);
|
|
float: left;
|
|
}
|
|
|
|
.content-primary {
|
|
width: flex-grid(9, 12);
|
|
margin-right: flex-gutter();
|
|
}
|
|
|
|
.content-supplementary {
|
|
width: flex-grid(3, 12);
|
|
}
|
|
|
|
.nav-actions {
|
|
|
|
.icon-cloud-upload {
|
|
@extend %t-copy;
|
|
vertical-align: bottom;
|
|
margin-right: ($baseline/5);
|
|
}
|
|
|
|
}
|
|
|
|
.asset-library {
|
|
@include clearfix;
|
|
|
|
table {
|
|
width: 100%;
|
|
word-wrap: break-word;
|
|
|
|
th {
|
|
@extend %t-copy-sub2;
|
|
background-color: $gray-l5;
|
|
padding: 0 $baseline ($baseline*.75) $baseline;
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
color: $gray;
|
|
}
|
|
|
|
td {
|
|
padding: ($baseline/2);
|
|
vertical-align: middle;
|
|
text-align: left;
|
|
}
|
|
|
|
tbody {
|
|
box-shadow: 0 2px 2px $shadow-l1;
|
|
border: 1px solid $gray-l4;
|
|
background: $white;
|
|
|
|
tr {
|
|
@include transition(all $tmg-f2 ease-in-out 0s);
|
|
border-top: 1px solid $gray-l4;
|
|
|
|
&:first-child {
|
|
border-top: none;
|
|
}
|
|
|
|
&:nth-child(odd) {
|
|
background-color: $gray-l6;
|
|
}
|
|
|
|
a {
|
|
color: $gray-d1;
|
|
|
|
&:hover {
|
|
color: $blue;
|
|
}
|
|
}
|
|
|
|
&.is-locked {
|
|
background-image: url('../img/bg-micro-stripes.png');
|
|
background-position: 0 0;
|
|
background-repeat: repeat;
|
|
}
|
|
|
|
&:hover {
|
|
background-color: $blue-l5;
|
|
|
|
.date-col,
|
|
.embed-col,
|
|
.embed-col .embeddable-xml-input {
|
|
color: $gray;
|
|
}
|
|
}
|
|
}
|
|
|
|
.thumb-col {
|
|
padding: ($baseline/2) $baseline;
|
|
|
|
.thumb {
|
|
width: 100px;
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
.name-col {
|
|
|
|
.title {
|
|
@extend %t-copy-sub1;
|
|
display: inline-block;
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
.date-col {
|
|
@include transition(all $tmg-f2 ease-in-out 0s);
|
|
@extend %t-copy-sub2;
|
|
color: $gray-l2;
|
|
}
|
|
|
|
.embed-col {
|
|
@include transition(all $tmg-f2 ease-in-out 0s);
|
|
padding-left: ($baseline*.75);
|
|
color: $gray-l2;
|
|
|
|
.embeddable-xml-input {
|
|
@include transition(all $tmg-f2 ease-in-out 0s);
|
|
@extend %t-copy-sub2;
|
|
box-shadow: none;
|
|
border: none;
|
|
background: none;
|
|
width: 100%;
|
|
color: $gray-l2;
|
|
|
|
&:focus {
|
|
background-color: $white;
|
|
box-shadow: 0 1px 5px $shadow-l1 inset;
|
|
border: 1px solid $gray-l3;
|
|
}
|
|
}
|
|
}
|
|
|
|
.actions-col {
|
|
padding: ($baseline/2);
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.action-item {
|
|
display: inline-block;
|
|
margin: ($baseline/4) 0 ($baseline/4) ($baseline/4);
|
|
|
|
.action-button {
|
|
@include transition(all $tmg-f2 ease-in-out 0s);
|
|
display: block;
|
|
height: ($baseline*1.5);
|
|
width: ($baseline*1.5);
|
|
border-radius: 3px;
|
|
color: $gray-l3;
|
|
|
|
&:hover {
|
|
background-color: $blue;
|
|
color: $gray-l6;
|
|
}
|
|
}
|
|
|
|
[class^="icon-"] {
|
|
display: inline-block;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
|
|
&.action-lock {
|
|
position: relative;
|
|
}
|
|
|
|
&.action-lock label {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
height: 30px;
|
|
width: 30px;
|
|
|
|
&:hover {
|
|
background-color: $blue;
|
|
}
|
|
}
|
|
|
|
&.action-lock .lock-checkbox {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
height: 30px;
|
|
width: 30px;
|
|
opacity: 0;
|
|
}
|
|
|
|
&.action-lock .lock-checkbox:hover ~ .action-button {
|
|
background-color: $blue;
|
|
color: $gray-l6;
|
|
}
|
|
|
|
&.action-lock .lock-checkbox ~ .action-button {
|
|
.icon-lock {
|
|
display: none;
|
|
}
|
|
|
|
.icon-unlock-alt {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
&.action-lock .lock-checkbox:checked ~ .action-button {
|
|
background-color: $gray;
|
|
color: $white;
|
|
|
|
.icon-lock {
|
|
display: inline-block;
|
|
}
|
|
|
|
.icon-unlock-alt {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
.show-xml {
|
|
@include blue-button;
|
|
}
|
|
|
|
.upload-modal {
|
|
display: none;
|
|
width: 640px !important;
|
|
margin-left: -320px !important;
|
|
|
|
.modal-body {
|
|
height: auto !important;
|
|
overflow-y: auto !important;
|
|
text-align: center;
|
|
}
|
|
|
|
.title {
|
|
@extend %t-title3;
|
|
float: none;
|
|
margin: ($baseline*2) 0 ($baseline*1.5);
|
|
font-weight: 300;
|
|
}
|
|
|
|
.file-input {
|
|
display: none;
|
|
}
|
|
|
|
.choose-file-button {
|
|
@include blue-button;
|
|
padding: 10px 82px 12px;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.progress-bar {
|
|
display: none;
|
|
width: ($baseline*15);
|
|
height: 35px;
|
|
margin: ($baseline) auto;
|
|
border: 1px solid $green;
|
|
border-radius: ($baseline*2);
|
|
|
|
&.loaded {
|
|
border-color: #66b93d;
|
|
|
|
.progress-fill {
|
|
background: #66b93d;
|
|
}
|
|
}
|
|
}
|
|
|
|
.progress-fill {
|
|
@extend %t-copy-sub1;
|
|
width: 0%;
|
|
height: ($baseline*1.5);
|
|
border-radius: ($baseline*2);
|
|
background: $green;
|
|
padding-top: ($baseline/4);
|
|
color: $white;
|
|
}
|
|
|
|
.close-button {
|
|
@include transition(color $tmg-f2 ease-in-out 0s);
|
|
position: absolute;
|
|
top: 0;
|
|
right: ($baseline*.75);
|
|
border: none;
|
|
background: none;
|
|
padding: 0;
|
|
|
|
[class^="icon-"] {
|
|
@extend %t-action1;
|
|
}
|
|
|
|
&:hover {
|
|
background: none;
|
|
box-shadow: none;
|
|
color: $blue;
|
|
}
|
|
}
|
|
|
|
.embeddable {
|
|
display: none;
|
|
margin: ($baseline*1.5) 0 ($baseline*4);
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: ($baseline/2);
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.embeddable-xml-input {
|
|
box-shadow: none;
|
|
width: ($baseline*20);
|
|
}
|
|
|
|
.copy-button {
|
|
@include white-button;
|
|
display: none;
|
|
margin-bottom: ($baseline*5);
|
|
}
|
|
}
|
|
}
|