mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #925 from adrexia/tabs-remove-line
BUG: Border at top of tabs when no subtabs
This commit is contained in:
commit
6bb7a95a6c
@ -187,50 +187,6 @@ body.cms {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.cms-content-fields .ui-tabs-nav {
|
||||
border-bottom: none;
|
||||
float: right;
|
||||
margin: $grid-y 0 -1px 0;
|
||||
padding: 0 $grid-x*3 0 0;
|
||||
|
||||
li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
line-height: $grid-y * 2;
|
||||
padding: $grid-y $grid-x*2.5 $grid-y;
|
||||
}
|
||||
}
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
border:1px solid $color-button-generic-border;
|
||||
}
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active {
|
||||
padding-bottom:1px;
|
||||
background: $tab-panel-texture-background;
|
||||
border:1px solid $color-button-generic-border;
|
||||
}
|
||||
}
|
||||
|
||||
.ss-tabset {
|
||||
.ss-tabset {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.ui-tabs-panel {
|
||||
border-top:1px solid $color-button-generic-border;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
&.ss-tabset-tabshidden .ui-tabs-panel {
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** --------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user