1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 18:35:09 +01:00

styling of accordeon-list items

This commit is contained in:
diminator 2015-07-02 14:12:54 +02:00
parent 18f3b51153
commit 0391b99f1f

View File

@ -17,6 +17,9 @@ $ascribe-accordion-list-font: 'Source Sans Pro';
border-radius: 1px; border-radius: 1px;
border-bottom: 0.1em solid rgba(0,0,0,.2); border-bottom: 0.1em solid rgba(0,0,0,.2);
.wrapper { .wrapper {
&:hover{
background-color: rgba(2, 182, 163, 0.05);
}
width:100%; width:100%;
height:100%; height:100%;
// ToDo: Include media queries for thumbnail // ToDo: Include media queries for thumbnail
@ -67,11 +70,46 @@ $ascribe-accordion-list-font: 'Source Sans Pro';
margin-bottom: 3em; margin-bottom: 3em;
background-color: white; background-color: white;
border-bottom-left-radius: 1px; //border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px; //border-bottom-right-radius: 1px;
border-bottom: 0.1em solid rgba(0,0,0,.15); border-bottom: 0.1em solid rgba(0,0,0,.15);
border-left: 0.1em solid rgba(0,0,0,.2); border-left: 0.1em solid rgba(0,0,0,.2);
border-right: 0.1em solid rgba(0,0,0,.2); border-right: 0.1em solid rgba(0,0,0,.2);
padding: 0;
thead:first-child {
tr:first-child {
border: none! important;
th{
padding-left: 10px;
border: none! important;
}
}
border-left: 3px solid rgba(0,0,0,0);
border-bottom: 1px solid rgba(0,0,0,.1);
}
tbody {
tr {
padding: 1em;
&:hover{
background-color: rgba(2, 182, 163, 0.05);
border-left: 3px solid rgba(2, 182, 163, 0.4);
}
border-left: 3px solid rgba(0,0,0,0);
border-bottom: 1px solid rgba(0,0,0,.05);
td {
border: none! important;
a {
color: #444
}
}
}
tr{
td:first-child {
margin-left: 10px;
}
}
}
} }
span.ascribe-accordion-list-table-toggle { span.ascribe-accordion-list-table-toggle {