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

184 lines
4.1 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';
2015-07-28 17:19:19 +02:00
.ascribe-accordion-list {
padding-left: 15px;
padding-right: 15px;
}
.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;
2015-07-09 16:53:10 +02:00
margin-top: 1.5em;
&::first-child {
margin-top: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;
2015-07-10 10:30:17 +02:00
border-bottom: 0.1em solid rgba(0,0,0,.2);
.wrapper {
2015-07-02 14:12:54 +02:00
&:hover{
background-color: rgba(2, 182, 163, 0.05);
}
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;
text-align: center;
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: .1em 0 .1em 0;
font-size: 2.2em;
2015-07-01 15:28:48 +02:00
cursor: pointer;
2015-07-27 18:19:55 +02:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2015-06-03 16:48:31 +02:00
}
h3 {
font-size: 1.3em;
margin: .2em 0 .3em 0;
cursor: pointer;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
2015-07-01 19:05:47 +02:00
a {
color: #666;
}
}
}
2015-07-13 14:19:22 +02:00
.accordion-list-item-header {
margin-top:.65em;
> a {
text-decoration: none;
}
}
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;
2015-06-17 19:50:52 +02:00
background-color: white;
2015-07-02 14:12:54 +02:00
//border-bottom-left-radius: 1px;
//border-bottom-right-radius: 1px;
2015-06-17 19:50:52 +02:00
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);
2015-07-02 14:12:54 +02:00
padding: 0;
thead:first-child {
tr:first-child {
border: none! important;
2015-07-08 11:29:48 +02:00
th {
2015-07-02 14:12:54 +02:00
padding-left: 10px;
border: none! important;
}
}
border-left: 3px solid rgba(0,0,0,0);
2015-07-13 14:10:46 +02:00
//border-top: 1px solid rgba(0,0,0,.1);
2015-07-09 16:29:10 +02:00
border-bottom: 1px solid rgba(0,0,0,.05);
2015-07-02 14:12:54 +02:00
}
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);
2015-07-09 16:29:10 +02:00
border-bottom: 1px solid rgba(0,0,0,.03);
2015-07-02 14:12:54 +02:00
td {
border: none! important;
a {
color: #444
}
}
}
tr{
td:first-child {
margin-left: 10px;
}
}
}
}
span.ascribe-accordion-list-table-toggle {
2015-07-10 15:56:54 +02:00
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
&:hover {
color: $ascribe-color-green;
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;
}
.ascribe-accordion-list-item-edition-widget {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
&:hover {
color: $ascribe-color-green;
}
.glyphicon {
top: 1px !important;
font-size: 0.8em;
}
}