silverstripe-dms/dist/css/cmsbundle.css
Robbie Averill 9b42effeb5 FIX Refactor SCSS, convert to more BEM-like names, add admin icon
* Remove "small" class from inline edit form for documents
* Swap relationeditor GridFieldConfig for record editor to ensure that document sets can be deleted from a page context rather than unlinked (natively)
* Fix to ensure that related documents can be autocompleted via partial matching on filename
* Add 2 space indentation rule to editorconfig for .js and .scss files
2017-05-22 15:20:16 +12:00

330 lines
13 KiB
CSS

.dmsdocument-documentdetails .fieldgroup-field .cms-file-info-preview {
box-shadow: none; }
.dmsdocument-documentdetails .fieldgroup-field .cms-file-info-data {
width: 400px; }
.dmsdocument-documentdetails .fieldgroup-field .fieldholder-small {
margin-top: 5px; }
.dmsdocument-documentdetails .fieldgroup-field .fieldholder-small .fieldholder-small-label {
font-weight: bold;
float: left; }
.dmsdocument-documentdetails .fieldgroup-field .fieldholder-small .readonly {
font-style: italic; }
.dmsdocment-actions {
border: none;
box-shadow: none;
margin-bottom: 0;
padding: 0; }
.dmsdocment-actions label.left {
padding: 6px 0 0 0; }
.dmsdocment-actions .ss-ui-button {
border: none;
background: none;
border-radius: 0;
font-weight: normal; }
.dmsdocment-actions .ss-ui-button .ui-button-text {
padding-bottom: 1em; }
.dmsdocment-actions .ss-ui-button.dms-active, .dmsdocment-actions .ss-ui-button.dms-active:hover {
border-bottom: 4px solid #66727d; }
.dmsdocment-actions .ss-ui-button:hover, .dmsdocment-actions .ss-ui-button:active {
background: none;
border: none;
box-shadow: none; }
.dmsdocument-actionspanel {
margin-top: 0; }
.dmsdocument-actionspanel .fieldgroup {
border: 1px solid #d0d3d5;
display: none;
margin-left: 0;
padding: 5px 15px; }
.dmsdocument-actionspanel .fieldgroup .fieldholder-small label {
padding: 0; }
.dmsdocument-actionspanel .fieldgroup .embargo li,
.dmsdocument-actionspanel .fieldgroup .expiry li {
margin-left: 8px;
width: 100%; }
.dmsdocument-actionspanel .fieldgroup .embargo li label,
.dmsdocument-actionspanel .fieldgroup .expiry li label {
padding-left: 10px; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime {
float: left;
margin-top: 0;
margin-left: 34px;
overflow: hidden; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .field.date, .dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .field.time,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .field.date,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .field.time,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .field.date,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .field.time,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .field.date,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .field.time {
display: inline-block;
margin: 0;
padding: 0;
width: auto; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .field.date .middleColumn, .dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .field.time .middleColumn,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .field.date .middleColumn,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .field.time .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .field.date .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .field.time .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .field.date .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .field.time .middleColumn {
overflow: hidden; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .field.date .middleColumn,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .field.date .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .field.date .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .field.date .middleColumn {
background: url(../../images/calendar-month.png) 90px 7px no-repeat; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .field.time .middleColumn,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .field.time .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .field.time .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .field.time .middleColumn {
background: url(../../images/clock-frame.png) 90px 7px no-repeat; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .middleColumn,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .middleColumn,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .middleColumn {
border: none;
margin-left: 0;
width: auto; }
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .middleColumn input.date,
.dmsdocument-actionspanel .fieldgroup .embargo .embargoDatetime .middleColumn input.time,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .middleColumn input.date,
.dmsdocument-actionspanel .fieldgroup .embargo .expiryDatetime .middleColumn input.time,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .middleColumn input.date,
.dmsdocument-actionspanel .fieldgroup .expiry .embargoDatetime .middleColumn input.time,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .middleColumn input.date,
.dmsdocument-actionspanel .fieldgroup .expiry .expiryDatetime .middleColumn input.time {
margin-right: 40px;
width: 80px; }
.dmsdocument-actionspanel .fieldgroup .fieldgroup-field label {
margin: 0; }
.dmsdocument-actionspanel .ss-uploadfield-files .ss-uploadfield-item-preview {
background: url(../../images/app_icons/generic_32.png) -10px -6px no-repeat; }
.dmsdocument-actionspanel .ss-uploadfield-files .ss-uploadfield-item-name span.name {
width: 260px; }
.dmsdocument-actionspanel .ss-uploadfield-files .ss-uploadfield-item-actions .ss-uploadfield-item-cancel {
text-indent: 0;
width: auto; }
.dmsdocument-actionspanel .ss-uploadfield-files .ss-uploadfield-item-actions .ss-uploadfield-item-cancel .btn-icon-deleteLight {
background-position: 0 -128px;
display: inline-block; }
.dmsdocument-actionspanel .ss-uploadfield-files .ss-uploadfield-item-actions .ss-uploadfield-item-cancel .ui-button-text {
color: #66727d;
display: block;
float: right;
padding: 0 0 0 2em;
position: relative; }
.dmsdocument-actionspanel > .fieldgroup.middleColumn {
display: block;
overflow: hidden; }
.dmsdocument-actionspanel > .fieldgroup.middleColumn .fieldgroup-field {
width: 100%; }
.dmsdocument-actionspanel .permissions .fieldholder-small {
clear: both; }
#ui-datepicker-div {
border: 1px solid #d0d3d5; }
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%; }
.dmsdocument-addexisting .ui-autocomplete {
border: 1px solid #d0d3d5;
max-height: 300px;
overflow: scroll; }
.ss-add .document-add-existing input.document-autocomplete {
position: absolute;
z-index: 9999;
width: 390px;
padding: 9px 7px;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
outline: none;
box-sizing: border-box;
-moz-box-sizing: border-box; }
.ss-add .document-add-existing input.document-autocomplete[disabled] {
color: #d0d3d5;
text-shadow: 0 -1px 0 #ffffff;
background: #f8f8f8;
background-image: none;
box-shadow: inset 0 1px 8px 0 #d0d3d5;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0; }
.ss-add .document-add-existing .treedropdown {
border: none; }
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link {
padding: 5px 9px 9px;
background: #fff;
border: 1px solid #B3B3B3;
float: right;
z-index: 99999;
position: relative; }
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link.treedropdownfield-open-tree {
background: #fff;
border: 1px solid #B3B3B3;
border-bottom: none;
border-bottom-right-radius: 0; }
.ss-add .document-add-existing .treedropdownfield-title {
width: auto; }
.ss-add .document-add-existing .treedropdownfield-toggle-panel-link a {
display: inline-block;
top: 4px;
position: relative; }
.ss-add .document-add-existing .document-list {
width: 510px;
border: 1px solid #d0d3d5;
border-top: none;
background: #ffffff;
display: none;
max-height: 300px;
background-clip: padding-box;
overflow: scroll; }
.ss-add .document-add-existing .document-list p {
padding: 10px 10px 0; }
.ss-add .document-add-existing .document-list ul {
padding: 4px 0; }
.ss-add .document-add-existing .document-list ul li {
line-height: 18px; }
.ss-add .document-add-existing .document-list ul li a {
display: block;
padding: 4px 8px;
border: 1px solid #ffffff;
color: black; }
.ss-add .document-add-existing .document-list ul li a:hover {
border: 1px solid #d0d3d5;
border-radius: 4px;
background: rgba(203, 203, 203, 0.4);
cursor: pointer;
text-decoration: none;
outline: none;
text-shadow: none; }
.ss-add .document-add-existing.link-editor-context label {
float: left;
display: block;
width: 176px;
padding: 8px 8px 8px 0;
line-height: 16px;
font-weight: bold;
text-shadow: 1px 1px 0 white; }
.ss-add .document-add-existing.link-editor-context .middleColumn {
margin-left: 184px; }
.ss-add .document-add-existing.link-editor-context .middleColumn input {
background: white;
border: 1px solid #B3B3B3;
line-height: 16px;
margin: 0;
border-radius: 4px;
background-size: 100%;
max-width: 512px; }
.ss-add .ss-assetuploadfield.link-editor-context label {
float: left;
display: block;
width: 176px;
padding: 8px 8px 8px 0;
line-height: 16px;
font-weight: bold;
text-shadow: 1px 1px 0 white; }
.ss-add .ss-assetuploadfield.link-editor-context .middleColumn {
margin-left: 184px;
display: block;
padding: 8px 8px 8px 0;
font-style: italic;
min-height: 20px; }
.ss-add .ss-assetuploadfield .step4 {
margin-bottom: 10px; }
.cms .ss-add .treedropdownfield-panel,
.cms .selectiongroup .treedropdownfield-panel {
margin: -1px 0 0 0;
box-sizing: border-box; }
.cms .ss-add .treedropdownfield-panel ul,
.cms .selectiongroup .treedropdownfield-panel ul {
padding: 4px 0; }
.cms .ss-add .treedropdownfield-panel ul li,
.cms .selectiongroup .treedropdownfield-panel ul li {
border: 1px solid #ffffff; }
.cms .ss-add .treedropdownfield-panel ul li a,
.cms .selectiongroup .treedropdownfield-panel ul li a {
display: block;
padding: 4px 2px; }
.cms .ss-add .treedropdownfield-panel ul li a.jstree-hovered,
.cms .selectiongroup .treedropdownfield-panel ul li a.jstree-hovered {
background: rgba(203, 203, 203, 0.4);
border: 1px solid #d0d3d5; }
#Form_ItemEditForm h3:first-child {
display: inline-block;
float: left;
width: 184px; }
#Form_ItemEditForm ul.SelectionGroup {
display: inline-block;
position: relative;
padding: 0;
margin-top: 9px;
margin-left: 0;
height: 110px;
background: none;
border: none; }
#Form_ItemEditForm ul.SelectionGroup li {
width: auto;
clear: none;
display: inline;
margin-right: 4px; }
#Form_ItemEditForm ul.SelectionGroup li input.selector {
display: none; }
#Form_ItemEditForm ul.SelectionGroup li label.ui-button {
font-weight: bold;
border: 1px solid #C0C0C2;
border-radius: 3px;
padding: 0.8em 1.5em; }
#Form_ItemEditForm ul.SelectionGroup li label.ui-button:hover {
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
#Form_ItemEditForm ul.SelectionGroup li div.field {
margin-left: 0px;
margin-bottom: 1em;
width: 600px;
position: absolute;
left: 0;
margin-top: 13px;
padding: 10px;
background: white;
border: 1px solid #B3B3B3; }
#Form_ItemEditForm ul.SelectionGroup li.selected label.ui-button:after {
top: 43px; }
#Form_ItemEditForm ul.SelectionGroup .treedropdownfield-panel {
margin: 1px 0 0 -1px;
box-sizing: content-box; }
#Form_ItemEditForm ul.SelectionGroup .treedropdownfield-panel ul li {
display: block;
clear: both;
width: 100%;
margin: 0; }
#Form_ItemEditForm ul.SelectionGroup .treedropdownfield-panel ul li li {
padding-left: 20px; }