mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX:SSF-30 - moved tabs SCSS from _style.scss to AssetAdmin.scss
This commit is contained in:
parent
391ffde4f3
commit
4d39813a80
@ -274,15 +274,6 @@ body.cms { overflow: hidden; }
|
||||
.CMSPagesController .cms-content-header-tabs .ui-tabs-nav .ui-state-active a.content-galleryview, .CMSPagesController .cms-content-header-tabs .ui-tabs-nav .ui-widget-content .ui-state-active a.content-galleryview, .CMSPagesController .cms-content-header-tabs .ui-tabs-nav .ui-widget-header .ui-state-active a.content-galleryview { background: url(../images/content-header-tabs-sprite.png) no-repeat -87px -40px; }
|
||||
.CMSPagesController .cms-content-header-tabs .ui-tabs-nav .ui-state-active a.content-listview, .CMSPagesController .cms-content-header-tabs .ui-tabs-nav .ui-widget-content .ui-state-active a.content-listview, .CMSPagesController .cms-content-header-tabs .ui-tabs-nav .ui-widget-header .ui-state-active a.content-listview { background: url(../images/content-header-tabs-sprite.png) no-repeat -38px -40px; }
|
||||
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav li a { font-weight: bold; line-height: 16px; padding: 12px 20px 11px; text-indent: -9999em; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav li a.content-treeview { background: url(../images/content-header-tabs-sprite.png) no-repeat 2px 0px; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav li a.content-galleryview { background: url(../images/content-header-tabs-sprite.png) no-repeat -87px 0px; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav li a.content-listview { background: url(../images/content-header-tabs-sprite.png) no-repeat -38px 0px; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-state-active, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-content .ui-state-active, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-header .ui-state-active { border-top: none; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-state-active a.content-treeview, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-content .ui-state-active a.content-treeview, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-header .ui-state-active a.content-treeview { background: url(../images/content-header-tabs-sprite.png) no-repeat 2px -40px; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-state-active a.content-galleryview, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-content .ui-state-active a.content-galleryview, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-header .ui-state-active a.content-galleryview { background: url(../images/content-header-tabs-sprite.png) no-repeat -87px -40px; }
|
||||
.AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-state-active a.content-listview, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-content .ui-state-active a.content-listview, .AssetAdmin .cms-content-header-tabs .ui-tabs-nav .ui-widget-header .ui-state-active a.content-listview { background: url(../images/content-header-tabs-sprite.png) no-repeat -38px -40px; }
|
||||
|
||||
/** ------------------------------------------------------- Loading Interface ------------------------------------------------------- */
|
||||
.cms-content-loading-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9998; }
|
||||
|
||||
|
@ -266,51 +266,6 @@ body.cms {
|
||||
}
|
||||
}
|
||||
|
||||
.AssetAdmin {
|
||||
.cms-content-header-tabs {
|
||||
.ui-tabs-nav {
|
||||
li {
|
||||
a {
|
||||
font-weight: bold;
|
||||
line-height: $grid-y * 2;
|
||||
padding: ($grid-y * 2 - 4) ($grid-x * 2 + 4) $grid-y + 3;
|
||||
text-indent:-9999em;
|
||||
|
||||
&.content-treeview {
|
||||
background:url(../images/content-header-tabs-sprite.png) no-repeat 2px 0px;
|
||||
}
|
||||
&.content-galleryview {
|
||||
background:url(../images/content-header-tabs-sprite.png) no-repeat -87px 0px;
|
||||
}
|
||||
&.content-listview {
|
||||
background:url(../images/content-header-tabs-sprite.png) no-repeat -38px 0px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
border: {
|
||||
top:none;
|
||||
}
|
||||
|
||||
a {
|
||||
&.content-treeview {
|
||||
background:url(../images/content-header-tabs-sprite.png) no-repeat 2px -40px;
|
||||
}
|
||||
&.content-galleryview {
|
||||
background:url(../images/content-header-tabs-sprite.png) no-repeat -87px -40px;
|
||||
}
|
||||
&.content-listview {
|
||||
background:url(../images/content-header-tabs-sprite.png) no-repeat -38px -40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** -------------------------------------------------------
|
||||
* Loading Interface
|
||||
* ------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user