131 lines
2.0 KiB
CSS
131 lines
2.0 KiB
CSS
#accordion-container {
|
|
width: 95%;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.accordion {
|
|
width: 100%;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.open > .accordion-title {
|
|
background-color: #00305d;
|
|
color: #fff;
|
|
border-radius: 4px 4px 0px 0px;
|
|
/* diable text selection */
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.accordion-title {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
background-color: #00305d;
|
|
color: #fff;
|
|
border-radius: 4px 4px 4px 4px;
|
|
/* diable text selection */
|
|
-webkit-touch-callout: none;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.title-number {
|
|
padding: 10px;
|
|
width: 20%;
|
|
}
|
|
|
|
.title-name {
|
|
padding: 10px;
|
|
width: 20%;
|
|
}
|
|
|
|
.title-link {
|
|
color: hotpink;
|
|
}
|
|
|
|
.title-description {
|
|
padding: 10px;
|
|
width: 35%;
|
|
}
|
|
|
|
.title-balance {
|
|
padding: 10px;
|
|
width: 20%;
|
|
text-align: right;
|
|
}
|
|
|
|
.title-indicator {
|
|
padding: 10px;
|
|
width: 5%;
|
|
padding-right: 20px;
|
|
text-align: right;
|
|
}
|
|
|
|
.positive-number {
|
|
color: rgb(64, 207, 64);
|
|
}
|
|
|
|
.negative-number {
|
|
color: rgb(255, 51, 10);
|
|
}
|
|
|
|
.neutral-number {
|
|
color: #fff;
|
|
}
|
|
|
|
.accordion-content {
|
|
background-color: #b6b6b6;
|
|
color: #000;
|
|
padding: 5px 10px 10px 10px;
|
|
border-radius: 0px 0px 4px 4px;
|
|
cursor: auto;
|
|
}
|
|
|
|
@media all and (max-width: 1000px) {
|
|
.accordion-title {
|
|
text-align: center;
|
|
background-color: #00305d;
|
|
color: #fff;
|
|
display: block;
|
|
}
|
|
|
|
.title-number {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.title-number,
|
|
.title-name,
|
|
.title-link,
|
|
.title-description,
|
|
.title-balance {
|
|
padding: 0px;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
|
|
.title-indicator {
|
|
padding: 0px;
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|