2011-08-19 02:32:31 +02:00
|
|
|
/**
|
2016-01-06 00:42:07 +01:00
|
|
|
* Style custom to the CMSMain admin interface. CMSMain extends the built in
|
|
|
|
* SilverStripe admin section styles. As much as possible we want to use those
|
|
|
|
* built in styles. If anything in this file can be implemented in a generic
|
2011-08-19 02:32:31 +02:00
|
|
|
* way then it should be include in the admin scss files.
|
|
|
|
*
|
|
|
|
* @package cms
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** ------------------------------------------------------------------
|
|
|
|
* Page History Section.
|
|
|
|
* ----------------------------------------------------------------- */
|
|
|
|
#cms-page-history-versions {
|
|
|
|
tr {
|
|
|
|
&.loading {
|
|
|
|
color: #999;
|
|
|
|
|
|
|
|
td {
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td {
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
2011-09-29 02:10:47 +02:00
|
|
|
}
|
|
|
|
|
2011-10-29 20:46:00 +02:00
|
|
|
.CMSPageHistoryController {
|
|
|
|
ins {
|
|
|
|
background-color: #DFD;
|
|
|
|
padding: 2px;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
del {
|
|
|
|
background-color: #FDD;
|
|
|
|
padding: 2px;
|
|
|
|
color: darken(#FDD, 30%);
|
|
|
|
}
|
2012-04-12 10:36:25 +02:00
|
|
|
}
|
2012-04-16 15:55:19 +02:00
|
|
|
|
|
|
|
/** --------------------------------------------
|
|
|
|
* Tree View (collapsed for sidebar)
|
|
|
|
* -------------------------------------------- */
|
2013-06-03 14:10:12 +02:00
|
|
|
#cms-content-treeview, #cms-content-listview {
|
2012-04-16 15:55:19 +02:00
|
|
|
.cms-tree-expand-trigger {
|
|
|
|
display: none; // Don't show trigger in expanded mode
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-06-16 00:49:19 +02:00
|
|
|
/**
|
|
|
|
* DEPRECATED:
|
|
|
|
* .cms-content-tools will be removed in 4.0
|
|
|
|
* Use .cms-content-filters instead.
|
|
|
|
*
|
|
|
|
* Hide certain elements when shown in "sidebar mode"
|
|
|
|
*/
|
|
|
|
.cms-content-tools {
|
2012-04-16 15:55:19 +02:00
|
|
|
#cms-content-treeview {
|
2012-04-18 03:36:15 +02:00
|
|
|
.cms-content-toolbar {
|
2015-06-29 04:59:48 +02:00
|
|
|
border-bottom: none;
|
|
|
|
box-shadow: none;
|
|
|
|
margin-bottom: 0;
|
2012-04-18 03:36:15 +02:00
|
|
|
}
|
2012-04-16 15:55:19 +02:00
|
|
|
.cms-tree-expand-trigger {
|
2012-12-17 12:46:03 +01:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2015-06-29 04:59:48 +02:00
|
|
|
margin: 0 0 2px 0;
|
|
|
|
span.ui-button-text {
|
|
|
|
padding-right: 8px;
|
2012-04-18 03:36:15 +02:00
|
|
|
}
|
2012-04-16 15:55:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-tree {
|
2015-06-26 02:48:29 +02:00
|
|
|
// Hide badges and drag icons to save space
|
|
|
|
.badge {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2012-06-12 15:55:28 +02:00
|
|
|
// Show badge on hovered node
|
2012-07-23 12:16:39 +02:00
|
|
|
a:hover > .text > .badge, .jstree-clicked > .text > .badge {
|
2012-06-12 15:55:28 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
2012-04-16 15:55:19 +02:00
|
|
|
}
|
|
|
|
}
|
2012-05-10 02:01:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/** ------------------------------------------------------------------
|
|
|
|
* URLSegment field
|
|
|
|
* ----------------------------------------------------------------- */
|
2012-05-10 14:18:22 +02:00
|
|
|
.field.urlsegment {
|
2012-05-10 02:01:57 +02:00
|
|
|
|
2012-08-17 10:05:39 +02:00
|
|
|
&.loading {
|
|
|
|
background: url(../images/loading.gif) no-repeat 162px 8px;
|
2012-05-10 02:01:57 +02:00
|
|
|
}
|
|
|
|
|
2012-05-10 14:18:22 +02:00
|
|
|
.preview {
|
|
|
|
padding-top: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2013-02-04 00:44:50 +01:00
|
|
|
input.text {
|
|
|
|
width: 250px; // ensure there's enough room for buttons
|
2012-05-10 14:18:22 +02:00
|
|
|
}
|
|
|
|
|
2013-02-04 00:44:50 +01:00
|
|
|
input.text, .cancel, .update, .edit {
|
|
|
|
margin-right: 8px;
|
2012-05-10 14:18:22 +02:00
|
|
|
}
|
2012-06-13 13:16:15 +02:00
|
|
|
|
|
|
|
.help {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2013-02-04 00:44:50 +01:00
|
|
|
|
|
|
|
.edit-holder {
|
|
|
|
display: none;
|
|
|
|
}
|
2012-05-13 06:55:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#Form_EditForm #Title .update {
|
|
|
|
margin-left: 7px;
|
2016-01-06 00:42:07 +01:00
|
|
|
}
|