2012-02-03 00:59:40 +01:00
|
|
|
@import "compass/css3";
|
|
|
|
|
2012-05-09 08:38:21 +02:00
|
|
|
|
2012-02-03 00:59:40 +01:00
|
|
|
// TODO we need a seperated file for styles that are used in both cms and front end (such as buttons)
|
|
|
|
@import "../admin/scss/themes/default.scss";
|
2012-05-09 08:38:21 +02:00
|
|
|
@import "../admin/scss/_mixins";
|
2012-05-16 02:18:00 +02:00
|
|
|
@import "_elementMixins";
|
2012-04-17 23:55:02 +02:00
|
|
|
|
2012-11-02 00:46:16 +01:00
|
|
|
// Temporary. To be hidden and replaced with javascript tooltip
|
|
|
|
.ss-uploadfield-view-allowed-extensions{
|
2013-02-18 21:21:49 +01:00
|
|
|
padding-top:5px;
|
2012-11-02 00:46:16 +01:00
|
|
|
clear:both;
|
|
|
|
max-width:750px;
|
|
|
|
display:block;
|
2012-12-19 02:40:22 +01:00
|
|
|
|
|
|
|
.toggle {
|
|
|
|
font-style: normal;
|
|
|
|
font-size: $font-base-size;
|
|
|
|
}
|
2012-11-02 00:46:16 +01:00
|
|
|
}
|
2012-04-17 23:55:02 +02:00
|
|
|
|
2012-02-03 00:59:40 +01:00
|
|
|
#AssetUploadField {
|
|
|
|
border-bottom: 0;
|
2012-02-07 12:25:45 +01:00
|
|
|
@include box-shadow(none);
|
2012-11-22 04:30:50 +01:00
|
|
|
}
|
|
|
|
.backlink {
|
|
|
|
padding-left: 12px;
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
|
|
|
|
2013-02-04 02:15:27 +01:00
|
|
|
#Form_EditorToolbarMediaForm {
|
|
|
|
.ui-tabs-panel {
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-05-22 08:18:31 +02:00
|
|
|
body.cms.ss-uploadfield-edit-iframe, .composite.ss-assetuploadfield .details fieldset {
|
2012-03-27 16:23:48 +02:00
|
|
|
padding: $grid-x*2;
|
|
|
|
overflow: auto;
|
2012-05-22 08:18:31 +02:00
|
|
|
background: #E2E2E2;
|
2012-05-13 21:05:30 +02:00
|
|
|
|
|
|
|
span.readonly {
|
2012-04-18 05:11:18 +02:00
|
|
|
font-style:italic;
|
2012-05-09 08:38:21 +02:00
|
|
|
color:lighten($color-text, 20%);
|
|
|
|
text-shadow: 0px 1px 0px #fff;
|
2012-04-18 05:11:18 +02:00
|
|
|
}
|
2012-06-08 06:42:14 +02:00
|
|
|
.fieldholder-small{
|
2012-06-11 06:02:33 +02:00
|
|
|
|
2012-06-08 06:42:14 +02:00
|
|
|
label{
|
|
|
|
margin-left:0;
|
|
|
|
}
|
|
|
|
}
|
2012-03-27 16:23:48 +02:00
|
|
|
}
|
|
|
|
|
2012-02-03 00:59:40 +01:00
|
|
|
.ss-assetuploadfield {
|
|
|
|
h3 {
|
|
|
|
border-bottom: 1px solid $color-shadow-light;
|
2012-02-07 12:25:45 +01:00
|
|
|
@include box-shadow(0 1px 0 lighten($color-shadow-light, 95%));
|
2012-02-03 00:59:40 +01:00
|
|
|
margin: 0 0 8px;
|
2012-02-07 12:25:45 +01:00
|
|
|
padding: 0 0 7px;
|
|
|
|
clear: both;
|
2012-11-02 00:46:16 +01:00
|
|
|
position:relative;
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-02-21 21:16:52 +01:00
|
|
|
.field {
|
|
|
|
border-bottom: 0;
|
2012-03-30 03:33:20 +02:00
|
|
|
box-shadow:none;
|
2012-02-21 21:16:52 +01:00
|
|
|
}
|
2012-05-09 08:38:21 +02:00
|
|
|
.fileOverview{
|
|
|
|
clear:both;
|
|
|
|
margin-top:10px;
|
|
|
|
position:relative;
|
2012-05-13 21:05:30 +02:00
|
|
|
|
2012-11-02 00:46:16 +01:00
|
|
|
.uploadStatus{
|
|
|
|
@include clearfix;
|
|
|
|
.state{
|
|
|
|
float:left;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight:bold;
|
|
|
|
line-height:1.1em;
|
|
|
|
}
|
|
|
|
.details{
|
|
|
|
opacity:0.9;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.ss-uploadfield-item-actions.edit-all{
|
|
|
|
clear:both;
|
|
|
|
position:relative;
|
|
|
|
z-index:9;
|
|
|
|
.ss-uploadfield-item-edit-all {
|
|
|
|
z-index:8;
|
2012-05-09 08:38:21 +02:00
|
|
|
position:absolute;
|
2012-11-02 00:46:16 +01:00
|
|
|
top:-33px;
|
2012-06-08 06:42:14 +02:00
|
|
|
padding:0;
|
2012-05-09 08:38:21 +02:00
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
right:0;
|
|
|
|
@include box-shadow(none);
|
|
|
|
color: $color-text;
|
2012-06-08 06:42:14 +02:00
|
|
|
&:hover{
|
|
|
|
color: #1e7cba;
|
2012-05-09 08:38:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-02-03 00:59:40 +01:00
|
|
|
|
|
|
|
.ss-uploadfield-files {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-11-02 00:46:16 +01:00
|
|
|
clear:both;
|
2012-02-03 00:59:40 +01:00
|
|
|
|
|
|
|
.ss-uploadfield-item {
|
|
|
|
border: 1px solid lighten($color-medium-separator, 20%);
|
|
|
|
@include border-radius(5px);
|
2012-04-30 02:25:35 +02:00
|
|
|
@include background-clip(padding-box);
|
2012-02-03 00:59:40 +01:00
|
|
|
margin: 0 0 5px;
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
2012-06-25 17:23:26 +02:00
|
|
|
.info {
|
|
|
|
position: relative;
|
|
|
|
padding: 7px;
|
|
|
|
overflow: hidden;
|
|
|
|
background-color: #FFBE66;
|
|
|
|
border: 1px solid #FF9300;
|
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
.ss-uploadfield-item-preview {
|
|
|
|
position: absolute;
|
|
|
|
height: 30px;
|
|
|
|
width: 40px;
|
|
|
|
overflow: hidden;
|
|
|
|
z-index: 1;
|
2012-06-08 06:42:14 +02:00
|
|
|
.no-preview{
|
|
|
|
display:block;
|
|
|
|
height:100%;
|
|
|
|
width:100%;
|
|
|
|
background:url('../images/icons/document.png') 2px 0px no-repeat;
|
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
|
|
|
.ss-uploadfield-item-info {
|
|
|
|
position: relative;
|
2012-11-22 04:30:50 +01:00
|
|
|
line-height: 30px;
|
2013-02-04 02:15:27 +01:00
|
|
|
font-size: 14px;
|
2012-02-07 12:25:45 +01:00
|
|
|
overflow: hidden;
|
|
|
|
background-color: #5db4df;
|
|
|
|
@include background-image(linear-gradient(top, #5db4df 0%,#5db1dd 8%,#439bcb 50%,#3f99cd 54%,#207db6 96%,#1e7cba 100%));
|
|
|
|
}
|
|
|
|
.ui-state-error .ss-uploadfield-item-info {
|
|
|
|
background-color: #c11f1d;
|
2012-05-22 08:18:31 +02:00
|
|
|
padding-right:130px;
|
2012-02-07 12:25:45 +01:00
|
|
|
@include background-image(linear-gradient(top, #c11f1d 0%,#bf1d1b 4%,#b71b1c 8%,#b61e1d 15%,#b11d1d 27%,#ab1d1c 31%,#a51b1b 42%,#9f1b19 46%,#9f1b19 50%,#991c1a 54%,#971a18 58%,#911b1b 62%,#911b1b 65%,#7e1816 88%,#771919 92%,#731817 100%));
|
2012-05-13 21:05:30 +02:00
|
|
|
|
|
|
|
.ss-uploadfield-item-name {
|
2012-05-11 04:43:17 +02:00
|
|
|
width:100%;
|
2012-05-09 08:38:21 +02:00
|
|
|
cursor:default;
|
2012-05-10 04:09:17 +02:00
|
|
|
background: darken($color-button-disabled,20%); //for browsers that don't support rgba
|
2012-05-09 08:38:21 +02:00
|
|
|
background: rgba(darken($color-button-disabled, 15%),0.9);
|
2012-05-13 21:05:30 +02:00
|
|
|
|
2012-05-09 08:38:21 +02:00
|
|
|
.name {
|
|
|
|
text-shadow: 0px 1px 0px rgba(#fff, 0.7);
|
|
|
|
}
|
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
2012-05-09 08:38:21 +02:00
|
|
|
.ui-state-warning .ss-uploadfield-item-info {
|
|
|
|
background-color: $color-warning;
|
|
|
|
@include background-image(
|
|
|
|
linear-gradient(
|
|
|
|
top,
|
|
|
|
desaturate(lighten($color-warning, 10%), 20%) 0%,
|
|
|
|
desaturate(lighten($color-warning, 5%), 20%) 8%,
|
|
|
|
desaturate($color-warning, 20%) 50%,
|
|
|
|
desaturate(darken(mix($color-warning, $color-button-destructive, 99%),0%), 20%) 54%,
|
|
|
|
desaturate(darken(mix($color-warning, $color-button-destructive, 80%),1%), 20%) 96%,
|
|
|
|
desaturate(darken(mix($color-warning, $color-button-destructive, 70%),2%), 20%) 100%)
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2012-02-07 12:25:45 +01:00
|
|
|
.ss-uploadfield-item-name {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
margin: 3px 0 3px 50px;
|
2012-05-10 04:09:17 +02:00
|
|
|
width: 50%;
|
2012-05-09 08:38:21 +02:00
|
|
|
color:lighten($color-text, 10%);
|
|
|
|
background:$color-button-disabled; //for browsers that don't support rgba
|
|
|
|
background: rgba(#fff, 0.8);
|
|
|
|
@include border-radius(3px);
|
2012-02-07 12:25:45 +01:00
|
|
|
line-height: 24px;
|
|
|
|
height: 22px;
|
|
|
|
padding: 0 5px;
|
|
|
|
text-align: left;
|
2012-05-10 04:09:17 +02:00
|
|
|
cursor:pointer;
|
|
|
|
//display:table, and table-layout:fixed allows us to use percentages with text-overflow
|
|
|
|
display:table;
|
2012-05-13 21:05:30 +02:00
|
|
|
table-layout:fixed;
|
|
|
|
|
2012-05-09 08:38:21 +02:00
|
|
|
.name {
|
|
|
|
text-shadow: 0px 1px 0px rgba(#fff, 0.5);
|
|
|
|
display:inline;
|
|
|
|
float:left;
|
2012-05-10 04:09:17 +02:00
|
|
|
max-width:50%;
|
2012-05-09 08:38:21 +02:00
|
|
|
font-weight: normal;
|
2012-02-07 12:25:45 +01:00
|
|
|
padding: 0 5px 0 0;
|
2012-05-10 04:09:17 +02:00
|
|
|
@include hide-text-overflow;
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
2012-05-09 08:38:21 +02:00
|
|
|
.ss-uploadfield-item-status {
|
2012-05-11 04:43:17 +02:00
|
|
|
position:relative;
|
2012-05-09 08:38:21 +02:00
|
|
|
float: right;
|
|
|
|
padding: 0 0 0 5px;
|
|
|
|
max-width:30%;
|
|
|
|
@include hide-text-overflow;
|
|
|
|
text-shadow: 0px 1px 0px rgba(#fff, 0.5);
|
2012-05-13 21:05:30 +02:00
|
|
|
|
2012-05-09 08:38:21 +02:00
|
|
|
&.ui-state-error-text {
|
2012-05-11 04:43:17 +02:00
|
|
|
max-width:70%;
|
|
|
|
position:absolute;
|
|
|
|
right:5px;
|
2012-05-09 08:38:21 +02:00
|
|
|
text-shadow: 0px 1px 0px rgba(#fff, 0.6);
|
|
|
|
color: darken($color-button-destructive, 10%);
|
|
|
|
}
|
|
|
|
&.ui-state-warning-text {
|
|
|
|
color: darken($color-warning, 10%);
|
|
|
|
}
|
|
|
|
&.ui-state-success-text {
|
|
|
|
color: $color-button-constructive;
|
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
2012-05-13 21:05:30 +02:00
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
.ss-uploadfield-item-actions {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 0;
|
2012-05-13 21:05:30 +02:00
|
|
|
color: #f00;
|
2013-02-04 02:15:27 +01:00
|
|
|
@include ss-uploadfield-action-buttons;
|
|
|
|
font-size:14px;
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
2012-05-22 08:18:31 +02:00
|
|
|
|
2012-02-07 12:25:45 +01:00
|
|
|
.ss-uploadfield-item-progress {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
div {
|
|
|
|
@include border-radius(5px);
|
2012-02-03 00:59:40 +01:00
|
|
|
height: 30px;
|
2012-02-07 12:25:45 +01:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2012-02-03 00:59:40 +01:00
|
|
|
overflow: hidden;
|
2012-02-07 12:25:45 +01:00
|
|
|
width: 100%;
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
.ss-uploadfield-item-progressbar {
|
|
|
|
background-color: #92a6b3;
|
|
|
|
@include background-image(linear-gradient(top, #92a6b3 0%,#90aab8 11%,#96b1bf 22%,#9eb4c1 33%,#a7bac7 44%,#c1d5dc 100%));
|
|
|
|
}
|
|
|
|
.ss-uploadfield-item-progressbarvalue {
|
|
|
|
width: 0;
|
|
|
|
background: #60b3dd url(../images/progressbar_blue.gif) repeat left center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-uploadfield-item-editform {
|
|
|
|
/* don't use display none, for it will break jQuery('iframe').contents().height() */
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
clear: both;
|
2012-03-01 11:57:35 +01:00
|
|
|
|
2012-02-07 12:25:45 +01:00
|
|
|
iframe {
|
|
|
|
width: 100%;
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-03-01 11:57:35 +01:00
|
|
|
|
2012-02-03 00:59:40 +01:00
|
|
|
.ss-uploadfield-addfile {
|
|
|
|
|
|
|
|
.ss-uploadfield-item-info {
|
|
|
|
float: left;
|
2013-05-25 08:01:07 +02:00
|
|
|
margin: 25px 0 0;
|
2012-05-22 08:18:31 +02:00
|
|
|
.ss-insert-media &{
|
2013-02-04 02:15:27 +01:00
|
|
|
margin: 10px 0px 0 20px;
|
2012-05-22 08:18:31 +02:00
|
|
|
}
|
2012-05-09 08:38:21 +02:00
|
|
|
label{
|
2013-02-04 02:15:27 +01:00
|
|
|
font-size: 18px;
|
2012-11-22 04:30:50 +01:00
|
|
|
line-height: 30px;
|
2013-05-25 08:01:07 +02:00
|
|
|
padding: 0px 16px;
|
2013-02-04 02:48:26 +01:00
|
|
|
margin-right:0px;
|
2012-05-09 08:38:21 +02:00
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
.ss-uploadfield-fromcomputer {
|
2012-12-19 02:40:22 +01:00
|
|
|
/*position: relative; */
|
2012-02-07 12:25:45 +01:00
|
|
|
overflow: hidden;
|
2012-12-19 02:40:22 +01:00
|
|
|
display: block;
|
2013-02-04 02:15:27 +01:00
|
|
|
.btn-icon-drive-upload-large {
|
2013-05-25 08:01:07 +02:00
|
|
|
background: url(../images/drive-upload-white.png) no-repeat 0px 0px;
|
2013-02-04 02:15:27 +01:00
|
|
|
width:32px;
|
|
|
|
height:32px;
|
|
|
|
margin-top:-12px;
|
|
|
|
}
|
2012-02-07 12:25:45 +01:00
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
.ss-uploadfield-item-uploador {
|
|
|
|
float: left;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 22px;
|
|
|
|
padding: 0 20px;
|
|
|
|
line-height: 70px;
|
2013-05-25 08:01:07 +02:00
|
|
|
margin-top:10px;
|
2012-02-03 00:59:40 +01:00
|
|
|
display: none;
|
2012-05-22 08:18:31 +02:00
|
|
|
.ss-insert-media &{
|
2013-05-25 08:01:07 +02:00
|
|
|
font-size: 18px;
|
|
|
|
margin-top: -5px;
|
2012-05-22 08:18:31 +02:00
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
|
|
|
.ss-uploadfield-dropzone {
|
2012-05-09 08:38:21 +02:00
|
|
|
margin-top:9px;
|
2013-05-25 08:01:07 +02:00
|
|
|
padding: 8px 0;
|
2012-05-09 08:38:21 +02:00
|
|
|
@include border-radius(13px);
|
2012-11-22 04:30:50 +01:00
|
|
|
@include box-shadow(rgba($color-medium-separator, 0.4) 0 0 4px 0 inset, 0 1px 0 #FAFAFA);
|
2012-02-03 00:59:40 +01:00
|
|
|
border: 2px dashed $color-medium-separator;
|
2012-05-09 08:38:21 +02:00
|
|
|
background: lighten($color-base,12%);
|
2012-02-03 00:59:40 +01:00
|
|
|
display: none;
|
2013-02-04 02:15:27 +01:00
|
|
|
height: 54px;
|
2013-05-25 08:01:07 +02:00
|
|
|
min-width: 280px;
|
2012-02-03 00:59:40 +01:00
|
|
|
float: left;
|
2013-04-27 10:15:18 +02:00
|
|
|
text-align: center;
|
2012-05-22 08:18:31 +02:00
|
|
|
|
2012-04-17 23:55:02 +02:00
|
|
|
&.active{
|
|
|
|
&.hover{
|
2012-05-09 08:38:21 +02:00
|
|
|
@include box-shadow(rgba(#fff,0.6) 0 0 3px 2px inset);
|
2012-04-17 23:55:02 +02:00
|
|
|
}
|
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
div {
|
2012-05-09 08:38:21 +02:00
|
|
|
color:lighten($color-text, 10%);
|
|
|
|
text-shadow: 0px 1px 0px #fff;
|
2013-02-18 21:21:49 +01:00
|
|
|
background: url('../images/upload.png') 0 10px no-repeat;
|
2012-04-17 23:55:02 +02:00
|
|
|
z-index:1;
|
2013-02-18 21:21:49 +01:00
|
|
|
padding: 6px 48px 0;
|
2012-05-09 08:38:21 +02:00
|
|
|
line-height: 25px;
|
2013-02-04 02:15:27 +01:00
|
|
|
font-size: 20px;
|
2012-02-03 00:59:40 +01:00
|
|
|
font-weight: bold;
|
2013-02-11 14:13:42 +01:00
|
|
|
display: inline-block;
|
2012-02-03 00:59:40 +01:00
|
|
|
span {
|
|
|
|
display: block;
|
2013-02-04 02:15:27 +01:00
|
|
|
font-size: 12px;
|
2012-04-17 23:55:02 +02:00
|
|
|
z-index:-1;
|
2013-02-04 02:15:27 +01:00
|
|
|
margin-top:-3px;
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
|
|
|
}
|
2012-05-22 08:18:31 +02:00
|
|
|
.ss-insert-media &{
|
2013-02-04 02:15:27 +01:00
|
|
|
height: 54px;
|
2013-05-25 08:01:07 +02:00
|
|
|
min-width: 250px; //Design has these smaller than main upload area
|
2012-05-22 08:18:31 +02:00
|
|
|
overflow:hidden;
|
2013-05-25 08:01:07 +02:00
|
|
|
padding:0;
|
|
|
|
margin-top:2px;
|
|
|
|
div{
|
2013-02-18 21:36:57 +01:00
|
|
|
background-position:0 11px;
|
|
|
|
padding-top:21px;
|
|
|
|
margin-left: 33px;
|
2012-05-22 08:18:31 +02:00
|
|
|
span{
|
2013-02-04 02:15:27 +01:00
|
|
|
height:38px;
|
2012-05-22 08:18:31 +02:00
|
|
|
font-size:18px;
|
|
|
|
line-height: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-11-02 00:46:16 +01:00
|
|
|
}
|
2012-02-03 00:59:40 +01:00
|
|
|
}
|
2012-05-09 08:38:21 +02:00
|
|
|
}
|
|
|
|
|