1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 16:48:04 +02:00
onion/css/main.css

133 lines
2.3 KiB
CSS
Raw Normal View History

2015-05-20 17:35:52 +02:00
#main {
padding-top: 70px;
}
2015-05-20 17:32:06 +02:00
/* 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);
}
2015-05-26 13:33:35 +02:00
.ascribe-table-header-column {
2015-05-20 17:32:06 +02:00
display: table;
2015-05-26 13:33:35 +02:00
height: 4em;
2015-05-20 17:32:06 +02:00
}
.ascribe-table-header-column > span {
2015-05-26 13:33:35 +02:00
display: table-cell;
2015-05-20 17:32:06 +02:00
vertical-align: middle;
2015-05-20 19:19:57 +02:00
font-family: 'Source Sans Pro';
font-weight: 600;
2015-05-20 17:32:06 +02:00
color: rgba(2, 182, 163, 1);
2015-05-20 19:19:57 +02:00
font-size: 1.4em;
}
.ascribe-table-header-column > span > .glyphicon {
2015-05-21 12:12:25 +02:00
font-size: .5em;
2015-05-20 17:32:06 +02:00
}
.ascribe-table-item:nth-child(even) {
background-color: #F5F5F5;
}
2015-05-26 13:14:35 +02:00
/*.ascribe-table-item:hover {
2015-05-20 17:32:06 +02:00
background-color: #EEEEEE;
2015-05-26 13:14:35 +02:00
}*/
2015-05-20 17:32:06 +02:00
.ascribe-table-item-column {
display: table;
2015-05-20 19:19:57 +02:00
font-family: 'Source Sans Pro';
font-size: 1.2em;
2015-05-26 13:33:35 +02:00
height: 4em;
2015-05-20 17:32:06 +02:00
}
.ascribe-table-item-column > * {
2015-05-26 13:33:35 +02:00
display: table-cell;
2015-05-20 17:32:06 +02:00
vertical-align: middle;
2015-05-20 17:35:52 +02:00
}
.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);
2015-05-26 13:33:35 +02:00
}
.ascribe-detail-header{
margin-top: 2em;
}
.ascribe-detail-header > div{
padding-bottom: 0.4em;
}
.ascribe-detail-title {
font-size: 2em;
margin-bottom: -0.2em;
}
2015-05-26 15:31:28 +02:00
.ascribe-detail-property > .row-same-height > .col-xs-2 {
text-transform: uppercase;
}
2015-05-26 13:33:35 +02:00
/* 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;
}