begin porting to scss

This commit is contained in:
Kazhnuz 2018-10-13 17:55:11 +02:00
parent 9eeb58f6a5
commit 0443530ac4
4 changed files with 951 additions and 425 deletions

View file

@ -1,256 +1,198 @@
/* ------------------ COULEURS ------------------- */ /* ------------------ COULEURS ------------------- */
/* de base */ /* de base */
.card-primary > .card-header, .btn-primary, .btn-primary:hover, .btn-primary:active, .badge-primary { .card-primary > .card-header, .btn-primary, .btn-primary:hover, .btn-primary:active, .badge-primary {
background-color:#7951c0; background-color: #7951c0;
color:#FFF; color: #FFF; }
}
.card-secondary > .card-header, .btn-secondary, .btn-secondary:hover, .btn-secondary:active, .badge-secondary { .card-secondary > .card-header, .btn-secondary, .btn-secondary:hover, .btn-secondary:active, .badge-secondary {
background-color:#4e63c9; background-color: #4e63c9;
color:#FFF; color: #FFF; }
}
.card-danger > .card-header, .card-red > .card-header, .btn-danger, .btn-red, .badge-red, .badge-danger { .card-danger > .card-header, .card-red > .card-header, .btn-danger, .btn-red, .badge-red, .badge-danger {
background-color:#e33d22; background-color: #e33d22;
color:#FFF; color: #FFF; }
}
.card-warning > .card-header, .card-orange > .card-header, .btn-warning, .btn-orange, .badge-warning, .badge-orange { .card-warning > .card-header, .card-orange > .card-header, .btn-warning, .btn-orange, .badge-warning, .badge-orange {
background-color:#eb790a; background-color: #eb790a;
color:#FFF; color: #FFF; }
}
.card-success > .card-header, .card-green > .card-header, .btn-success, .btn-green, .badge-success, .badge-green { .card-success > .card-header, .card-green > .card-header, .btn-success, .btn-green, .badge-success, .badge-green {
background-color:#75b82d; background-color: #75b82d;
color:#FFF; color: #FFF; }
}
.card-info > .card-header, .card-skyblue > .card-header, .btn-info, .btn-skyblue, .badge-info, .badge-skyblue { .card-info > .card-header, .card-skyblue > .card-header, .btn-info, .btn-skyblue, .badge-info, .badge-skyblue {
background-color:#42a0f3; background-color: #42a0f3;
color:#FFF; color: #FFF; }
}
.card-blue > .card-header, .btn-blue, .badge-blue { .card-blue > .card-header, .btn-blue, .badge-blue {
background-color:#4e63c9; background-color: #4e63c9;
color:#FFF color: #FFF; }
}
.card-purple > .card-header, .btn-purple, .badge-purple { .card-purple > .card-header, .btn-purple, .badge-purple {
background-color:#7951c0; background-color: #7951c0;
color:#FFF color: #FFF; }
}
.card-dark > .card-header, .btn-dark, .badge-dark { .card-dark > .card-header, .btn-dark, .badge-dark {
background-color:#6d6d6d; background-color: #6d6d6d;
color:#FFF color: #FFF; }
}
.card-light > .card-header, .btn-light, .badge-light { .card-light > .card-header, .btn-light, .badge-light {
background-color:#eeeeec; background-color: #eeeeec; }
}
.card-violet > .card-header, .btn-violet, .badge-violet { .card-violet > .card-header, .btn-violet, .badge-violet {
background-color:#ce4dcd; background-color: #ce4dcd;
color:#FFF color: #FFF; }
}
.card-turquoise > .card-header, .btn-turquoise, .badge-turquoise { .card-turquoise > .card-header, .btn-turquoise, .badge-turquoise {
background-color:#46bd9e; background-color: #46bd9e;
color:#FFF color: #FFF; }
}
/* :hover */ /* :hover */
.btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle { .show > .btn-primary.dropdown-toggle {
background-color:#9373cc; background-color: #9373cc;
color:#FFF; color: #FFF; }
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:hover, .btn-secondary:active, .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle { .show > .btn-secondary.dropdown-toggle {
background-color:#7182d3; background-color: #7182d3;
color:#FFF; color: #FFF; }
}
.btn-blue:hover, .btn-blue:active { .btn-blue:hover, .btn-blue:active {
background-color:#7182d3; background-color: #7182d3;
color:#FFF; color: #FFF; }
}
.btn-purple:hover, .btn-purple:active { .btn-purple:hover, .btn-purple:active {
background-color:#9373cc; background-color: #9373cc;
color:#FFF; color: #FFF; }
}
.btn-success:hover, .btn-success:active, .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active, .btn-success:hover, .btn-success:active, .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle, .btn-green:hover, .btn-green:active { .show > .btn-success.dropdown-toggle, .btn-green:hover, .btn-green:active {
background-color:#90c657; background-color: #90c657;
color:#FFF; color: #FFF; }
}
.btn-info:hover, .btn-info:active, .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active, .btn-info:hover, .btn-info:active, .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle, .btn-skyblue:hover, .btn-skyblue:active { .show > .btn-info.dropdown-toggle, .btn-skyblue:hover, .btn-skyblue:active {
background-color:#67b3f5; background-color: #67b3f5;
color:#FFF; color: #FFF; }
}
.btn-warning:hover, .btn-warning:active, .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .btn-warning:hover, .btn-warning:active, .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle, .btn-orange:hover, .btn-orange:active { .show > .btn-warning.dropdown-toggle, .btn-orange:hover, .btn-orange:active {
background-color:#ef933b; background-color: #ef933b;
color:#FFF; color: #FFF; }
}
.btn-danger:hover, .btn-danger:active, .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active, .btn-danger:hover, .btn-danger:active, .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle, .btn-red:hover, .btn-red:active { .show > .btn-danger.dropdown-toggle, .btn-red:hover, .btn-red:active {
background-color:#e8634e; background-color: #e8634e;
color:#FFF; color: #FFF; }
}
.btn-dark:hover, .btn-dark:active, .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active, .btn-dark:hover, .btn-dark:active, .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
.show > .btn-dark.dropdown-toggle { .show > .btn-dark.dropdown-toggle {
background-color:#8a8a8a; background-color: #8a8a8a;
color:#FFF; color: #FFF; }
}
.btn-light:hover, .btn-light:active, .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active, .btn-light:hover, .btn-light:active, .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle { .show > .btn-light.dropdown-toggle {
background-color:#dddddd; background-color: #dddddd;
color:#000; color: #000; }
}
.btn-violet:hover, .btn-violet:active { .btn-violet:hover, .btn-violet:active {
background-color:#d770d7; background-color: #d770d7;
color:#FFF; color: #FFF; }
}
.btn-turquoise:hover, .btn-turquoise:active { .btn-turquoise:hover, .btn-turquoise:active {
background-color:#6bcab1; background-color: #6bcab1;
color:#FFF; color: #FFF; }
}
.bg-primary { .bg-primary {
background-color:#7951c0!important; background-color: #7951c0 !important; }
}
/* alertes */ /* alertes */
.alert-primary { .alert-primary {
background-color:#e4dcf2; background-color: #e4dcf2; }
}
.alert-secondary { .alert-secondary {
background-color:#dbdff4; background-color: #dbdff4; }
}
.alert-info { .alert-info {
background-color:#d9ecfc; background-color: #d9ecfc; }
}
.alert-success { .alert-success {
background-color:#e3f0d5; background-color: #e3f0d5; }
}
.alert-warning { .alert-warning {
background-color:#fbe4ce; background-color: #fbe4ce; }
}
.alert-danger { .alert-danger {
background-color:#f9d8d2; background-color: #f9d8d2; }
}
.alert-violet { .alert-violet {
background-color:#f5dbf5; background-color: #f5dbf5; }
}
.alert-purple { .alert-purple {
background-color:#e4dcf2; background-color: #e4dcf2; }
}
.alert-blue { .alert-blue {
background-color:#dbdff4; background-color: #dbdff4; }
}
.alert-skyblue { .alert-skyblue {
background-color:#d9ecfc; background-color: #d9ecfc; }
}
.alert-turquoise { .alert-turquoise {
background-color:#daf1eb; background-color: #daf1eb; }
}
.alert-green { .alert-green {
background-color:#e3f0d5; background-color: #e3f0d5; }
}
.alert-orange { .alert-orange {
background-color:#fbe4ce; background-color: #fbe4ce; }
}
.alert-red { .alert-red {
background-color:#f9d8d2; background-color: #f9d8d2; }
}
.alert-light { .alert-light {
background-color:#ffffff; background-color: #ffffff; }
}
.alert-dark { .alert-dark {
background-color:#e1e1e1; background-color: #e1e1e1; }
}
/* social */ /* social */
.btn-facebook { .btn-facebook {
background-color:#3B5998; background-color: #3B5998;
color:#FFF; color: #FFF; }
}
.btn-facebook:hover, .btn-facebook:active { .btn-facebook:hover, .btn-facebook:active {
background-color:#627aac; background-color: #627aac;
color:#FFF; color: #FFF; }
}
.btn-twitter { .btn-twitter {
background-color:#55ACEE; background-color: #55ACEE;
color:#FFF; color: #FFF; }
}
.btn-twitter:hover, .btn-twitter:active { .btn-twitter:hover, .btn-twitter:active {
background-color:#77bcf1; background-color: #77bcf1;
color:#FFF; color: #FFF; }
}
.btn-googleplus { .btn-googleplus {
background-color:#d34836; background-color: #d34836;
color:#FFF; color: #FFF; }
}
.btn-googleplus:hover, .btn-googleplus:active { .btn-googleplus:hover, .btn-googleplus:active {
background-color:#db6c5e; background-color: #db6c5e;
color:#FFF; color: #FFF; }
}
.btn-diaspora { .btn-diaspora {
background-color:#313739; background-color: #313739;
color:#FFF; color: #FFF; }
}
.btn-diaspora:hover, .btn-diaspora:active { .btn-diaspora:hover, .btn-diaspora:active {
background-color:#5a5f60; background-color: #5a5f60;
color:#FFF; color: #FFF; }
}
.btn-mastodon { .btn-mastodon {
background-color:#282c37; background-color: #282c37;
color:#FFF; color: #FFF; }
}
.btn-mastodon:hover, .btn-mastodon:active { .btn-mastodon:hover, .btn-mastodon:active {
background-color:#53565f; background-color: #53565f;
color:#FFF; color: #FFF; }
}

View file

@ -1,374 +1,291 @@
/* ------------------ GLOBAL STYLE ------------------- */ /* ------------------ GLOBAL STYLE ------------------- */
#wrapper { #wrapper {
background: #64b5f6 url('../img/background.png') center bottom repeat-x; background: #64b5f6 url("../img/background.png") center bottom repeat-x; }
}
.no-pills { .no-pills {
list-style:none; list-style: none; }
}
.align-center { .align-center {
text-align:center; text-align: center; }
}
.align-left { .align-left {
text-align:left; text-align: left; }
}
.align-right { .align-right {
text-align:right; text-align: right; }
}
h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 { h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 {
color:white; color: white;
text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4); text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4); }
}
/* ------------------ HEADERS ------------------- */ /* ------------------ HEADERS ------------------- */
header h1 { header h1 {
border-style:none !important; border-style: none !important;
color:#FFF; color: #FFF;
font-weight:700; font-weight: 700;
font-size:5.4em; font-size: 5.4em;
font-style:oblique; font-style: oblique;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0); text-shadow: 0px 2px 12px transparent;
padding-bottom:0px; padding-bottom: 0px;
margin:auto; margin: auto;
text-align:center; text-align: center; }
}
.navbar { .navbar {
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.1); box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.1);
border-width:0px; border-width: 0px;
border-bottom:1px; border-bottom: 1px;
border-style:solid; border-style: solid;
border-color:rgba(0,0,0,0.3) border-color: rgba(0, 0, 0, 0.3); }
}
.dropdown-menu { .dropdown-menu {
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2), inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
}
/* ------------------ FOOTER ------------------- */ /* ------------------ FOOTER ------------------- */
footer { footer {
margin-top:40px; margin-top: 40px; }
}
/* social media */ /* social media */
ul.social { ul.social {
font-size:1.5em; font-size: 1.5em;
padding-bottom:1em; padding-bottom: 1em;
margin:auto; margin: auto;
text-align:center; text-align: center; }
}
li.social-li { li.social-li {
list-style:none; list-style: none;
display:inline; display: inline; }
}
a.social-link { a.social-link {
color:#FFFFFF; color: #FFFFFF;
background-color:#000000; background-color: #000000;
padding:0.3em; padding: 0.3em;
padding-left:0.36em; padding-left: 0.36em;
padding-right:0.36em; padding-right: 0.36em;
vertical-align:middle; vertical-align: middle;
border-radius:100%; border-radius: 100%; }
}
a.social-link:hover { a.social-link:hover {
color:#000000; color: #000000;
background-color:#FFFFFF; background-color: #FFFFFF; }
}
/* ------------------ CARDS ------------------- */ /* ------------------ CARDS ------------------- */
.card { .card {
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3); box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3);
border-width:0px; border-width: 0px;
margin-bottom:1.2em; margin-bottom: 1.2em; }
}
.card-shadow { .card-shadow {
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
}
/* header and titles */ /* header and titles */
.card-header { .card-header {
border-top-left-radius:3px; border-top-left-radius: 3px;
border-top-right-radius:3px; border-top-right-radius: 3px;
border-top:1px solid; border-top: 1px solid;
border-left:1px solid; border-left: 1px solid;
border-right:1px solid; border-right: 1px solid;
border-width:1px; border-width: 1px;
border-color:rgba(0,0,0,0.3); border-color: rgba(0, 0, 0, 0.3);
font-size:1.1em; font-size: 1.1em;
box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.1); box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.1);
text-shadow: 0px 1px 1px rgba(0,0,0,0.3); text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
font-weight:600; font-weight: 600; }
}
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6,.card h7,.card h8,.card h9,.card h10 { .card h1, .card h2, .card h3, .card h4, .card h5, .card h6, .card h7, .card h8, .card h9, .card h10 {
color:#333; color: #333;
text-shadow: 0px 0px 0px rgba(0, 0, 0, 0); text-shadow: 0px 0px 0px transparent; }
}
h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.card-title, h7.card-title, h8.card-title, h9.card-title, h10.card-title { h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.card-title, h7.card-title, h8.card-title, h9.card-title, h10.card-title {
font-size:1em; font-size: 1em;
text-shadow: 0px -1px 0px rgba(0,0,0,0.3); text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
padding:0px; padding: 0px;
margin:0px; margin: 0px;
color:#FFF; color: #FFF;
font-weight:600; font-weight: 600; }
}
/* meta */ /* meta */
.card-meta { .card-meta {
padding:1em; padding: 1em;
border-bottom:1px solid rgba(0,0,0,0.2); border-bottom: 1px solid rgba(0, 0, 0, 0.2); }
}
.card-meta.media { .card-meta.media {
-ms-flex-align: center !important; -ms-flex-align: center !important;
align-items: center !important; align-items: center !important; }
}
.card-meta .media-left .media-object { .card-meta .media-left .media-object {
height: 64px; height: 64px;
width: 64px; width: 64px;
border-radius: 10px; border-radius: 10px;
margin-right:1em; margin-right: 1em; }
}
.card-meta author { .card-meta author {
display:block; display: block;
font-weight:600; font-weight: 600; }
}
.card-meta time { .card-meta time {
display:block; display: block;
font-style:italic; font-style: italic; }
}
/* lists */ /* lists */
.list-group-item { .list-group-item {
border-style:none; border-style: none;
border-width:0px; border-width: 0px;
border-radius:0px; border-radius: 0px;
background-color:transparent; background-color: transparent; }
}
a.list-group-item:hover { a.list-group-item:hover {
border-style:none; border-style: none;
border-width:0px; border-width: 0px;
border-radius:0px; border-radius: 0px;
background-color:rgba(0,0,0,0.1); background-color: rgba(0, 0, 0, 0.1); }
}
/* ------------------ BUTTONS ------------------- */ /* ------------------ BUTTONS ------------------- */
.btn { .btn {
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
border-color:rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
text-shadow: 0px -1px 0px rgba(0,0,0,0.3); text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3); }
}
.btn:hover { .btn:hover {
position:relative; position: relative;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
top:1px; top: 1px;
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
border-color:rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3); }
}
.btn:active { .btn:active {
position:relative; position: relative;
box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2); box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2);
top:2px; top: 2px;
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
border-color:rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3); }
}
.btn-group { .btn-group {
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3); }
}
.btn-group .btn { .btn-group .btn {
box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
}
.btn-group .btn:hover { .btn-group .btn:hover {
position:relative; position: relative;
top:1px; top: 1px;
box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
}
.btn-group .btn:active, .btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active, .btn-group .btn:active, .btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active,
.show > .btn.dropdown-toggle { .show > .btn.dropdown-toggle {
position:relative; position: relative;
box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2)!important; box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2) !important;
top:2px; top: 2px;
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
border-color:rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3); }
}
.btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn-danger:focus, .btn-warning:focus, .btn-success:focus, .btn-info:focus, .btn-dark:focus, .btn-light:focus { .btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn-danger:focus, .btn-warning:focus, .btn-success:focus, .btn-info:focus, .btn-dark:focus, .btn-light:focus {
position:relative; position: relative;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 2px #75507b; box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 2px #75507b;
top:1px; top: 1px;
outline: none; outline: none; }
}
/* ------------------ ALERTS ------------------- */ /* ------------------ ALERTS ------------------- */
.alert { .alert {
border-style:solid; border-style: solid;
border-width:1px; border-width: 1px;
border-color:rgba(0, 0, 0, 0.3); border-color: rgba(0, 0, 0, 0.3);
color:rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3) box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3); }
}
.alert a, .alert-link { .alert a, .alert-link {
color:rgba(0, 0, 0, 0.7); color: rgba(0, 0, 0, 0.7);
font-weight:bold; font-weight: bold; }
}
/* ------------------ BREADCRUMB ------------------- */ /* ------------------ BREADCRUMB ------------------- */
.breadcrumb { .breadcrumb {
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
border-color:rgba(0,0,0,0.3); border-color: rgba(0, 0, 0, 0.3);
border-width:1px; border-width: 1px;
background-color:#eeeeec; background-color: #eeeeec;
margin-bottom:1.2em; margin-bottom: 1.2em; }
}
/* ------------------ PARTAGE RESEAUX SOCIAUX ------------------- */ /* ------------------ PARTAGE RESEAUX SOCIAUX ------------------- */
.share-buttons { .share-buttons {
margin:15px; margin: 15px; }
}
.reagir { .reagir {
text-align:right; text-align: right; }
}
/* ------------------ PREVIEWS ------------------- */ /* ------------------ PREVIEWS ------------------- */
.previews-section { .previews-section {
display: flex; display: flex;
align-content: flex-start; align-content: flex-start;
flex-wrap: wrap; flex-wrap: wrap; }
}
.preview-container { .preview-container {
margin-bottom:1em; margin-bottom: 1em;
padding:0.4em; padding: 0.4em;
width:100% width: 100%; }
}
@media(max-width:767px){}
@media(min-width:768px){}
@media(min-width:992px){
@media (min-width: 992px) {
.prev-col-2 .preview-container { .prev-col-2 .preview-container {
width:50%; width: 50%; }
}
.prev-col-3 .preview-container { .prev-col-3 .preview-container {
width:33%; width: 33%; }
}
.prev-col-4 .preview-container { .prev-col-4 .preview-container {
width:25%; width: 25%; } }
}
}
.card-preview { .card-preview {
width:100%; width: 100%;
margin: auto;
margin:auto; box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2); }
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
}
.preview-link:hover { .preview-link:hover {
text-decoration:none!important; text-decoration: none !important; }
}
.preview-item { .preview-item {
height: 200px;
height:200px; overflow: hidden;
overflow:hidden; font-size: 0.9em;
font-size:0.9em;
line-height: 1.5em !important; line-height: 1.5em !important;
padding:0.2em; padding: 0.2em;
text-align:justify; text-align: justify;
background-color:rgba(0,0,0,0.05); background-color: rgba(0, 0, 0, 0.05);
color:rgba(0,0,0,0.4); color: rgba(0, 0, 0, 0.4);
position: relative; position: relative;
display: flex; display: flex;
-ms-flex-align: center !important; -ms-flex-align: center !important;
align-items: center !important; align-items: center !important;
justify-content: center; justify-content: center; }
}
.preview-content { .preview-content {
max-height:200px; max-height: 200px; }
}
.preview-content > p { .preview-content > p {
width:100%; width: 100%;
margin:auto; margin: auto; }
}
.preview-content > p.p-img { .preview-content > p.p-img {
text-align:center; text-align: center;
margin:auto; margin: auto;
padding:auto; padding: auto;
display: block; display: block;
width:100%; width: 100%; }
}
.preview-content > p > img { .preview-content > p > img {
max-width:100%; max-width: 100%;
height:auto; height: auto;
vertical-align:middle; vertical-align: middle;
margin:auto; margin: auto;
text-align:center; text-align: center; }
}
.preview-item h1, .preview-item h2, .preview-item h3, .preview-item h4, .preview-item h5, .preview-item h6, .preview-item h7 { .preview-item h1, .preview-item h2, .preview-item h3, .preview-item h4, .preview-item h5, .preview-item h6, .preview-item h7 {
margin-bottom:0px; margin-bottom: 0px;
max-width:100%; max-width: 100%;
display:none; display: none; }
}
.preview-item h1 { .preview-item h1 {
display:none; display: none; }
}
.preview-overlay { .preview-overlay {
height: 100%; height: 100%;
@ -380,38 +297,32 @@ a.list-group-item:hover {
padding: 0; padding: 0;
transition: opacity .5s; transition: opacity .5s;
color: #FFF; color: #FFF;
background-color: rgba(0,0,0,0.5); background-color: rgba(0, 0, 0, 0.5);
text-shadow: 1px 1px 0px rgba(0,0,0,0.7); text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7);
backdrop-filter: none; backdrop-filter: none; }
}
.preview-overlay h1 { .preview-overlay h1 {
max-width:100%; max-width: 100%;
padding-top:0.3em; padding-top: 0.3em;
margin:auto; margin: auto;
margin-bottom:0px; margin-bottom: 0px;
text-align:center; text-align: center;
display:block; display: block;
font-size:2em; font-size: 2em;
color: white; color: white; }
}
.preview-overlay h1,.preview-overlay h2,.preview-overlay h3,.preview-overlay h4,.preview-overlay h5,.preview-overlay h6,.preview-overlay h7,.preview-overlay h8,.preview-overlay h9,.preview-overlay h10 { .preview-overlay h1, .preview-overlay h2, .preview-overlay h3, .preview-overlay h4, .preview-overlay h5, .preview-overlay h6, .preview-overlay h7, .preview-overlay h8, .preview-overlay h9, .preview-overlay h10 {
color:white; color: white;
text-shadow: 1px 1px 0px rgba(0,0,0,0.7); text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.7); }
}
.preview-item:hover .preview-overlay { .preview-item:hover .preview-overlay {
opacity: .9; opacity: .9;
transition: opacity .5s; transition: opacity .5s;
backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
}
.comment-text { .comment-text {
margin-top:0.8em; margin-top: 0.8em; }
}
.card-preview time { .card-preview time {
margin-bottom:0.4em; margin-bottom: 0.4em;
display:block; display: block; }
}

256
scss/palette.scss Normal file
View file

@ -0,0 +1,256 @@
/* ------------------ COULEURS ------------------- */
/* de base */
.card-primary > .card-header, .btn-primary, .btn-primary:hover, .btn-primary:active, .badge-primary {
background-color:#7951c0;
color:#FFF;
}
.card-secondary > .card-header, .btn-secondary, .btn-secondary:hover, .btn-secondary:active, .badge-secondary {
background-color:#4e63c9;
color:#FFF;
}
.card-danger > .card-header, .card-red > .card-header, .btn-danger, .btn-red, .badge-red, .badge-danger {
background-color:#e33d22;
color:#FFF;
}
.card-warning > .card-header, .card-orange > .card-header, .btn-warning, .btn-orange, .badge-warning, .badge-orange {
background-color:#eb790a;
color:#FFF;
}
.card-success > .card-header, .card-green > .card-header, .btn-success, .btn-green, .badge-success, .badge-green {
background-color:#75b82d;
color:#FFF;
}
.card-info > .card-header, .card-skyblue > .card-header, .btn-info, .btn-skyblue, .badge-info, .badge-skyblue {
background-color:#42a0f3;
color:#FFF;
}
.card-blue > .card-header, .btn-blue, .badge-blue {
background-color:#4e63c9;
color:#FFF
}
.card-purple > .card-header, .btn-purple, .badge-purple {
background-color:#7951c0;
color:#FFF
}
.card-dark > .card-header, .btn-dark, .badge-dark {
background-color:#6d6d6d;
color:#FFF
}
.card-light > .card-header, .btn-light, .badge-light {
background-color:#eeeeec;
}
.card-violet > .card-header, .btn-violet, .badge-violet {
background-color:#ce4dcd;
color:#FFF
}
.card-turquoise > .card-header, .btn-turquoise, .badge-turquoise {
background-color:#46bd9e;
color:#FFF
}
/* :hover */
.btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
background-color:#9373cc;
color:#FFF;
}
.btn-secondary:hover, .btn-secondary:active, .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
background-color:#7182d3;
color:#FFF;
}
.btn-blue:hover, .btn-blue:active {
background-color:#7182d3;
color:#FFF;
}
.btn-purple:hover, .btn-purple:active {
background-color:#9373cc;
color:#FFF;
}
.btn-success:hover, .btn-success:active, .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
.show > .btn-success.dropdown-toggle, .btn-green:hover, .btn-green:active {
background-color:#90c657;
color:#FFF;
}
.btn-info:hover, .btn-info:active, .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle, .btn-skyblue:hover, .btn-skyblue:active {
background-color:#67b3f5;
color:#FFF;
}
.btn-warning:hover, .btn-warning:active, .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
.show > .btn-warning.dropdown-toggle, .btn-orange:hover, .btn-orange:active {
background-color:#ef933b;
color:#FFF;
}
.btn-danger:hover, .btn-danger:active, .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
.show > .btn-danger.dropdown-toggle, .btn-red:hover, .btn-red:active {
background-color:#e8634e;
color:#FFF;
}
.btn-dark:hover, .btn-dark:active, .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
.show > .btn-dark.dropdown-toggle {
background-color:#8a8a8a;
color:#FFF;
}
.btn-light:hover, .btn-light:active, .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
.show > .btn-light.dropdown-toggle {
background-color:#dddddd;
color:#000;
}
.btn-violet:hover, .btn-violet:active {
background-color:#d770d7;
color:#FFF;
}
.btn-turquoise:hover, .btn-turquoise:active {
background-color:#6bcab1;
color:#FFF;
}
.bg-primary {
background-color:#7951c0!important;
}
/* alertes */
.alert-primary {
background-color:#e4dcf2;
}
.alert-secondary {
background-color:#dbdff4;
}
.alert-info {
background-color:#d9ecfc;
}
.alert-success {
background-color:#e3f0d5;
}
.alert-warning {
background-color:#fbe4ce;
}
.alert-danger {
background-color:#f9d8d2;
}
.alert-violet {
background-color:#f5dbf5;
}
.alert-purple {
background-color:#e4dcf2;
}
.alert-blue {
background-color:#dbdff4;
}
.alert-skyblue {
background-color:#d9ecfc;
}
.alert-turquoise {
background-color:#daf1eb;
}
.alert-green {
background-color:#e3f0d5;
}
.alert-orange {
background-color:#fbe4ce;
}
.alert-red {
background-color:#f9d8d2;
}
.alert-light {
background-color:#ffffff;
}
.alert-dark {
background-color:#e1e1e1;
}
/* social */
.btn-facebook {
background-color:#3B5998;
color:#FFF;
}
.btn-facebook:hover, .btn-facebook:active {
background-color:#627aac;
color:#FFF;
}
.btn-twitter {
background-color:#55ACEE;
color:#FFF;
}
.btn-twitter:hover, .btn-twitter:active {
background-color:#77bcf1;
color:#FFF;
}
.btn-googleplus {
background-color:#d34836;
color:#FFF;
}
.btn-googleplus:hover, .btn-googleplus:active {
background-color:#db6c5e;
color:#FFF;
}
.btn-diaspora {
background-color:#313739;
color:#FFF;
}
.btn-diaspora:hover, .btn-diaspora:active {
background-color:#5a5f60;
color:#FFF;
}
.btn-mastodon {
background-color:#282c37;
color:#FFF;
}
.btn-mastodon:hover, .btn-mastodon:active {
background-color:#53565f;
color:#FFF;
}

417
scss/style.scss Normal file
View file

@ -0,0 +1,417 @@
/* ------------------ GLOBAL STYLE ------------------- */
#wrapper {
background: #64b5f6 url('../img/background.png') center bottom repeat-x;
}
.no-pills {
list-style:none;
}
.align-center {
text-align:center;
}
.align-left {
text-align:left;
}
.align-right {
text-align:right;
}
h1, h2, h3, h4, h5, h6, h7, h8, h9, h10 {
color:white;
text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.4);
}
/* ------------------ HEADERS ------------------- */
header h1 {
border-style:none !important;
color:#FFF;
font-weight:700;
font-size:5.4em;
font-style:oblique;
text-shadow: 0px 2px 12px rgba(0, 0, 0, 0);
padding-bottom:0px;
margin:auto;
text-align:center;
}
.navbar {
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.1);
border-width:0px;
border-bottom:1px;
border-style:solid;
border-color:rgba(0,0,0,0.3)
}
.dropdown-menu {
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
}
/* ------------------ FOOTER ------------------- */
footer {
margin-top:40px;
}
/* social media */
ul.social {
font-size:1.5em;
padding-bottom:1em;
margin:auto;
text-align:center;
}
li.social-li {
list-style:none;
display:inline;
}
a.social-link {
color:#FFFFFF;
background-color:#000000;
padding:0.3em;
padding-left:0.36em;
padding-right:0.36em;
vertical-align:middle;
border-radius:100%;
}
a.social-link:hover {
color:#000000;
background-color:#FFFFFF;
}
/* ------------------ CARDS ------------------- */
.card {
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3);
border-width:0px;
margin-bottom:1.2em;
}
.card-shadow {
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
}
/* header and titles */
.card-header {
border-top-left-radius:3px;
border-top-right-radius:3px;
border-top:1px solid;
border-left:1px solid;
border-right:1px solid;
border-width:1px;
border-color:rgba(0,0,0,0.3);
font-size:1.1em;
box-shadow: inset 0px 2px 0px rgba(255, 255, 255, 0.1);
text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
font-weight:600;
}
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6,.card h7,.card h8,.card h9,.card h10 {
color:#333;
text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
h1.card-title, h2.card-title, h3.card-title, h4.card-title, h5.card-title, h6.card-title, h7.card-title, h8.card-title, h9.card-title, h10.card-title {
font-size:1em;
text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
padding:0px;
margin:0px;
color:#FFF;
font-weight:600;
}
/* meta */
.card-meta {
padding:1em;
border-bottom:1px solid rgba(0,0,0,0.2);
}
.card-meta.media {
-ms-flex-align: center !important;
align-items: center !important;
}
.card-meta .media-left .media-object {
height: 64px;
width: 64px;
border-radius: 10px;
margin-right:1em;
}
.card-meta author {
display:block;
font-weight:600;
}
.card-meta time {
display:block;
font-style:italic;
}
/* lists */
.list-group-item {
border-style:none;
border-width:0px;
border-radius:0px;
background-color:transparent;
}
a.list-group-item:hover {
border-style:none;
border-width:0px;
border-radius:0px;
background-color:rgba(0,0,0,0.1);
}
/* ------------------ BUTTONS ------------------- */
.btn {
border-style:solid;
border-width:1px;
border-color:rgba(0, 0, 0, 0.3);
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
text-shadow: 0px -1px 0px rgba(0,0,0,0.3);
}
.btn:hover {
position:relative;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
top:1px;
border-style:solid;
border-width:1px;
border-color:rgba(0, 0, 0, 0.3);
}
.btn:active {
position:relative;
box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2);
top:2px;
border-style:solid;
border-width:1px;
border-color:rgba(0, 0, 0, 0.3);
}
.btn-group {
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}
.btn-group .btn {
box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
}
.btn-group .btn:hover {
position:relative;
top:1px;
box-shadow: inset 0px -2px 0px rgba(0, 0, 0, 0.2);
}
.btn-group .btn:active, .btn:not(:disabled):not(.disabled):active, .btn:not(:disabled):not(.disabled).active,
.show > .btn.dropdown-toggle {
position:relative;
box-shadow: inset 0px 2px 0px rgba(0, 0, 0, 0.2)!important;
top:2px;
border-style:solid;
border-width:1px;
border-color:rgba(0, 0, 0, 0.3);
}
.btn:focus, .btn-primary:focus, .btn-secondary:focus, .btn-danger:focus, .btn-warning:focus, .btn-success:focus, .btn-info:focus, .btn-dark:focus, .btn-light:focus {
position:relative;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 2px #75507b;
top:1px;
outline: none;
}
/* ------------------ ALERTS ------------------- */
.alert {
border-style:solid;
border-width:1px;
border-color:rgba(0, 0, 0, 0.3);
color:rgba(0, 0, 0, 0.7);
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3)
}
.alert a, .alert-link {
color:rgba(0, 0, 0, 0.7);
font-weight:bold;
}
/* ------------------ BREADCRUMB ------------------- */
.breadcrumb {
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
border-color:rgba(0,0,0,0.3);
border-width:1px;
background-color:#eeeeec;
margin-bottom:1.2em;
}
/* ------------------ PARTAGE RESEAUX SOCIAUX ------------------- */
.share-buttons {
margin:15px;
}
.reagir {
text-align:right;
}
/* ------------------ PREVIEWS ------------------- */
.previews-section {
display: flex;
align-content: flex-start;
flex-wrap: wrap;
}
.preview-container {
margin-bottom:1em;
padding:0.4em;
width:100%
}
@media(max-width:767px){}
@media(min-width:768px){}
@media(min-width:992px){
.prev-col-2 .preview-container {
width:50%;
}
.prev-col-3 .preview-container {
width:33%;
}
.prev-col-4 .preview-container {
width:25%;
}
}
.card-preview {
width:100%;
margin:auto;
box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.3), inset 0px -2px 0px rgba(0, 0, 0, 0.2);
}
.preview-link:hover {
text-decoration:none!important;
}
.preview-item {
height:200px;
overflow:hidden;
font-size:0.9em;
line-height: 1.5em !important;
padding:0.2em;
text-align:justify;
background-color:rgba(0,0,0,0.05);
color:rgba(0,0,0,0.4);
position: relative;
display: flex;
-ms-flex-align: center !important;
align-items: center !important;
justify-content: center;
}
.preview-content {
max-height:200px;
}
.preview-content > p {
width:100%;
margin:auto;
}
.preview-content > p.p-img {
text-align:center;
margin:auto;
padding:auto;
display: block;
width:100%;
}
.preview-content > p > img {
max-width:100%;
height:auto;
vertical-align:middle;
margin:auto;
text-align:center;
}
.preview-item h1, .preview-item h2, .preview-item h3, .preview-item h4, .preview-item h5, .preview-item h6, .preview-item h7 {
margin-bottom:0px;
max-width:100%;
display:none;
}
.preview-item h1 {
display:none;
}
.preview-overlay {
height: 100%;
width: 100%;
opacity: 0;
top: 0;
left: 0;
position: absolute;
padding: 0;
transition: opacity .5s;
color: #FFF;
background-color: rgba(0,0,0,0.5);
text-shadow: 1px 1px 0px rgba(0,0,0,0.7);
backdrop-filter: none;
}
.preview-overlay h1 {
max-width:100%;
padding-top:0.3em;
margin:auto;
margin-bottom:0px;
text-align:center;
display:block;
font-size:2em;
color: white;
}
.preview-overlay h1,.preview-overlay h2,.preview-overlay h3,.preview-overlay h4,.preview-overlay h5,.preview-overlay h6,.preview-overlay h7,.preview-overlay h8,.preview-overlay h9,.preview-overlay h10 {
color:white;
text-shadow: 1px 1px 0px rgba(0,0,0,0.7);
}
.preview-item:hover .preview-overlay {
opacity: .9;
transition: opacity .5s;
backdrop-filter: blur(2px);
}
.comment-text {
margin-top:0.8em;
}
.card-preview time {
margin-bottom:0.4em;
display:block;
}