sutty/app/assets/stylesheets/application.scss

175 lines
2.9 KiB
SCSS
Raw Normal View History

2018-01-29 18:09:30 +00:00
@import "bootstrap";
2018-02-03 14:02:21 +00:00
@import "bootstrap-markdown/css/bootstrap-markdown.min";
@import "font-awesome";
@import "select2/dist/css/select2";
2018-06-19 17:33:13 +00:00
@import "select2-theme-bootstrap4/dist/select2-bootstrap";
2018-05-17 16:27:14 +00:00
@import "dragula-with-animation/dist/dragula";
2018-01-29 18:09:30 +00:00
2019-07-31 20:55:34 +00:00
@font-face {
font-family: 'Saira';
font-style: normal;
font-weight: 500;
font-display: optional;
src: local('Saira Medium'), local('Saira-Medium'),
font-url('saira/v3/SairaMedium.ttf') format('truetype');
}
@font-face {
font-family: 'Saira';
font-style: normal;
font-weight: 700;
font-display: optional;
src: local('Saira Bold'), local('Saira-Bold'),
font-url('saira/v3/SairaBold.ttf') format('truetype');
}
body {
font-family: Saira, sans-serif;
}
2018-01-29 18:09:30 +00:00
$footer-height: 60px;
2018-02-03 14:02:21 +00:00
/* Colores */
2018-02-24 22:40:31 +00:00
$purpura: #5c004d;
$turquesa: #009389;
$azul: #0b2660;
$fucsia: #e9193e;
$celeste: #91f0ff;
$verde: #96d643;
/* Tema */
ol.breadcrumb {
background-color: white;
}
.breadcrumb-item {
color: black;
}
.form-control {
&:focus {
border-color: transparentize($verde, 0.25);
box-shadow: 0 0 0 0.2rem transparentize($verde, 0.75);
}
}
.btn-info {
background-color: $turquesa;
border-color: $turquesa;
&:focus {
box-shadow: 0 0 0 0.2rem transparentize($turquesa, 0.5);
}
}
.btn-success {
background-color: $verde;
border-color: $verde;
&:focus {
box-shadow: 0 0 0 0.2rem transparentize($verde, 0.5);
}
}
2018-02-03 14:02:21 +00:00
.turbolinks-progress-bar {
height: 3px;
2018-02-03 14:02:21 +00:00
background-color: $purpura;
}
2018-02-24 22:40:31 +00:00
2018-01-29 18:09:30 +00:00
.background-cover {
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.full-height {
min-height: calc(100vh - #{$footer-height});
2018-01-29 18:09:30 +00:00
}
html {
position: relative;
min-height: 100%;
}
.footer {
width: 100%;
height: $footer-height;
line-height: $footer-height;
text-align: center;
}
textarea.post-content {
min-height: 80vh;
font-family: monospace;
2018-01-31 20:29:27 +00:00
font-size: 90%;
2018-01-29 18:09:30 +00:00
}
2018-02-10 16:09:42 +00:00
.rtl {
direction: rtl;
text-align: right;
}
2018-02-26 22:08:21 +00:00
.btn-text {
background-color: transparent;
border: none;
}
.inline {
display: inline;
}
2018-04-27 19:46:21 +00:00
.sindu_dragger table {
background: transparent !important;
}
2018-04-30 17:19:19 +00:00
.d-none, .d-block {
transition: all 3s;
}
2018-06-19 17:33:13 +00:00
/* Select2 Bootstrap4 Validation */
.was-validated {
.form-control {
&:invalid {
~ .select2-container--bootstrap {
border: 1px solid #dc3545;
border-radius: 0.25rem;
.select2-dropdown {
border: 1px solid #dc3545;
border-radius: 0.25rem;
}
}
}
&:valid {
~ .select2-container--bootstrap {
border: 1px solid #28a745;
border-radius: 0.25rem;
.select2-dropdown {
border: 1px solid #28a745;
border-radius: 0.25rem;
}
}
}
}
}
2018-06-22 23:28:01 +00:00
.field-groups {
.field-group {
.remove-group {
display: none
}
}
.extra {
border-top: 1px solid lightgray;
padding-top: 1rem;
2018-06-22 23:28:01 +00:00
.remove-group {
display: inline-block;
2018-06-22 23:28:01 +00:00
}
}
}