anxiao_web/public/themes/metro/accordion.css

90 lines
2.1 KiB
CSS
Raw Normal View History

2024-07-24 09:22:32 +08:00
.accordion {
overflow: hidden;
border-width: 1px;
border-style: solid;
}
.accordion .accordion-header {
border-width: 0 0 1px;
cursor: pointer;
}
.accordion .accordion-body {
border-width: 0 0 1px;
}
.accordion-noborder {
border-width: 0;
}
.accordion-noborder .accordion-header {
border-width: 0 0 1px;
}
.accordion-noborder .accordion-body {
border-width: 0 0 1px;
}
.accordion-collapse {
background: url('images/accordion_arrows.png') no-repeat 0 0;
}
.accordion-expand {
background: url('images/accordion_arrows.png') no-repeat -16px 0;
}
.accordion {
background: #fff;
border-color: #ddd;
}
.accordion .accordion-header {
background: #ffffff;
filter: none;
}
.accordion .accordion-header-selected {
background: #CCE6FF;
}
.accordion .accordion-header-selected .panel-title {
color: #000;
}
.accordion .panel-last > .accordion-header {
border-bottom-color: #ffffff;
}
.accordion .panel-last > .accordion-body {
border-bottom-color: #fff;
}
.accordion .panel-last > .accordion-header-selected,
.accordion .panel-last > .accordion-header-border {
border-bottom-color: #ddd;
}
.accordion> .panel-hleft {
float: left;
}
.accordion> .panel-hleft>.panel-header {
border-width: 0 1px 0 0;
}
.accordion> .panel-hleft> .panel-body {
border-width: 0 1px 0 0;
}
.accordion> .panel-hleft.panel-last > .accordion-header {
border-right-color: #ffffff;
}
.accordion> .panel-hleft.panel-last > .accordion-body {
border-right-color: #fff;
}
.accordion> .panel-hleft.panel-last > .accordion-header-selected,
.accordion> .panel-hleft.panel-last > .accordion-header-border {
border-right-color: #ddd;
}
.accordion> .panel-hright {
float: right;
}
.accordion> .panel-hright>.panel-header {
border-width: 0 0 0 1px;
}
.accordion> .panel-hright> .panel-body {
border-width: 0 0 0 1px;
}
.accordion> .panel-hright.panel-last > .accordion-header {
border-left-color: #ffffff;
}
.accordion> .panel-hright.panel-last > .accordion-body {
border-left-color: #fff;
}
.accordion> .panel-hright.panel-last > .accordion-header-selected,
.accordion> .panel-hright.panel-last > .accordion-header-border {
border-left-color: #ddd;
}