1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-14 17:15:08 +01:00
onion/sass/main.scss

231 lines
4.4 KiB
SCSS
Raw Normal View History

// If you import a new .scss file, make sure to restart gulp
// otherwise it will not be included
2015-05-29 13:38:59 +02:00
@import 'variables';
@import 'ascribe-variables';
@import '../node_modules/bootstrap-sass/assets/stylesheets/bootstrap';
@import './ascribe-fonts/style';
@import './ascribe-fonts/ascribe-fonts';
@import 'ascribe-accordion_list';
2015-05-20 17:32:06 +02:00
2015-05-27 15:49:12 +02:00
.hidden {
display: none;
}
.navbar-default {
border-left:0;
border-right:0;
}
.ascribe-color {
color: $ascribe-color;
}
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-27 13:57:11 +02:00
padding: 0;
2015-05-20 17:32:06 +02:00
}
2015-05-26 13:33:35 +02:00
.ascribe-table-header-column {
2015-05-20 17:32:06 +02:00
display: table;
2015-05-27 09:56:26 +02:00
height:3em;
2015-05-27 13:57:11 +02:00
padding: 0;
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
}
2015-05-26 16:48:48 +02:00
/*
2015-05-20 17:32:06 +02:00
.ascribe-table-item:nth-child(even) {
background-color: #F5F5F5;
2015-05-26 16:48:48 +02:00
}*/
2015-05-20 17:32:06 +02:00
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-27 09:56:26 +02:00
height:3em;
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
}
2015-05-27 09:56:26 +02:00
.ascribe-table-item-selected {
2015-05-29 09:20:09 +02:00
background-color: rgba(2, 182, 163, 0.5);
}
.ascribe-table-item-selectable {
cursor: default;
}
.piece-list-toolbar {
height:3em;
}
.no-margin {
margin-right: 0;
margin-left: 0;
}
2015-05-27 09:34:49 +02:00
.btn-ascribe, .btn-ascribe-inv {
border: 1px solid #444;
line-height: 2em;
margin-right: 1px;
margin-left: 0 !important;
font-family: sans-serif !important;
border-radius: 0 !important;
}
.btn-ascribe, .btn-ascribe-inv:active, .btn-ascribe-inv:hover {
color: #222 !important;
background-color: #FFF;
}
.btn-ascribe:active, .btn-ascribe:hover, .btn-ascribe-inv {
color: #FFF !important;
background-color: #444;
}
.btn-ascribe-inv:disabled, .btn-ascribe-inv:focus {
color: #444 !important;
background-color: #BBB !important;
border: 1px solid #444 !important;
}
.btn-ascribe-sm {
font-size: 12px;
line-height: 1.3em;
}
.btn-ascribe-green, .btn-ascribe-green-inv {
border: 1px solid #48DACB;
line-height: 2em;
margin-left: 0 !important;
font-family: sans-serif !important;
border-radius: 0 !important;
}
.btn-ascribe-green, .btn-ascribe-green-inv:active, .btn-ascribe-green-inv:hover {
background-color: #FFF;
border: 1px solid rgba(2, 182, 163, 0.5);
color: rgba(2, 182, 163, 0.5);
}
.btn-ascribe-green:active, .btn-ascribe-green:hover, .btn-ascribe-green-inv {
border: 1px solid rgba(2, 182, 163, 0.5);
color: white;
background-color: rgba(2, 182, 163, 0.5);
2015-05-26 13:33:35 +02:00
}
2015-05-27 09:34:49 +02:00
.ascribe-detail-header {
2015-05-26 13:33:35 +02:00
margin-top: 2em;
}
.ascribe-detail-title {
font-size: 2em;
margin-bottom: -0.2em;
}
2015-05-27 09:34:49 +02:00
.ascribe-detail-property {
padding-bottom: 0.4em;
}
2015-05-26 15:31:28 +02:00
.ascribe-detail-property > .row-same-height > .col-xs-2 {
text-transform: uppercase;
}
2015-05-27 09:34:49 +02:00
.input-text-ascribe {
border-bottom: 1px solid black;
border-top: 0;
border-left: 0;
border-right: 0;
background: transparent;
border-radius: 0 !important;
box-shadow: none;
}
.textarea-ascribe-message {
height: 13em !important;
}
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;
}