2014-08-24 19:59:26 +02:00
|
|
|
/**
|
|
|
|
* This file defines graphics to use on high-DPI screens in the CMS
|
|
|
|
*
|
|
|
|
* @package framework
|
|
|
|
* @subpackage admin
|
|
|
|
*/
|
|
|
|
|
2016-02-10 23:13:32 +01:00
|
|
|
@mixin retina-sprite($sprite) {
|
|
|
|
@include sprite($sprite);
|
|
|
|
background-position: round(nth($sprite, 1)/2) round(nth($sprite, 2)/2);
|
|
|
|
width: round(nth($sprite, 3)/2);
|
|
|
|
height: round(nth($sprite, 4)/2);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@mixin icons-retina($sprite) {
|
|
|
|
background-image: sprite-url($sprite);
|
|
|
|
background-size: ceil(image-width(sprite-path($sprite)) / 2) auto;
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2016-03-16 01:30:39 +01:00
|
|
|
&.icon-campaignadmin {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "collection"), 2) / 2);
|
|
|
|
}
|
2014-08-24 19:59:26 +02:00
|
|
|
&.icon-assetadmin {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "picture"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-cmsmain {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "pencil"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-cmspagescontroller {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "network"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-cmssettingscontroller {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "gears"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-securityadmin {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "community"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-reportadmin {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "pie-chart"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-commentadmin {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "blog"), 2) / 2);
|
|
|
|
}
|
|
|
|
&.icon-help {
|
|
|
|
background-position: 0 round(nth(sprite-position($sprite, "information"), 2) / 2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** ----------------------------------------------------
|
|
|
|
* "@2x" media query
|
|
|
|
* ---------------------------------------------------- */
|
|
|
|
|
|
|
|
@media
|
|
|
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
|
|
|
only screen and ( min--moz-device-pixel-ratio: 2),
|
|
|
|
only screen and ( -o-min-device-pixel-ratio: 2/1),
|
|
|
|
only screen and ( min-device-pixel-ratio: 2),
|
|
|
|
only screen and ( min-resolution: 192dpi),
|
|
|
|
only screen and ( min-resolution: 2dppx) {
|
|
|
|
|
2016-02-10 23:13:32 +01:00
|
|
|
.retina-sprites-64x64-2x {
|
|
|
|
background-image: url('../images/sprites/dist/sprite-sprites-64x64-2x.png');
|
|
|
|
background-size: 40px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.retina-sprites-32x32-2x {
|
|
|
|
background-image: url('../images/sprites/dist/sprite-sprites-32x32-2x.png');
|
|
|
|
background-size: 30px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.retina-menu-icons-24x24-2x {
|
|
|
|
background-image: url('../images/sprites/dist/sprite-menu-icons-24x24-2x.png');
|
|
|
|
background-size: 16px auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.retina-menu-icons-16x16-2x {
|
|
|
|
background-image: url('../images/sprites/dist/sprite-menu-icons-16x16-2x.png');
|
|
|
|
background-size: 16px auto;
|
|
|
|
}
|
|
|
|
|
2014-08-24 19:59:26 +02:00
|
|
|
/* Loading spinner */
|
|
|
|
.cms-content-loading-spinner {
|
|
|
|
background-image: url(../images/spinner@2x.gif);
|
2014-12-05 12:35:22 +01:00
|
|
|
background-size: 43px 43px;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-dialog {
|
|
|
|
.ui-dialog-content {
|
|
|
|
&.loading {
|
|
|
|
background-image: url(../images/spinner@2x.gif);
|
2014-12-05 12:35:22 +01:00
|
|
|
background-size: 43px 43px;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.loading {
|
|
|
|
background-image: url(../images/spinner@2x.gif);
|
2015-06-24 13:04:21 +02:00
|
|
|
background-size: 43px 43px;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Default CMS logo */
|
|
|
|
.cms-logo {
|
|
|
|
a {
|
|
|
|
background-image: $application-logo-small-2x;
|
|
|
|
background-size: 22px 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cms-content-controls {
|
|
|
|
.icon-auto:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_auto);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
.icon-desktop:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_desktop);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
.icon-tablet:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_tablet);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
.icon-mobile:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_mobile);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
.icon-split:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_split);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
.icon-edit:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_edit);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
.icon-preview:before {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-preview_preview);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-06 00:34:58 +01:00
|
|
|
.cms {
|
2014-08-24 19:59:26 +02:00
|
|
|
.ss-ui-action-tabset {
|
2016-01-06 00:34:58 +01:00
|
|
|
&.action-menus.ss-tabset {
|
2014-08-24 19:59:26 +02:00
|
|
|
ul.ui-tabs-nav {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
&:after {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-arrow_down_lighter);
|
|
|
|
display: inline-block;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:after {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-arrow_down_darker);
|
|
|
|
display: inline-block;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-state-active a {
|
|
|
|
&:after {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-arrow_up_lighter);
|
|
|
|
display: inline-block;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:after {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-arrow_up_darker);
|
|
|
|
display: inline-block;
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* CMS menu */
|
|
|
|
.cms-menu-list {
|
|
|
|
li {
|
|
|
|
a {
|
|
|
|
.toggle-children {
|
|
|
|
.toggle-children-icon {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-menu-arrow-deselected-down);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2014-08-24 19:59:26 +02:00
|
|
|
&.opened {
|
|
|
|
.toggle-children-icon {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-menu-arrow-deselected-up);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.current {
|
|
|
|
a {
|
|
|
|
.toggle-children {
|
|
|
|
.toggle-children-icon {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-menu-arrow-down);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2014-08-24 19:59:26 +02:00
|
|
|
&.opened {
|
|
|
|
.toggle-children-icon {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-menu-arrow-up);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Sitetree */
|
|
|
|
.tree-holder, .cms-tree {
|
|
|
|
&.jstree-apple {
|
|
|
|
ins {
|
|
|
|
background-image: url(../images/sitetree_ss_default_icons@2x.png);
|
|
|
|
background-size: 108px 72px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* UI widget "close" button */
|
|
|
|
.ui-widget-header {
|
|
|
|
a.ui-state-hover {
|
|
|
|
.ui-icon-closethick {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-dialog-close-over);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2014-08-24 19:59:26 +02:00
|
|
|
.ui-icon-closethick {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-sprites-32x32-2x;
|
|
|
|
@include retina-sprite($sprites-32x32-2x-dialog-close);
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Menu icon classes */
|
2016-02-10 23:13:32 +01:00
|
|
|
// .icon {
|
|
|
|
// &.icon-24 {
|
|
|
|
// @include icons-retina($icon24-2x);
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// &.icon-16 {
|
|
|
|
// @include icons-retina($icon16-2x);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
2014-08-24 19:59:26 +02:00
|
|
|
.icon {
|
|
|
|
&.icon-24 {
|
2016-02-10 23:13:32 +01:00
|
|
|
@extend .retina-menu-icons-24x24-2x;
|
|
|
|
|
|
|
|
&.icon-assetadmin {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-picture);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-cmsmain {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-pencil);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-cmspagescontroller {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-network);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-cmssettingscontroller {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-gears);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-securityadmin {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-community);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-reportadmin {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-pie-chart);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-commentadmin {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-blog);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-help {
|
|
|
|
@include retina-sprite($menu-icons-24x24-2x-information);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
2016-01-06 00:34:58 +01:00
|
|
|
|
2014-08-24 19:59:26 +02:00
|
|
|
&.icon-16 {
|
2016-02-10 23:13:32 +01:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
@extend .retina-menu-icons-16x16-2x;
|
|
|
|
|
2016-03-16 01:30:39 +01:00
|
|
|
&.icon-campaignadmin {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-collection);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-assetadmin {
|
2016-02-10 23:13:32 +01:00
|
|
|
@include retina-sprite($menu-icons-16x16-2x-picture);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-cmsmain {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-pencil);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-cmspagescontroller {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-network);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-cmssettingscontroller {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-gears);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-securityadmin {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-community);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-reportadmin {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-pie-chart);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-commentadmin {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-blog);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
&.icon-help {
|
|
|
|
@include retina-sprite($menu-icons-16x16-2x-information);
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2014-08-24 19:59:26 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|