2011-08-19 02:32:31 +02:00
|
|
|
/**
|
|
|
|
* Style custom to the CMSMain admin interface. CMSMain extends the built in
|
2012-04-12 10:36:25 +02:00
|
|
|
* SilverStripe admin section styles. As much as possible we want to use those
|
2011-08-19 02:32:31 +02:00
|
|
|
* built in styles. If anything in this file can be implemented in a generic
|
|
|
|
* 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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-06-12 15:55:28 +02:00
|
|
|
// 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 {
|
|
|
|
border-bottom:none;
|
|
|
|
box-shadow:none;
|
|
|
|
margin-bottom:8px;
|
|
|
|
}
|
2012-04-16 15:55:19 +02:00
|
|
|
.cms-tree-view-modes,
|
|
|
|
.cms-content-batchactions {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.cms-tree-expand-trigger {
|
2012-12-17 12:46:03 +01:00
|
|
|
display: block;
|
|
|
|
float: left;
|
2012-04-18 03:36:15 +02:00
|
|
|
margin:0 0 2px 0;
|
|
|
|
span.ui-button-text{
|
|
|
|
padding-right:8px;
|
|
|
|
}
|
2012-04-16 15:55:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.cms-tree {
|
2012-06-12 15:55:28 +02:00
|
|
|
// Hide badges and drag icons to save space
|
2015-06-17 00:24:27 +02:00
|
|
|
.badge {
|
2012-04-16 15:55:19 +02:00
|
|
|
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;
|
2012-04-16 15:55:19 +02:00
|
|
|
}
|