1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/assets/stylesheets/app.components.scss

582 lines
9.5 KiB
SCSS
Raw Normal View History

2015-05-05 03:10:25 +02:00
.widget {
h1, h2, h3 {
margin: 0;
line-height: rem-calc(18);
font-size: rem-calc(14);
font-weight: 600;
color: black;
}
2016-03-23 18:39:41 +01:00
h1 {
font-size: rem-calc(16); text-transform: uppercase;
2015-05-05 03:10:25 +02:00
}
h2 { font-weight: bold; }
2016-03-23 18:39:41 +01:00
//h3 { color: $red; }
2015-05-05 03:10:25 +02:00
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;
2016-03-23 18:39:41 +01:00
max-height: 44px;
2015-05-05 03:10:25 +02:00
}
h1 {
margin: 25px 0 20px 0;
font-weight: bold;
text-transform: uppercase;
text-align: center;
2016-03-23 18:39:41 +01:00
//color: $red;
2015-05-05 03:10:25 +02:00
}
}
.modal-backdrop {
height: 100%;
}
2016-05-02 16:21:23 +02:00
// component card
2016-05-02 16:10:48 +02:00
.card {
position: relative;
display: block;
margin-bottom: .75rem;
background-color: #fff;
border: 1px solid #e5e5e5;
border-radius: .25rem;
height: 325px;
overflow: hidden;
margin-bottom: 3rem;
cursor: pointer;
.card-overlay {
margin: 1.25rem;
position: absolute;
cursor: pointer;
z-index: 2;
top: 0;
left: 0;
right: 0;
background-color: rgba(43,46,56,0.8);
text-align: center;
opacity: 0;
-webkit-transition: all 0.1s ease-out;
transition: all 0.1s ease-out;
height: 180px;
cursor: pointer;
.btn-group { margin-top: 70px;}
.btn {
background: rgba(255,255,255,0.1);
border: 1px solid #fff;
color: #fff;
}
}
&:hover {
.card-overlay {
opacity: 1;
}
}
.card-header {
width: 100%;
display: block;
padding: 1.25rem;
.card-header-bg {
background-size: cover;
background-repeat: no-repeat;
2016-05-02 16:21:23 +02:00
background-position: center;
2016-05-02 16:10:48 +02:00
height: 180px;
}
}
.card-block {
2016-05-02 16:21:23 +02:00
padding: 0 1.25rem 1.25rem 1.25rem;
2016-05-02 16:10:48 +02:00
.card-title {
2016-05-02 16:21:23 +02:00
font-size: 1.5rem;
2016-05-02 16:10:48 +02:00
line-height: 2rem;
margin: 0;
text-align: center;
2016-05-02 16:21:23 +02:00
margin-top: 5px;
2016-05-02 16:10:48 +02:00
}
.card-meta {
font-size: 1.2rem;
margin: 0;
text-align: center
}
}
}
2015-05-05 03:10:25 +02:00
.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 {
overflow: hidden;
2016-07-04 10:53:09 +02:00
img {
height: 400px;
}
2015-05-05 03:10:25 +02:00
}
}
.label-staging {
position: absolute;
2016-03-23 18:39:41 +01:00
top: 50px;
2015-05-05 03:10:25 +02:00
}
.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;
}
2015-05-05 03:10:25 +02:00
}
.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;
2016-03-23 18:39:41 +01:00
color: black;
2015-05-05 03:10:25 +02:00
}
.content {
padding: 15px 0;
background-color: $bg-gray;
.wrap {
width: 100px; height: 100px;
display: inline-block;
background: white;
@include border-radius(50%);
2016-03-23 18:39:41 +01:00
border: 3px solid;// $yellow;
2015-05-05 03:10:25 +02:00
}
.price {
position: relative;
top: 5px; left: 5px;
height: 84px; width: 84px;
background-color: black;
@include border-radius(50%);
.amount {
padding-top: 16px;
2016-06-16 17:49:09 +02:00
padding-left: 4px;
padding-right: 4px;
2015-05-05 03:10:25 +02:00
font-weight: bold;
2016-06-16 17:49:09 +02:00
font-size: rem-calc(18);
2015-05-05 03:10:25 +02:00
color: white;
}
.period {
position: relative;
top: -6px;
2016-03-24 16:23:10 +01:00
font-size: rem-calc(14);
2015-05-05 03:10:25 +02:00
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;
2016-03-23 18:39:41 +01:00
//&:hover { background-color: $yellow; }
2015-05-05 03:10:25 +02:00
}
}
}
.well {
&.well-warning {
2016-03-23 18:39:41 +01:00
//border-color: #ffdc4e;
//background-color: #ffdc4e;
2015-05-05 03:10:25 +02:00
@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;
2016-03-23 18:39:41 +01:00
//&:hover { background-color: $yellow; }
2015-05-05 03:10:25 +02:00
}
2016-03-23 18:39:41 +01:00
.form-control .ui-select-choices, .form-control .ui-select-match {
2015-05-05 03:10:25 +02:00
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;
}
2016-03-23 18:39:41 +01:00
.about-title, .about-title p {
2015-05-05 03:10:25 +02:00
margin: 0;
font-size: rem-calc(50);
line-height: rem-calc(48);
color: #fff;
2016-03-23 18:39:41 +01:00
font-weight: 900; //black
2015-05-05 03:10:25 +02:00
}
.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;
2016-07-04 10:39:24 +02:00
overflow: hidden;
2015-05-05 03:10:25 +02:00
}
.event:hover {
2016-03-23 18:39:41 +01:00
//background-color: #cb1117;
2015-05-05 03:10:25 +02:00
color: white;
}
.event:hover * {
color: #eee;
border-color: #eee;
}
.box-h-m {
2016-07-04 10:39:24 +02:00
height: 175px;
max-height: 175px;
2015-05-05 03:10:25 +02:00
}
.half-w {
width: 50%;
}
.b-light-dark {
border-color: #d0d0d0;
}
.p-sm {
padding: 10px;
}
2016-07-04 10:39:24 +02:00
.crop-155 {
height: 155px;
width: 155px;
max-width: 155px;
max-height: 155px;
2015-05-05 03:10:25 +02:00
overflow: hidden;
vertical-align: bottom;
}
2016-07-04 10:39:24 +02:00
.crop-155 img {
height: 155px;
2015-05-05 03:10:25 +02:00
width: auto;
}
2016-07-04 10:39:24 +02:00
@media only screen and (max-width: 1375px) and (min-width: 770px) {
.crop-155 {
2015-05-05 03:10:25 +02:00
height: 90px;
width: 90px;
2016-07-04 10:39:24 +02:00
margin-top: 35px;
}
}
@media only screen and (max-width: 1375px) and (min-width: 1125px) {
.half-w {
width: 60%;
2015-05-05 03:10:25 +02:00
}
}
2016-03-23 18:39:41 +01:00
// 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;
}
}
.disabling-overlay {
&:before {
content: "";
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(230, 230, 230, 0.7);
position: absolute;
z-index:10;
border-radius: 3px;
}
}
2016-07-05 13:20:25 +02:00
.wallet-amount-container {
padding: 20px 0;
border-top: 2px dotted $border-color;
border-bottom: 2px dotted $border-color;
margin-bottom: 20px;
text-align: center;
.wallet-amount {
font-size: rem-calc(40);
font-weight: 700;
font-style: italic;
color: #616161;
span {
font-weight: 500;
font-size: .7em;
}
&.cr-green {
color: $green;
}
}
}
.amountGroup {
input {
display: inline-block;
width: 100px;
margin-left: 5px;
padding-right: 6px;
font-weight: bold;
color: $green;
font-size: 1.2em;
line-height: 0;
}
.afterAmount {
margin-left: -35px;
font-weight: bold;
color: $green;
font-size: 1.2em;
line-height: 0;
}
}
.checkbox-group {
display: flex;
justify-content: flex-start;
input[type=checkbox] {
font-size: 16px;
width: 2em;
}
}
.link-icon {
color: #1c94c4;
i { margin: 0 5px 0 10px; }
span {
border-bottom: 1px dashed #00b3ee;
text-decoration: none;
cursor: pointer;
}
}