mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
497e43005e
Conflicts: css/main.css js/components/ascribe_table/table_item_subtable.js
129 lines
2.3 KiB
CSS
129 lines
2.3 KiB
CSS
#main {
|
|
padding-top: 70px;
|
|
}
|
|
|
|
/* Taken from http://stackoverflow.com/a/20548578 */
|
|
.vcenter {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
float: none;
|
|
}
|
|
|
|
.ascribe-table-header-row {
|
|
border-bottom: 2px solid rgba(2, 182, 163, 0.5);
|
|
border-top: 2px solid rgba(2, 182, 163, 0.5);
|
|
}
|
|
|
|
.ascribe-table-header-column {
|
|
display: table;
|
|
height: 4em;
|
|
}
|
|
|
|
.ascribe-table-header-column > span {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
font-family: 'Source Sans Pro';
|
|
font-weight: 600;
|
|
color: rgba(2, 182, 163, 1);
|
|
font-size: 1.4em;
|
|
}
|
|
|
|
.ascribe-table-header-column > span > .glyphicon {
|
|
font-size: .5em;
|
|
}
|
|
|
|
.ascribe-table-item:nth-child(even) {
|
|
background-color: #F5F5F5;
|
|
}
|
|
|
|
/*.ascribe-table-item:hover {
|
|
background-color: #EEEEEE;
|
|
}*/
|
|
|
|
.ascribe-table-item-column {
|
|
display: table;
|
|
font-family: 'Source Sans Pro';
|
|
font-size: 1.2em;
|
|
height: 4em;
|
|
}
|
|
|
|
.ascribe-table-item-column > * {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.btn-ascribe, .btn-ascribe:hover, .btn-ascribe:active, .btn-ascribe:focus {
|
|
background-color: rgba(2, 182, 163, 0.5);
|
|
border-color: rgba(2, 182, 163, 0.5);
|
|
}
|
|
|
|
.ascribe-detail-header{
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.ascribe-detail-header > div{
|
|
padding-bottom: 0.4em;
|
|
}
|
|
|
|
.ascribe-detail-title {
|
|
font-size: 2em;
|
|
margin-bottom: -0.2em;
|
|
}
|
|
|
|
/* columns of same height styles */
|
|
/* http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-columns-of-same-height */
|
|
.row-full-height {
|
|
height: 100%;
|
|
}
|
|
|
|
.col-full-height {
|
|
height: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.row-same-height {
|
|
display: table;
|
|
width: 100%;
|
|
/* fix overflow */
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.col-xs-height {
|
|
display: table-cell;
|
|
float: none !important;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.col-sm-height {
|
|
display: table-cell;
|
|
float: none !important;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.col-md-height {
|
|
display: table-cell;
|
|
float: none !important;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.col-lg-height {
|
|
display: table-cell;
|
|
float: none !important;
|
|
}
|
|
}
|
|
|
|
/* vertical alignment styles */
|
|
|
|
.col-top {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.col-middle {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.col-bottom {
|
|
vertical-align: bottom;
|
|
} |