mirror of https://github.com/artf/grapesjs.git
9 changed files with 206 additions and 111 deletions
File diff suppressed because one or more lines are too long
@ -0,0 +1,113 @@ |
|||
.#{$app-prefix}dropzone { |
|||
display: none; |
|||
position: absolute; |
|||
top: 0; |
|||
left: 0; |
|||
z-index: 5; |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
|||
|
|||
.#{$app-prefix}dropzone-active { |
|||
.#{$app-prefix}dropzone { |
|||
display: block; |
|||
} |
|||
} |
|||
|
|||
.#{$am-prefix}assets { |
|||
height: 290px; |
|||
overflow: auto; |
|||
clear: both; |
|||
} |
|||
|
|||
.#{$am-prefix}assets-header { |
|||
padding: 5px; |
|||
} |
|||
|
|||
.#{$am-prefix}add-asset { |
|||
.#{$am-prefix}add-field { |
|||
width: 70%; |
|||
float: left; |
|||
} |
|||
button{ |
|||
width: 25%; |
|||
float: right; |
|||
} |
|||
} |
|||
|
|||
.#{$am-prefix}add-field input { |
|||
padding: 6px; |
|||
} |
|||
|
|||
.#{$am-prefix}assets-cont { |
|||
background-color: $mainDklColor; |
|||
border-radius: 3px; |
|||
box-sizing: border-box; |
|||
padding: 10px; |
|||
width: 45%; |
|||
float:right; |
|||
height: 325px; |
|||
overflow: hidden; |
|||
|
|||
##{$am-prefix}preview-cont{ |
|||
position: relative; |
|||
height: 70px; width: 30%; |
|||
background-color: $mainColor; |
|||
border-radius: 2px; |
|||
float: left; |
|||
overflow: hidden; |
|||
} |
|||
|
|||
##{$am-prefix}preview{ |
|||
position: absolute; |
|||
background-position: center center; |
|||
background-size: cover; |
|||
background-repeat: no-repeat; |
|||
height: 100%; |
|||
width: 100%; |
|||
z-index: 1; |
|||
} |
|||
|
|||
##{$am-prefix}preview-bg{ |
|||
position: absolute; |
|||
height: 100%; |
|||
width: 100%; |
|||
@include opacity(0.5); |
|||
z-index: 0; |
|||
} |
|||
|
|||
.#{$am-prefix}highlight { |
|||
background-color: $mainLhColor; |
|||
} |
|||
|
|||
.#{$am-prefix}asset { |
|||
border-bottom: 1px solid darken($mainDkColor, 3%); |
|||
padding: 5px; |
|||
cursor:pointer; |
|||
position: relative; |
|||
|
|||
&:hover ##{$am-prefix}close { display: block;} |
|||
|
|||
} |
|||
##{$am-prefix}close { |
|||
@extend .btn-cl; |
|||
position: absolute; |
|||
right: 5px; |
|||
top: 0; |
|||
display: none; |
|||
} |
|||
|
|||
##{$am-prefix}meta { |
|||
width: 70%; |
|||
float: left; |
|||
font-size: 12px; |
|||
padding: 5px 0 0 5px; |
|||
box-sizing: border-box; |
|||
|
|||
> div { margin-bottom: 5px;} |
|||
##{$am-prefix}dimensions { |
|||
font-size: 10px; |
|||
@include opacity(0.5); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue