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)
|
|
|
|
* -------------------------------------------- */
|
|
|
|
#cms-content-treeview {
|
|
|
|
.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-04-18 03:36:15 +02:00
|
|
|
display: inline-block;
|
|
|
|
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
|
2012-04-16 15:55:19 +02:00
|
|
|
.badge,
|
|
|
|
a > .jstree-icon {
|
|
|
|
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
|
|
|
|
|
|
|
&.disabled {
|
|
|
|
color: #444;
|
|
|
|
padding-left: 0px;
|
|
|
|
margin-left: 0px;
|
|
|
|
background: none;
|
|
|
|
border-color: transparent;
|
|
|
|
}
|
|
|
|
|
2012-05-10 14:18:22 +02:00
|
|
|
.prefix,
|
|
|
|
.preview {
|
|
|
|
padding-top: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.prefix {
|
|
|
|
color: #777;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cancel, .update, .edit {
|
|
|
|
margin-left: 7px;
|
|
|
|
}
|
2012-06-13 13:16:15 +02:00
|
|
|
|
|
|
|
.help {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2012-05-13 06:55:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#Form_EditForm #Title .update {
|
|
|
|
margin-left: 7px;
|
2012-04-16 15:55:19 +02:00
|
|
|
}
|