2012-06-18 02:13:20 +02:00
|
|
|
//Mixin to adjust text in collapsed side panel and display vertically
|
|
|
|
@mixin IEVerticalPanelText{
|
|
|
|
.cms-panel-content-collapsed {
|
|
|
|
position:relative;
|
2016-01-06 00:34:58 +01:00
|
|
|
width: 40px;
|
2012-06-18 02:13:20 +02:00
|
|
|
h2, h3 {
|
|
|
|
&.cms-panel-header {
|
|
|
|
zoom: 1;
|
|
|
|
position:absolute;
|
|
|
|
top:10px;
|
|
|
|
right:10px;
|
2016-01-06 00:34:58 +01:00
|
|
|
writing-mode: tb-rl;
|
2012-06-18 02:13:20 +02:00
|
|
|
float:right;
|
|
|
|
z-index:5000;
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-06-18 02:13:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2012-05-09 08:31:25 +02:00
|
|
|
//fix for background colors on buttons
|
|
|
|
.cms .ss-ui-button {
|
|
|
|
background-color: $color-button-generic;
|
|
|
|
&.ui-state-hover {
|
2012-05-16 02:18:23 +02:00
|
|
|
background-color:lighten($color-button-generic, 5%);
|
|
|
|
}
|
2012-05-09 08:31:25 +02:00
|
|
|
&.ss-ui-action-constructive {
|
|
|
|
background-color:$color-button-constructive;
|
|
|
|
&.ui-state-hover {
|
|
|
|
background-color:lighten($color-button-constructive, 5%);
|
|
|
|
}
|
|
|
|
}
|
2012-05-16 02:18:23 +02:00
|
|
|
&.ss-gridfield-button-filter{
|
|
|
|
$bgImage: url(../../images/icons/filter-icons.png) no-repeat;
|
2016-01-06 00:34:58 +01:00
|
|
|
background:lighten($color-menu-button,10%) $bgImage -14px 4px;
|
2012-05-16 02:18:23 +02:00
|
|
|
}
|
2012-05-09 08:31:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
//fix for background color on default tabs
|
2016-01-06 00:34:58 +01:00
|
|
|
.ui-state-default,
|
|
|
|
.ui-widget-content .ui-state-default,
|
2012-05-09 08:31:25 +02:00
|
|
|
.ui-widget-header .ui-state-default {
|
|
|
|
background-image:none;
|
|
|
|
}
|
|
|
|
|
|
|
|
//fix for filter and reset icons on datagrid
|
|
|
|
.ss-gridfield-button-filter.ss-ui-button {
|
2016-01-06 00:34:58 +01:00
|
|
|
background: $color-button-generic url(../images/filter-icons.png) no-repeat -40px 6px;
|
2012-05-09 08:31:25 +02:00
|
|
|
filter:none;
|
|
|
|
&.hover-alike:active {
|
|
|
|
background-color: darken(#338DC1, 5%);
|
2016-01-06 00:34:58 +01:00
|
|
|
background-position: -15px 7px;
|
2012-05-09 08:31:25 +02:00
|
|
|
filter:none;
|
|
|
|
}
|
|
|
|
&.hover-alike {
|
|
|
|
background-color: #338DC1;
|
2016-01-06 00:34:58 +01:00
|
|
|
background-position: -16px 6px;
|
2012-05-09 08:31:25 +02:00
|
|
|
filter:none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-gridfield-button-reset.ss-ui-button {
|
2016-01-06 00:34:58 +01:00
|
|
|
background: $color-button-generic url(../images/filter-icons.png) no-repeat 8px 5px;
|
2012-05-09 08:31:25 +02:00
|
|
|
filter:none;
|
|
|
|
&.filtered:hover {
|
2016-01-06 00:34:58 +01:00
|
|
|
background: $color-button-destructive url(../images/filter-icons.png) no-repeat 8px -17px;
|
2012-05-09 08:31:25 +02:00
|
|
|
filter:none;
|
|
|
|
}
|
|
|
|
&.filtered:active {
|
2016-01-06 00:34:58 +01:00
|
|
|
background: darken($color-button-destructive, 5%) url(../images/filter-icons.png) no-repeat 9px -16px;
|
2012-05-09 08:31:25 +02:00
|
|
|
filter:none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//fix for borders on gridfield table
|
|
|
|
.cms table.ss-gridfield-table {
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
border-right: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
}
|
|
|
|
th {
|
|
|
|
border-right: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
&.main {
|
|
|
|
border-top: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
&.extra {
|
|
|
|
border-top: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
padding-right:12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
td:first-child, th:first-child {
|
|
|
|
border-left: 1px solid lighten($color-medium-separator, 10%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//fix for edit and delete icons - border appears on click.
|
|
|
|
.cms .ss-gridfield table.ss-gridfield-table tbody {
|
|
|
|
td {
|
|
|
|
button {
|
|
|
|
border:0;
|
|
|
|
background:none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//fix for wrong alignment of label on parent groups field in users groups
|
|
|
|
.cms .cms-content .cms-content-fields {
|
|
|
|
.aligned_right_label {
|
|
|
|
margin-left:0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-06-18 03:22:01 +02:00
|
|
|
.cms-menu-list li a .icon{
|
|
|
|
filter:none;
|
|
|
|
}
|
|
|
|
|
2012-05-09 08:31:25 +02:00
|
|
|
|
2015-06-16 00:52:42 +02:00
|
|
|
/**
|
|
|
|
* DEPRECATED:
|
|
|
|
* .cms-content-tools will be removed in 4.0
|
|
|
|
* Use .cms-content-filters instead.
|
|
|
|
*
|
|
|
|
* Fix for model admin filter styling
|
|
|
|
*/
|
2012-05-09 08:31:25 +02:00
|
|
|
.ModelAdmin .cms-content-fields .cms-content-tools .cms-panel-content {
|
|
|
|
#Form_ImportForm {
|
|
|
|
div.file {
|
|
|
|
margin:0px;
|
|
|
|
input.file {
|
2016-01-06 00:34:58 +01:00
|
|
|
margin-left: -132px; //hides unnecessary text input field
|
2012-05-09 08:31:25 +02:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-05-09 08:31:25 +02:00
|
|
|
div.checkbox {
|
|
|
|
padding:0px; //stops clear database text from overflowing onto two lines.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-06-19 07:52:09 +02:00
|
|
|
|
|
|
|
.filter-buttons{
|
|
|
|
button{
|
|
|
|
&.ss-gridfield-button-filter{
|
|
|
|
background-position: -18px 4px !important;
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|
2012-06-19 07:52:09 +02:00
|
|
|
}
|
|
|
|
}
|
2012-12-04 06:10:20 +01:00
|
|
|
|
|
|
|
/* Alternative styles for the switch in old IE */
|
|
|
|
fieldset.switch-states{
|
2015-08-31 23:46:39 +02:00
|
|
|
padding-right: 20px;
|
2012-12-04 06:10:20 +01:00
|
|
|
.switch{
|
2012-12-12 23:09:27 +01:00
|
|
|
padding: 0;
|
|
|
|
width: 100%+32;
|
|
|
|
left: -32px;
|
2012-12-04 06:10:20 +01:00
|
|
|
label{
|
|
|
|
overflow:visible;
|
|
|
|
text-overflow:visible;
|
|
|
|
white-space:normal;
|
|
|
|
padding:0;
|
|
|
|
&.active{
|
|
|
|
color:#fff;
|
2016-01-06 00:34:58 +01:00
|
|
|
background-color: #2b9c32;
|
2012-12-04 06:10:20 +01:00
|
|
|
}
|
|
|
|
span{
|
|
|
|
display:inline;
|
2012-12-12 23:09:27 +01:00
|
|
|
padding:0 8px;
|
2012-12-04 06:10:20 +01:00
|
|
|
overflow:visible;
|
|
|
|
text-overflow:visible;
|
|
|
|
white-space:wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.slide-button{
|
|
|
|
display:none;
|
|
|
|
}
|
2012-12-12 23:09:27 +01:00
|
|
|
input.state-name {
|
|
|
|
margin-left: -20px;
|
|
|
|
}
|
2012-12-04 06:10:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
/* Hide size controls in IE - they won't work as intended */
|
|
|
|
.cms-content-controls{
|
|
|
|
.preview-size-selector{
|
|
|
|
display:none;
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
}
|