Summary Table
Categories |
Total Count |
PII |
0 |
URL |
0 |
DNS |
0 |
EKL |
0 |
IP |
0 |
PORT |
0 |
VsID |
0 |
CF |
0 |
AI |
0 |
VPD |
0 |
PL |
0 |
Other |
0 |
File Content
@import '../themes/variables_ars_1.scss';
.accordion {
position: relative;
margin-bottom: 15px;
border-bottom: 1px solid #ccc;
min-height: 36px; // Keeps accordion height when closed
&>input[type='checkbox'] {
position: absolute;
margin-top: 1px;
left: 23px;
}
& input[type='checkbox']:focus {
outline: 2px solid lighten($color-info, 25%); // This is currently hidden
}
&>label {
padding-left: 21px;
position: relative;
display: block;
max-width: $width-col-one; // Keeps the labels from running into RH info on EWV accordions
background-color: #fff; // In case of overlap with Insurers Info
font-size: $h4-size;
color: $color-info;
cursor: pointer;
}
&>label:before {
// This draws the "Down" triangle
position: absolute;
left: 0;
top: 60%;
margin-top: -9px;
height: 0;
width: 0;
content: '';
border: solid transparent;
border-left-color: $color-info;
border-width: 6px;
transition: all ease-in 0.1s;
}
}
// Accordion Variations
.accordion.background {
margin-bottom: 0;
border-bottom: none;
min-height: 29px;
&>.accordion-content {
margin-top: 10px;
padding-top: 10px;
border-top: 1px solid #ccc;
}
}
.accordion-wrap {
// Used with Background-Accordion
padding-top: 7px;
background-color: #fff;
background: linear-gradient(to right, #dedede 0%, #efefef 1%, #fff 3%);
border-bottom: 1px solid $color-info;
}
.accordion.sidebar {
min-height: 37px;
margin-bottom: 0;
border-bottom: 1px solid $gray-base;
background-color: #fff;
overflow: hidden;
&>label {
margin-right: 12px;
padding-left: 42px;
line-height: 36px;
font-size: 14px;
white-space: nowrap;
}
&>label:before {
margin-top: -10px;
left: 18px;
}
&>input[type='checkbox']:focus {
outline: none;
}
&>input[type='checkbox']:checked+label:before {
top: 67%;
left: 17px;
}
& .accordion-content {
border-top: 1px solid #ccc;
}
}
.sidebar-content {
max-height: 159px;
overflow-y: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
text-align: right;
& li {
padding-right: 24px;
color: $gray-darker;
border-bottom: 1px solid $gray-lighter;
}
}
input[type='checkbox']:checked+label:before {
// This spins the triangle
transform: rotate(45deg);
top: 81%;
left: 3px;
}
.accordion-content {
margin-bottom: 0;
margin-left: -1px;
padding-left: 1px;
height: 0;
display: none;
opacity: 0;
transition: 0.2s;
&.align {
margin-left: 21px; // aligns content with accordion header
}
}
input[type='checkbox']:checked~.accordion-content {
// When accordion is checked
height: 100%;
display: block;
opacity: 1;
}
// Adjustments below are for EWV Accordions
.acc-adj {
// Moves icon-buttons to same line as label/header
margin-top: -24px;
margin-right: 1px;
}
.acc-adj>span {
// This works with RH info text in accordion headers
margin-left: 12px;
color: #000;
& strong {
font-weight: 500;
}
}
.acc-top {
// Moderates space above accordion if it is first element on tab
margin-top: 6px;
}
.acc-table {
// Helper class to remove normal table spacing
margin-top: 1px;
margin-bottom: 0;
}