caisse-bliss/assets/css/pages/global.scss

316 lines
3.8 KiB
SCSS
Raw Normal View History

2018-04-18 14:21:58 +02:00
@import '../split/custom_vars';
body {
color: $all-text-color;
2018-05-04 19:53:57 +02:00
font-family: "Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1rem;
line-height: 2rem;
2018-04-18 14:21:58 +02:00
}
2018-05-04 19:27:37 +02:00
2018-04-20 10:04:29 +02:00
#wrapper {
min-height: 100vh;
2018-04-18 14:21:58 +02:00
}
2018-04-04 16:25:25 +02:00
.main-screen {
min-height: 80vh;
}
2018-04-06 15:43:14 +02:00
2018-05-04 14:50:08 +02:00
.bg-dark {
2018-06-04 13:11:40 +02:00
background: rgba(0, 0, 0, 0.5);
2018-05-04 14:50:08 +02:00
}
.bg-shader {
@extend .bg-dark;
height: 100vh;
}
2018-04-06 15:43:14 +02:00
.bg-img {
2018-05-04 14:50:08 +02:00
background-attachment: fixed;
2018-04-06 15:43:14 +02:00
background-size: cover;
overflow: hidden;
2018-06-04 13:11:40 +02:00
background-position: center;
2018-05-04 14:50:08 +02:00
min-height: 100vh;
}
.bg-accessories {
@extend .bg-img;
background-image: url('../../img/accessories.jpg');
}
.bg-girl {
@extend .bg-img;
background-image: url('../../img/girl_computer.jpg');
}
.bg-color {
2018-05-04 19:27:37 +02:00
background: $deepblue;
color: $light;
2019-06-12 14:13:36 +02:00
2018-05-04 14:50:08 +02:00
a {
2018-05-04 19:27:37 +02:00
color: $lightblue;
2018-05-04 14:50:08 +02:00
}
2019-06-12 14:13:36 +02:00
2018-05-04 14:50:08 +02:00
padding: 1rem;
2018-04-06 15:43:14 +02:00
}
2018-04-17 14:52:31 +02:00
2018-04-18 14:21:58 +02:00
.logo-main {
color: $logo-color;
}
.big-footer {
background: $dark;
color: $light;
height: 4em;
padding: 1em;
box-sizing: border-box;
2019-06-12 15:24:13 +02:00
position: static;
2019-06-12 14:52:58 +02:00
width: 100%;
bottom: 0;
2019-06-12 15:24:13 +02:00
display: block;
2019-07-04 18:00:29 +02:00
float:left;
2018-04-18 14:21:58 +02:00
}
2018-04-17 14:52:31 +02:00
thead {
2019-02-21 16:20:03 +01:00
background: $darkblue;
2018-04-18 14:21:58 +02:00
color: $light;
2018-04-17 14:52:31 +02:00
}
2018-04-17 15:08:30 +02:00
ul {
padding: 0;
}
2018-04-17 15:41:00 +02:00
label {
min-width: 20em;
display: inline-block;
}
2018-04-18 14:21:58 +02:00
.try {
margin: 0 auto;
}
2018-04-20 10:04:29 +02:00
.padded {
padding: 1rem;
2019-06-12 14:13:36 +02:00
2018-04-20 10:04:29 +02:00
&-v {
padding: 0;
padding-top: 1rem;
padding-bottom: 1rem;
}
}
.marged {
margin: 1rem;
2019-06-12 14:13:36 +02:00
2018-04-20 10:04:29 +02:00
&-v {
margin: 0;
margin-top: 1rem;
margin-bottom: 1rem;
}
2019-07-04 16:26:43 +02:00
&-h {
margin: 0;
margin-right: 1rem;
margin-left: 1rem;
}
2018-04-20 10:04:29 +02:00
}
2018-08-23 15:00:56 +02:00
.bgwarning {
background: orange;
color: #ee5555;
}
.bgdanger {
background: indianred;
color: #333;
font-weight: bold;
}
.bgsuccess {
background: greenyellow;
color: #000000;
2018-08-28 15:29:58 +02:00
}
.previsionnel {
2019-06-12 14:13:36 +02:00
font-size: 1rem;
2019-06-12 14:52:58 +02:00
2018-08-28 15:29:58 +02:00
label {
min-width: 220px;
}
2019-06-12 14:13:36 +02:00
2018-08-28 15:29:58 +02:00
.big-number {
2019-06-12 14:13:36 +02:00
font-size: 1.85rem;
2018-08-28 15:29:58 +02:00
color: #2B2d42;
}
2019-02-21 15:55:28 +01:00
}
html, h1, h2, h3, h4, h5, h6 {
font-family: Source Sans, Arial, Helvetica, sans-serif;
}
input {
width: auto;
min-width: 2em;
}
2019-06-12 14:13:36 +02:00
#menu-dashboard {
background: $dark;
2019-02-21 15:55:28 +01:00
display: flex;
position: fixed;
left: 0;
top: 0;
height: 100vh;
width: 13vw;
2019-06-12 14:13:36 +02:00
min-width: 300px;
2019-02-21 15:55:28 +01:00
overflow-x: auto;
2019-06-12 14:13:36 +02:00
z-index: 10;
.nav {
width: 100%;
2019-02-21 15:55:28 +01:00
min-width: 300px;
display: block;
2019-06-12 14:13:36 +02:00
border-right: solid 2px mix($dark, $grey);
.btn {
2019-02-21 15:55:28 +01:00
color: $light;
}
2019-06-12 14:13:36 +02:00
.btn-default {
2019-02-21 15:55:28 +01:00
color: $light;
2019-06-12 14:13:36 +02:00
&:hover {
2019-02-21 15:55:28 +01:00
background: mix($deepblue, $light);
2019-06-12 14:13:36 +02:00
color: $dark;
2019-02-21 15:55:28 +01:00
font-weight: 600;
}
}
}
2019-06-12 14:13:36 +02:00
i.fa {
float: left;
2019-02-21 15:55:28 +01:00
margin-right: 1em;
color: $light;
}
}
2019-06-12 14:13:36 +02:00
.nav > li > a:hover, .nav > li > a {
&:focus {
2019-02-21 15:55:28 +01:00
background: transparent;
border: none;
color: $lightblue;
}
2019-06-12 14:13:36 +02:00
&:focus {
2019-02-21 15:55:28 +01:00
background: transparent;
border: none;
color: $lightblue;
}
}
2019-06-12 14:13:36 +02:00
.btn {
border: 0;
2019-02-21 15:55:28 +01:00
}
2019-06-12 14:13:36 +02:00
.btn-default {
2019-02-21 15:55:28 +01:00
background: transparent;
}
2019-06-12 14:13:36 +02:00
.btn-success {
2019-02-21 15:55:28 +01:00
background-color: $deepblue;
font-weight: 800;
2019-02-21 16:20:03 +01:00
}
2019-06-12 14:13:36 +02:00
2019-06-12 14:52:58 +02:00
tr {
&.bg-success {
td {
background: greenyellow;
}
}
}
2019-07-04 16:26:43 +02:00
2019-06-12 14:52:58 +02:00
.table {
2019-07-04 16:26:43 +02:00
> div {
&:hover {
2019-06-12 14:52:58 +02:00
background: #ccc;
}
}
}
2019-07-04 16:26:43 +02:00
2019-02-21 16:20:03 +01:00
.table > thead > tr > td,
2019-06-12 14:13:36 +02:00
table td {
padding: 0.5em;
}
.login-fosub {
.padded {
2019-02-21 16:20:03 +01:00
padding: 3em;
}
2019-06-12 14:13:36 +02:00
input[type=submit] {
2019-02-21 16:20:03 +01:00
background: $primary;
2019-06-12 14:13:36 +02:00
color: $light;
2019-02-21 16:20:03 +01:00
display: block;
margin-top: 1em;
padding: 1em;
border: 0;
width: 100%;
2019-06-12 14:13:36 +02:00
&:hover {
2019-02-21 16:20:03 +01:00
background: $lightblue;
}
}
}
2019-06-12 14:13:36 +02:00
#fos_user_profile_form {
div {
2019-02-21 16:20:03 +01:00
margin: 0.5em auto;
}
2019-02-21 16:24:32 +01:00
}
2019-06-12 14:13:36 +02:00
#bodyland {
2019-07-04 18:00:29 +02:00
min-height: 100vh;
2019-06-12 14:13:36 +02:00
.container {
2019-07-04 18:00:29 +02:00
min-height: 90vh;
2019-02-21 16:24:32 +01:00
}
2019-06-12 14:52:58 +02:00
2019-07-04 18:00:29 +02:00
> .row {
min-height: 90vh;
// for crud forms
table{
thead{
th{
padding: 0.5rem;
}
}
+ ul{
a {
margin-top: 1em;
}
}
}
}
2019-06-12 14:52:58 +02:00
table {
margin-top: 2em;
}
2019-06-12 14:13:36 +02:00
}
2019-06-12 14:52:58 +02:00
#menu_button {
2019-06-12 14:13:36 +02:00
z-index: 10;
position: absolute;
right: 1em;
top: -2px;
font-size: 1rem;
}
2019-06-12 14:52:58 +02:00
.heading-of-list {
a {
margin-top: 1em;
}
}
.hint {
margin-top: 1em;
}