2011-04-15 01:27:23 +02:00
|
|
|
/**
|
|
|
|
* This file defines CMS-specific customizations to the jQuery UI theme.
|
|
|
|
* Every rule in this file should be wrapped in the '.cms' selector (to make it more specific),
|
|
|
|
* and contain ONLY overwritten jQuery UI rules (with 'ui-' prefix).
|
|
|
|
*
|
|
|
|
* This file should be fairly short, as we're using our own custom jQuery UI theme already.
|
|
|
|
* TODO Add theme reference
|
|
|
|
*
|
2011-04-19 06:34:30 +02:00
|
|
|
* Use _style.scss to add more generic style information,
|
|
|
|
* and read the jQuery UI theming API: http://jqueryui.com/docs/Theming/API
|
2011-04-15 01:27:23 +02:00
|
|
|
*/
|
|
|
|
|
2012-01-03 17:38:11 +01:00
|
|
|
.cms {
|
2011-04-15 01:27:23 +02:00
|
|
|
.ui-tabs {
|
2011-04-24 01:05:59 +02:00
|
|
|
padding: 0;
|
2011-08-04 02:02:39 +02:00
|
|
|
background: $tab-panel-texture-background;
|
2011-04-24 01:05:59 +02:00
|
|
|
|
|
|
|
.ui-widget-header {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
}
|
2011-06-10 03:37:54 +02:00
|
|
|
|
|
|
|
.ui-tabs-nav {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 0 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-state-active {
|
|
|
|
border-color: $color-medium-separator;
|
|
|
|
}
|
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
|
|
|
.ui-tabs-panel {
|
|
|
|
background: transparent; // default it's white
|
2012-02-14 11:18:58 +01:00
|
|
|
padding: $grid-y * 2 $grid-x * 5 $grid-y * 2 ($grid-x * 3 + 1);
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-08-01 04:27:52 +02:00
|
|
|
.ui-widget-content,
|
|
|
|
.ui-widget {
|
2011-04-19 06:34:30 +02:00
|
|
|
color: $color-text;
|
2011-06-10 03:37:54 +02:00
|
|
|
font-size: $font-base-size;
|
2011-07-29 05:10:14 +02:00
|
|
|
font-family: $font-family;
|
2011-04-15 01:27:23 +02:00
|
|
|
border: 0;
|
|
|
|
}
|
2011-09-29 04:37:51 +02:00
|
|
|
|
|
|
|
.ui-widget-header {
|
|
|
|
background-color: darken($color-widget-bg, 20%);
|
|
|
|
padding: 8px 8px 6px 8px;
|
|
|
|
border-bottom: 2px solid darken($color-widget-bg, 35%);
|
|
|
|
@include linear-gradient(color-stops(
|
|
|
|
darken($color-widget-bg, 5%),
|
|
|
|
darken($color-widget-bg, 30%)
|
|
|
|
));
|
|
|
|
border-bottom: 3px solid darken($color-widget-bg, 50%);
|
|
|
|
padding: 8px;
|
|
|
|
@include border-radius(0);
|
|
|
|
|
|
|
|
& .ui-dialog-title {
|
|
|
|
padding: 6px 0;
|
|
|
|
text-shadow: lighten($color-base, 10%) 1px 1px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& a.ui-dialog-titlebar-close {
|
|
|
|
position: absolute;
|
|
|
|
top: -8px;
|
|
|
|
right: -15px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2011-09-29 05:24:21 +02:00
|
|
|
z-index: 100000;
|
2011-09-29 04:37:51 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
& a.ui-state-hover {
|
|
|
|
border-color: transparent;
|
|
|
|
background: transparent;
|
|
|
|
|
|
|
|
& .ui-icon-closethick {
|
2012-01-06 11:59:10 +01:00
|
|
|
background: sprite($sprites32, dialog-close-over) no-repeat;
|
2011-09-29 04:37:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& .ui-icon-closethick {
|
2012-01-06 11:59:10 +01:00
|
|
|
background: sprite($sprites32, dialog-close) no-repeat;
|
2011-09-29 04:37:51 +02:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
.ui-state-hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
|
|
|
.ui-widget input,
|
|
|
|
.ui-widget select,
|
|
|
|
.ui-widget textarea,
|
|
|
|
.ui-widget button {
|
|
|
|
color: $color-text;
|
|
|
|
font-size: $font-base-size;
|
|
|
|
font-family: $font-family;
|
|
|
|
}
|
|
|
|
|
2011-07-07 07:34:55 +02:00
|
|
|
.ss-ui-button,
|
|
|
|
.ui-widget-content .ss-ui-button,
|
|
|
|
.ui-widget-header .ss-ui-button {
|
2011-08-04 02:02:39 +02:00
|
|
|
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|