silverstripe-dms/scss/DMSDocumentCMSFields.scss

113 lines
1.7 KiB
SCSS

@import "compass/css3";
$color-button-generic: #e6e6e6 !default;
form.small .field input.text,
form.small .field textarea,
form.small .field select,
form.small .field .TreeDropdownField,
.field.small input.text, .field.small textarea,
.field.small select, .field.small .TreeDropdownField{
width: 100%;
}
#FileP{
.fieldgroup-field{
width:100%;
.cms-file-info-preview{
box-shadow:none;
}
.cms-file-info-data{
width:400px;
}
.fieldholder-small{
margin-top: 5px;
label{
width:auto;
margin-left: 0;
padding-top: 0;
margin-right: 10px;
font-weight: bold;
float: left;
}
.readonly{
font-style:italic;
color: #666;
}
}
}
}
#DocumentTypeID{
ul{
padding:0;
input[type="radio"]{
display:none;
}
li{
display:inline-block;
padding:0;
width:94px;
margin-right: -1px;
border-radius:0;
&.val1{
width:130px;
}
&:first-child{
border-radius: 6px 0 0 6px;
border-left: 1px solid #C0C0C2;
}
&:last-child{
border-radius: 0 6px 6px 0;
}
&.selected{
border-bottom:1px solid #C0C0C2;
@include background(
linear-gradient(color-stops(
darken($color-button-generic, 15%),
$color-button-generic
))
);
box-shadow: 0 1px 1px 0 #A0A0A0 inset;
:after{
box-shadow: 0 1px 1px 0 #DDD;
}
}
label{
padding: .4em 1em;
display: block;
line-height: 1.4;
white-space:normal;
}
}
}
}
#Actions{
li{
margin-left: 2px;
&:first-child{
margin-left: 0;
}
}
}
#ReplaceFile{
display:none;
}
#Form_ItemEditForm{
fieldset{
table.ss-gridfield-table{
width: auto;
tr{
th.main{
min-width:200px;
&.col-action_SetOrderID{
width:60px;
min-width:60px;
}
}
}
}
}
}