2011-04-15 01:27:23 +02:00
|
|
|
/**
|
|
|
|
* This file defines CMS-specific customizations to the jQuery UI theme.
|
2012-11-06 10:53:20 +01:00
|
|
|
* Every rule should contain ONLY overwritten jQuery UI rules (with 'ui-' prefix).
|
2011-04-15 01:27:23 +02:00
|
|
|
*
|
|
|
|
* 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-11-06 10:53:20 +01:00
|
|
|
.ui-widget-content,
|
|
|
|
.ui-widget {
|
|
|
|
color: $color-text;
|
|
|
|
font-size: $font-base-size;
|
|
|
|
font-family: $font-family;
|
|
|
|
border: 0;
|
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2011-09-29 04:37:51 +02:00
|
|
|
|
2012-11-06 10:53:20 +01: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 background-image(
|
|
|
|
linear-gradient(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);
|
2011-09-29 04:37:51 +02:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
& .ui-dialog-title {
|
2012-12-18 03:04:14 +01:00
|
|
|
padding: 6px 10px;
|
2012-11-06 10:53:20 +01:00
|
|
|
text-shadow: lighten($color-base, 10%) 1px 1px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
& a.ui-dialog-titlebar-close {
|
|
|
|
position: absolute;
|
2015-02-13 03:59:11 +01:00
|
|
|
top: -5px;
|
|
|
|
right: -13px;
|
2012-11-06 10:53:20 +01:00
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
z-index: 100000;
|
|
|
|
}
|
|
|
|
|
2012-11-21 22:01:02 +01:00
|
|
|
a.ui-state-hover {
|
2012-11-06 10:53:20 +01:00
|
|
|
border-color: transparent;
|
|
|
|
background: transparent;
|
2011-09-29 04:37:51 +02:00
|
|
|
|
2012-11-21 22:01:02 +01:00
|
|
|
.ui-icon-closethick {
|
2012-11-06 10:53:20 +01:00
|
|
|
background: sprite($sprites32, dialog-close-over) no-repeat;
|
2011-09-29 04:37:51 +02:00
|
|
|
}
|
2011-04-15 01:27:23 +02:00
|
|
|
}
|
2011-07-29 05:10:14 +02:00
|
|
|
|
2012-11-21 22:01:02 +01:00
|
|
|
.ui-icon-closethick {
|
2012-11-06 10:53:20 +01:00
|
|
|
background: sprite($sprites32, dialog-close) no-repeat;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2011-07-29 05:10:14 +02:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
}
|
2011-08-04 02:02:39 +02:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
.ui-state-hover {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-widget input,
|
|
|
|
.ui-widget select,
|
|
|
|
.ui-widget textarea,
|
|
|
|
.ui-widget button {
|
|
|
|
color: $color-text;
|
|
|
|
font-size: $font-base-size;
|
|
|
|
font-family: $font-family;
|
|
|
|
}
|
2012-11-02 01:36:51 +01:00
|
|
|
|
2012-11-06 10:53:20 +01:00
|
|
|
.ui-accordion {
|
|
|
|
.ui-accordion-header {
|
|
|
|
border-color: $color-button-generic-border;
|
|
|
|
margin-bottom: 0;
|
2012-11-02 01:36:51 +01:00
|
|
|
}
|
2012-11-06 10:53:20 +01:00
|
|
|
.ui-accordion-content {
|
|
|
|
border: 1px solid $color-button-generic-border;
|
|
|
|
border-top: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-04-17 12:38:04 +02:00
|
|
|
.ui-autocomplete {
|
2012-11-06 10:53:20 +01:00
|
|
|
max-height: 240px;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
2015-04-17 12:38:04 +02:00
|
|
|
|
|
|
|
/** sorry about the !important but the specificity of other selectors mandates it over writing out very specific selectors **/
|
2016-03-18 18:53:22 +01:00
|
|
|
&-loading {
|
2015-04-17 12:38:04 +02:00
|
|
|
background-image: url(../images/throbber.gif) !important;
|
|
|
|
background-position: 97% center !important;
|
|
|
|
background-repeat: no-repeat !important;
|
|
|
|
background-size: auto !important;
|
|
|
|
}
|
2011-12-21 19:45:20 +01:00
|
|
|
}
|