1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-30 11:24:21 +01:00
fab-manager/app/assets/stylesheets/app.components.scss
2016-03-24 16:23:10 +01:00

467 lines
7.7 KiB
SCSS

.widget {
h1, h2, h3 {
margin: 0;
line-height: rem-calc(18);
font-size: rem-calc(14);
font-weight: 600;
color: black;
}
h1 {
font-size: rem-calc(16); text-transform: uppercase;
}
h2 { font-weight: bold; }
//h3 { color: $red; }
h4 {
font-size: rem-calc(12);
margin: 8px 0;
}
p { font-size: rem-calc(14); margin-top: 15px; }
a {
color: $black-light;
&:hover { color: $red; }
}
.fa {
// color: $red;
}
.widget-content {
font-size: rem-calc(14);
}
.list-group-item {
&.no-b {
padding: 10px 15px;
}
}
}
//modal
.modal-dialog { top: 90px; }
.modal-header {
.modal-logo {
position: absolute;
top: -70px;
left: 0;
right: 0;
margin: 0 auto;
max-height: 44px;
}
h1 {
margin: 25px 0 20px 0;
font-weight: bold;
text-transform: uppercase;
text-align: center;
//color: $red;
}
}
.modal-backdrop {
height: 100%;
}
.box-thumb {
opacity: 0.9;
&:hover { opacity: 1;}
&:hover .box-footer { opacity: 1; }
position: relative;
background-size: cover;
background-repeat: no-repeat;
border-radius: 8px;
margin-bottom: 30px;
cursor: pointer;
// todo
overflow: hidden;
height: 280px;
img {
opacity: 0.9;
}
.project-caption {
text-shadow: rgba(29, 29, 29, 0.5) 0 -1px, rgba(29, 29, 29, 0.5) -1px 0,
rgba(29, 29, 29, 0.5) 1px 0, rgba(29, 29, 29, 0.5) 0 1px;
}
.box-content {
position: absolute;
top: 45px;
left: 0;
right: 0;
h1 {
padding: 0 20px;
color: white;
text-transform: uppercase;
font-size: rem-calc(24);
font-weight: 900;
line-height: rem-calc(30);
text-align: center;
}
}
.box-footer {
opacity: 0;
position: absolute;
bottom: 10px;
left: 0;
right: 0;
text-align: center;
}
}
.article {
max-width: $screen-md-min;
margin: 0 auto;
h2, h3, h4, h5 { margin: 1.8em 0 1em 0; }
h2, h3 {
color: $red;
font-size: rem-calc(18);
font-weight: bold;
}
h2 { text-transform: uppercase; }
h4 {
font-weight: 600;
font-size: rem-calc(16);
color: #686868;
}
.article-thumbnail {
// max-height: 400px;
overflow: hidden;
}
}
.label-staging {
position: absolute;
top: 50px;
}
.notification-open {
a {
position: relative;
.badge {
position: absolute;
top: 18px; right: 18px;
padding: 3px 6px 1px 6px;
}
.menu-badge {
position: absolute;
top: 0; right: 0;
padding: 2px 4px 1px 3px;
border: 2px solid white;
}
}
.fa { color: black; font-size: rem-calc(24); }
}
.panel {
margin-bottom: 30px;
.panel-heading {
&.small {
padding: 15px 15px;
}
&.picture {
height: 250px;
background-size: cover;
background-position: center;
@include transition(opacity .5s ease);
cursor: pointer;
padding:0;
img { @include border-radius(6px 6px 0 0); }
&:hover {
opacity: 0.8;
}
}
.align {
position: relative;
top: -7px;
}
}
}
.pricing-panel {
border: 1px solid $border-color;
&:first-child {
border-right: none;
@include border-radius(3px 0 0 3px);
}
&:last-child {
@include border-radius(0 3px 3px 0);
}
.title {
margin: 10px 0;
font-size: rem-calc(16);
text-transform: uppercase;
color: black;
}
.content {
padding: 15px 0;
background-color: $bg-gray;
.wrap {
width: 100px; height: 100px;
display: inline-block;
background: white;
@include border-radius(50%);
border: 3px solid;// $yellow;
}
.price {
position: relative;
top: 5px; left: 5px;
height: 84px; width: 84px;
background-color: black;
@include border-radius(50%);
.amount {
padding-top: 16px;
font-weight: bold;
font-size: rem-calc(20);
color: white;
}
.period {
position: relative;
top: -6px;
font-size: rem-calc(14);
color: white;
}
}
}
.cta-button {
margin: 20px 0;
.btn {
outline: 0;
font-weight: 600;
font-size: rem-calc(16);
background-color: white;
padding-left: 30px;
padding-right: 30px;
//&:hover { background-color: $yellow; }
}
}
}
.well {
&.well-warning {
//border-color: #ffdc4e;
//background-color: #ffdc4e;
@include border-radius(3px);
padding: 5px 10px;
}
}
.read {
opacity: 0.7;
background: #F2F2F2;
}
.badge {
&.inverse {
color: black;
background-color: $yellow;
font-weight: 400;
}
}
.avatar{
position: relative;
display: block;
border-radius: 500px;
white-space: nowrap;
&.avatar-block {
white-space: inherit;
height: 76px;
.user-name {
display: block;
font-size: rem-calc(14);
line-height: rem-calc(14);
}
}
img{
border-radius: 500px;
width: 100%;
}
i{
position: absolute;
left: 0;
top: 0;
width: 10px;
height: 10px;
border-width: 2px;
border-style: solid;
border-radius: 100%;
&.md{
width: 12px;
height: 12px;
margin: 1px;
}
&.right{
left: auto;
right: 0;
}
&.bottom{
left: auto;
top: auto;
bottom: 0;
right: 0;
}
&.on{
background-color: $brand-success;
}
&.off{
background-color: $text-muted;
}
&.busy{
background-color: $brand-danger;
}
&.away{
background-color: $brand-warning;
}
}
}
.block-link {
cursor: pointer;
//&:hover { background-color: $yellow; }
}
.form-control .ui-select-choices, .form-control .ui-select-match {
font-size: 85% !important;
}
.about-link {
.label {
font-size: rem-calc(26);
padding: 0px 10px 0px 11px;
vertical-align: bottom;
&.label-icon { font-size: rem-calc(22); padding: 4px 9px 1px 10px; }
}
}
.about-fablab {
position: relative;
z-index: 101;
height: 93%;
background-color: white;
@include transition(.5s linear all);
opacity:1;
.about-picture {
padding: 70px 0;
height: 326px;
background-size: cover;
margin-bottom: 30px;
}
.about-title, .about-title p {
margin: 0;
font-size: rem-calc(50);
line-height: rem-calc(48);
color: #fff;
font-weight: 900; //black
}
.about-title-aside {
margin-top: 0;
font-size: rem-calc(18);
}
p {
font-size: rem-calc(18);
line-height: rem-calc(30);
color: $black-light;
text-align: justify;
}
&.ng-hide {
opacity: 0;
@include transition(.5s linear all);
}
&.ng-hide-add,
&.ng-hide-remove {
display:block!important;
}
}
.event {
transition: all 0.07s linear;
}
.event:hover {
//background-color: #cb1117;
color: white;
}
.event:hover * {
color: #eee;
border-color: #eee;
}
.box-h-m {
height: 150px;
max-height: 150px;
}
.half-w {
width: 50%;
}
.b-light-dark {
border-color: #d0d0d0;
}
.p-sm {
padding: 10px;
}
.crop-130 {
height: 130px;
width: 130px;
max-width: 130px;
max-height: 130px;
overflow: hidden;
vertical-align: bottom;
}
.crop-130 img {
height: 130px;
width: auto;
}
@media only screen and (max-width: 1280px) and (min-width: 770px) {
.crop-130 {
height: 90px;
width: 90px;
margin-top: 25px;
}
}
// angular-bootstrap accordions (enlightened version)
.light-accordion > .panel-heading {
padding-top: 0.2em;
padding-bottom: 0.2em;
}
.light-accordion > .panel-heading > .panel-title {
font-size: 12pt;
}
.app-generator {
position: absolute;
bottom: 0; right: 10px;
z-index: 100;
padding: 3px 15px;
border: 1px solid $border-color;
border-top-left-radius: 8px;
background: $bg-gray;
@media only screen and (max-width: 768px) {
display: none;
}
}