1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/assets/stylesheets/app.components.scss

779 lines
11 KiB
SCSS
Raw Normal View History

2015-05-05 03:10:25 +02:00
.widget {
2020-03-24 18:17:26 +01:00
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;
}
2015-05-05 03:10:25 +02:00
2020-03-24 18:17:26 +01:00
h2 {
font-weight: bold;
}
//h3 { color: $red; }
2015-05-05 03:10:25 +02:00
h4 {
font-size: rem-calc(12);
margin: 8px 0;
}
2020-03-24 18:17:26 +01:00
p {
font-size: rem-calc(14);
margin-top: 15px;
}
a {
color: $black-light;
2015-05-05 03:10:25 +02:00
2020-03-24 18:17:26 +01:00
&:hover {
color: $red;
}
}
2015-05-05 03:10:25 +02:00
2020-03-24 18:17:26 +01:00
.fa {
// color: $red;
}
2015-05-05 03:10:25 +02:00
2020-03-24 18:17:26 +01:00
.widget-content {
font-size: rem-calc(14);
}
2015-05-05 03:10:25 +02:00
2020-03-24 18:17:26 +01:00
.list-group-item {
&.no-b {
padding: 10px 15px;
}
}
2015-05-05 03:10:25 +02:00
}
//modal
2020-03-24 18:17:26 +01:00
.modal-dialog {
top: 90px;
}
2015-05-05 03:10:25 +02:00
.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
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
h1 {
margin: 25px 0 20px 0;
font-weight: bold;
text-transform: uppercase;
text-align: center;
2020-03-24 18:17:26 +01:00
2016-03-23 18:39:41 +01:00
//color: $red;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
}
}
.modal-backdrop {
height: 100%;
}
2019-07-31 12:00:52 +02:00
.modal-xl {
width: 900px;
}
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;
2020-03-24 18:17:26 +01:00
background-color: rgba(43, 46, 56, 0.8);
2016-05-02 16:10:48 +02:00
text-align: center;
opacity: 0;
-webkit-transition: all 0.1s ease-out;
transition: all 0.1s ease-out;
height: 180px;
cursor: pointer;
2020-03-24 18:17:26 +01:00
.btn-group {
margin-top: 70px;
}
2016-05-02 16:10:48 +02:00
.btn {
2020-03-24 18:17:26 +01:00
background: rgba(255, 255, 255, 0.1);
2016-05-02 16:10:48 +02:00
border: 1px solid #fff;
color: #fff;
}
}
&:hover {
.card-overlay {
opacity: 1;
}
}
.card-header {
width: 100%;
display: block;
padding: 1.25rem;
2020-03-24 18:17:26 +01:00
2016-05-02 16:10:48 +02:00
.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;
}
}
2020-03-24 18:17:26 +01:00
2016-05-02 16:10:48 +02:00
.card-block {
2016-05-02 16:21:23 +02:00
padding: 0 1.25rem 1.25rem 1.25rem;
2020-03-24 18:17:26 +01:00
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
}
2020-03-24 18:17:26 +01:00
2016-05-02 16:10:48 +02:00
.card-meta {
font-size: 1.2rem;
margin: 0;
2020-03-24 18:17:26 +01:00
text-align: center;
2016-05-02 16:10:48 +02:00
}
}
}
2015-05-05 03:10:25 +02:00
.article {
max-width: $screen-md-min;
margin: 0 auto;
2020-03-24 18:17:26 +01:00
h2, h3, h4, h5 {
margin: 1.8em 0 1em 0;
}
2015-05-05 03:10:25 +02:00
h2, h3 {
color: $red;
font-size: rem-calc(18);
font-weight: bold;
}
2020-03-24 18:17:26 +01:00
h2 {
text-transform: uppercase;
}
2015-05-05 03:10:25 +02:00
h4 {
font-weight: 600;
font-size: rem-calc(16);
color: #686868;
}
.article-thumbnail {
overflow: hidden;
2016-07-04 10:53:09 +02:00
img {
2017-09-26 16:32:55 +02:00
max-height: 400px;
2016-07-04 10:53:09 +02:00
}
2015-05-05 03:10:25 +02:00
}
2020-03-24 18:17:26 +01:00
img {
display: block;
max-width: 100%;
height: auto;
}
2015-05-05 03:10:25 +02:00
}
.label-staging {
2020-03-24 18:17:26 +01:00
position: absolute;
top: 50px;
2015-05-05 03:10:25 +02:00
}
.notification-open {
a {
position: relative;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.badge {
position: absolute;
2020-03-24 18:17:26 +01:00
top: 18px;
right: 18px;
2015-05-05 03:10:25 +02:00
padding: 3px 6px 1px 6px;
}
2020-03-24 18:17:26 +01:00
.menu-badge {
position: absolute;
2020-03-24 18:17:26 +01:00
top: 0;
right: 0;
padding: 2px 4px 1px 3px;
border: 2px solid white;
}
2015-05-05 03:10:25 +02:00
}
2020-03-24 18:17:26 +01:00
.fa {
color: black;
font-size: rem-calc(24);
}
}
2015-05-05 03:10:25 +02:00
.panel {
margin-bottom: 30px;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.panel-heading {
&.small {
padding: 15px 15px;
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
&.picture {
height: 250px;
background-size: cover;
background-position: center;
2020-03-24 18:17:26 +01:00
@include transition(opacity 0.5s ease);
2015-05-05 03:10:25 +02:00
cursor: pointer;
2020-03-24 18:17:26 +01:00
padding: 0;
img {
@include border-radius(6px 6px 0 0);
}
2015-05-05 03:10:25 +02:00
&:hover {
opacity: 0.8;
}
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.align {
position: relative;
top: -7px;
}
}
}
.pricing-panel {
border: 1px solid $border-color;
&:first-child {
border-right: none;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
@include border-radius(3px 0 0 3px);
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
&:last-child {
@include border-radius(0 3px 3px 0);
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.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
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.content {
padding: 15px 0;
background-color: $bg-gray;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.wrap {
2020-03-24 18:17:26 +01:00
width: 100px;
height: 100px;
2015-05-05 03:10:25 +02:00
display: inline-block;
background: white;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
@include border-radius(50%);
2020-03-24 18:17:26 +01:00
border: 3px solid;
// $yellow;
2015-05-05 03:10:25 +02:00
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.price {
position: relative;
2020-03-24 18:17:26 +01:00
top: 5px;
left: 5px;
height: 84px;
width: 84px;
2015-05-05 03:10:25 +02:00
background-color: black;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
@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;
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.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;
}
}
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.cta-button {
margin: 20px 0;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.btn {
outline: 0;
font-weight: 600;
font-size: rem-calc(16);
background-color: white;
padding-left: 30px;
padding-right: 30px;
2020-03-24 18:17:26 +01:00
2016-03-23 18:39:41 +01:00
//&:hover { background-color: $yellow; }
2020-03-24 18:17:26 +01:00
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);
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
padding: 5px 10px;
}
2020-03-24 18:17:26 +01:00
&.well-disabled {
border-color: $gray-lighter;
background-color: $gray-lighter;
color: $gray-light;
}
2015-05-05 03:10:25 +02:00
}
.read {
opacity: 0.7;
background: #F2F2F2;
}
.badge {
&.inverse {
color: black;
background-color: $yellow;
font-weight: 400;
}
}
2020-03-24 18:17:26 +01:00
.avatar {
2015-05-05 03:10:25 +02:00
position: relative;
display: block;
border-radius: 500px;
white-space: nowrap;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
&.avatar-block {
white-space: inherit;
height: 76px;
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.user-name {
display: block;
font-size: rem-calc(14);
line-height: rem-calc(14);
}
}
2020-03-24 18:17:26 +01:00
img {
2015-05-05 03:10:25 +02:00
border-radius: 500px;
width: 100%;
}
2020-03-24 18:17:26 +01:00
i {
2015-05-05 03:10:25 +02:00
position: absolute;
left: 0;
top: 0;
width: 10px;
height: 10px;
border-width: 2px;
border-style: solid;
border-radius: 100%;
2020-03-24 18:17:26 +01:00
&.md {
2015-05-05 03:10:25 +02:00
width: 12px;
height: 12px;
margin: 1px;
}
2020-03-24 18:17:26 +01:00
&.right {
2015-05-05 03:10:25 +02:00
left: auto;
right: 0;
}
2020-03-24 18:17:26 +01:00
&.bottom {
2015-05-05 03:10:25 +02:00
left: auto;
top: auto;
bottom: 0;
right: 0;
}
2020-03-24 18:17:26 +01:00
&.on {
2015-05-05 03:10:25 +02:00
background-color: $brand-success;
}
2020-03-24 18:17:26 +01:00
&.off {
2015-05-05 03:10:25 +02:00
background-color: $text-muted;
}
2020-03-24 18:17:26 +01:00
&.busy {
2015-05-05 03:10:25 +02:00
background-color: $brand-danger;
}
2020-03-24 18:17:26 +01:00
&.away {
2015-05-05 03:10:25 +02:00
background-color: $brand-warning;
}
}
}
.block-link {
cursor: pointer;
2020-03-24 18:17:26 +01:00
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;
2020-03-24 18:17:26 +01:00
&.label-icon {
font-size: rem-calc(22);
padding: 4px 9px 1px 10px;
}
2015-05-05 03:10:25 +02:00
}
}
.about-fablab {
position: relative;
z-index: 101;
height: 93%;
background-color: white;
2020-03-24 18:17:26 +01:00
@include transition(0.5s linear all);
opacity: 1;
2015-05-05 03:10:25 +02:00
.about-picture {
padding: 70px 0;
height: 326px;
background-size: cover;
margin-bottom: 30px;
}
2020-03-24 18:17:26 +01:00
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;
2020-03-24 18:17:26 +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);
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
p {
font-size: rem-calc(18);
line-height: rem-calc(30);
color: $black-light;
text-align: justify;
}
&.ng-hide {
opacity: 0;
2020-03-24 18:17:26 +01:00
@include transition(0.5s linear all);
2015-05-05 03:10:25 +02:00
}
&.ng-hide-add,
&.ng-hide-remove {
2020-03-24 18:17:26 +01:00
display: block !important;
2015-05-05 03:10:25 +02:00
}
.last-update {
text-align: right;
margin-bottom: 2em;
}
2015-05-05 03:10:25 +02:00
}
.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 {
// background-color: #cb1117;
color: white;
2015-05-05 03:10:25 +02:00
}
.event:hover * {
color: #eee !important;
border-color: #eee;
2015-05-05 03:10:25 +02:00
}
.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%;
}
2020-03-24 18:17:26 +01:00
2015-05-05 03:10:25 +02:00
.b-light-dark {
2020-03-24 18:17:26 +01:00
border-color: #d0d0d0;
2015-05-05 03:10:25 +02:00
}
.p-sm {
2020-03-24 18:17:26 +01:00
padding: 10px;
2015-05-05 03:10:25 +02:00
}
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;
}
2020-03-24 18:17:26 +01:00
2016-03-23 18:39:41 +01:00
.light-accordion > .panel-heading > .panel-title {
font-size: 12pt;
}
.app-generator {
position: absolute;
2020-03-24 18:17:26 +01:00
bottom: 0;
right: 10px;
2016-03-23 18:39:41 +01:00
z-index: 100;
padding: 3px 15px;
border: 1px solid $border-color;
border-top-left-radius: 8px;
background: $bg-gray;
2020-03-24 18:17:26 +01:00
2016-03-23 18:39:41 +01:00
@media only screen and (max-width: 768px) {
display: none;
}
.app-version {
margin-right: 10px;
color: #999;
}
2016-03-23 18:39:41 +01:00
}
.disabling-overlay {
&:before {
content: "";
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(230, 230, 230, 0.7);
position: absolute;
2020-03-24 18:17:26 +01:00
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;
}
2020-03-24 18:17:26 +01:00
.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;
2020-03-24 18:17:26 +01:00
i {
margin: 0 5px 0 10px;
}
span {
border-bottom: 1px dashed #00b3ee;
text-decoration: none;
cursor: pointer;
}
}
2016-08-25 15:36:52 +02:00
.description-hover {
span {
display: inline-block;
border-bottom: 1px dashed #00b3ee;
cursor: help;
}
}
.reservable-card {
@media only screen and (min-width: 768px) {
height: 24em;
}
}
.disabled-reservable {
opacity: 0.5 !important;
2018-09-18 14:38:43 +02:00
}
.fileinput.input-group > div.form-control {
display: inline-flex;
align-items: center;
& > i.fileinput-exists {
margin-right: 5px;
}
}
.help-block.error {
color: #ff565d;
}
.disabled {
background-color: $gray-lighter;
color: $gray-light;
& a {
color: $gray;
}
.canceled-marker {
float: right;
top: -13px;
position: relative;
color: red;
text-transform: uppercase;
}
}
2020-03-24 18:17:26 +01:00
2019-11-27 11:52:37 +01:00
.calendar-legend-block {
text-align: right;
padding-right: 2em;
2019-11-27 11:52:37 +01:00
h4 {
font-size: 12px;
font-style: italic;
}
2020-03-24 18:17:26 +01:00
2019-11-27 11:52:37 +01:00
.legends {
display: flex;
flex-direction: row-reverse;
}
2020-03-24 18:17:26 +01:00
2019-11-27 11:52:37 +01:00
.calendar-legend {
border: 1px solid;
border-left: 3px solid;
border-radius: 3px;
font-size: 10px;
padding: 2px;
margin-left: 10px;
2019-11-27 16:17:32 +01:00
display: inline-block;
2019-11-27 11:52:37 +01:00
}
}
input[type=date].form-control {
line-height: 25px;
}