1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/sass/ascribe_accordion_list.scss

101 lines
2.3 KiB
SCSS
Raw Normal View History

2015-06-04 17:21:38 +02:00
$ascribe-accordion-list-item-height: 8em;
$ascribe-accordion-list-font: 'Source Sans Pro';
.ascribe-accordion-list-item {
2015-06-17 19:50:52 +02:00
background-color: white;
border: 1px solid black;
height: $ascribe-accordion-list-item-height;
padding-left:0;
padding-right:0;
overflow:hidden;
2015-06-17 19:50:52 +02:00
border-left: 0.1em solid rgba(0,0,0,.2);
border-right: 0.1em solid rgba(0,0,0,.2);
border-top: 0.1em solid rgba(0,0,0,.2);
border-radius: 1px;
border-bottom: 0.1em solid rgba(0,0,0,.2);
.wrapper {
width:100%;
height:100%;
// ToDo: Include media queries for thumbnail
.thumbnail-wrapper {
2015-06-30 16:53:22 +02:00
width: 110px;
height: 110px;
padding:0;
2015-07-01 15:28:48 +02:00
cursor: pointer;
img {
2015-06-30 16:53:22 +02:00
max-width: 100%;
max-height: 100%;
}
2015-06-30 16:53:22 +02:00
&::before {
content: ' ';
display: inline-block;
vertical-align: middle; /* vertical alignment of the inline element */
height: 100%;
}
}
2015-06-03 16:48:31 +02:00
h1 {
margin-top: .3em;
font-size: 2.25em;
2015-07-01 15:28:48 +02:00
cursor: pointer;
2015-06-03 16:48:31 +02:00
}
h3 {
font-size: 1.1em;
2015-07-01 12:17:50 +02:00
margin: .2em 0 0 0;
}
2015-07-01 19:05:47 +02:00
a {
color: #666;
}
}
}
2015-06-16 09:57:14 +02:00
.ascribe-accordion-list-loading {
padding-top: 30%;
padding-bottom: 30%;
}
.ascribe-accordion-list-loading img {
display: block;
margin: auto;
}
.ascribe-accordion-list-item-table {
2015-06-17 19:50:52 +02:00
font-size: .9em;
text-align: center;
margin-bottom: 3em;
2015-06-17 19:50:52 +02:00
background-color: white;
2015-06-17 19:50:52 +02:00
border-bottom-left-radius: 1px;
border-bottom-right-radius: 1px;
border-bottom: 0.1em solid rgba(0,0,0,.15);
border-left: 0.1em solid rgba(0,0,0,.2);
border-right: 0.1em solid rgba(0,0,0,.2);
}
span.ascribe-accordion-list-table-toggle {
::selection { background: transparent; }
::-moz-selection { background: transparent; }
&:hover {
color: $ascribe-color-dark;
cursor:pointer;
}
}
.ascribe-accordion-list-table-list {
margin-bottom: .5em;
th, td {
font-size:.85em;
text-align: center;
}
2015-07-01 19:05:47 +02:00
}
.request-action-batch {
position: absolute;
top: 0px;
right: 0px;
color: #666;
font-size: 1.2em;
padding: 0.3em;
}