forked from katiaOutayeb/Application-avec-HAL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
=
committed
May 26, 2019
1 parent
2a8edc8
commit 250e23c
Showing
23 changed files
with
1,177 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.btn-circle { | ||
border-radius: 100%; | ||
height: 2.5rem; | ||
width: 2.5rem; | ||
font-size: 1rem; | ||
display: inline-flex; | ||
align-items: center; | ||
justify-content: center; | ||
&.btn-sm { | ||
height: 1.8rem; | ||
width: 1.8rem; | ||
font-size: 0.75rem; | ||
} | ||
&.btn-lg { | ||
height: 3.5rem; | ||
width: 3.5rem; | ||
font-size: 1.35rem; | ||
} | ||
} | ||
|
||
.btn-icon-split { | ||
padding: 0; | ||
overflow: hidden; | ||
display: inline-flex; | ||
align-items: stretch; | ||
justify-content: center; | ||
.icon { | ||
background: fade-out($black, .85); | ||
display: inline-block; | ||
padding: $btn-padding-y $btn-padding-x; | ||
} | ||
.text { | ||
display: inline-block; | ||
padding: $btn-padding-y $btn-padding-x; | ||
} | ||
&.btn-sm { | ||
.icon { | ||
padding: $btn-padding-y-sm $btn-padding-x-sm; | ||
} | ||
.text { | ||
padding: $btn-padding-y-sm $btn-padding-x-sm; | ||
} | ||
} | ||
&.btn-lg { | ||
.icon { | ||
padding: $btn-padding-y-lg $btn-padding-x-lg; | ||
} | ||
.text { | ||
padding: $btn-padding-y-lg $btn-padding-x-lg; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Custom Card Styling | ||
|
||
.card { | ||
.card-header { | ||
// Format Dropdowns in Card Headings | ||
.dropdown { | ||
line-height: 1; | ||
.dropdown-menu { | ||
line-height: 1.5; | ||
} | ||
} | ||
} | ||
// Collapsable Card Styling | ||
.card-header[data-toggle="collapse"] { | ||
text-decoration: none; | ||
position: relative; | ||
padding: 0.75rem 3.25rem 0.75rem 1.25rem; | ||
&::after { | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
padding-right: 1.725rem; | ||
line-height: 51px; | ||
font-weight: 900; | ||
content: '\f107'; | ||
font-family: 'Font Awesome 5 Free'; | ||
color: $gray-400; | ||
} | ||
&.collapsed { | ||
border-radius: $card-border-radius; | ||
&::after { | ||
content: '\f105'; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Area Chart | ||
.chart-area { | ||
position: relative; | ||
height: 10rem; | ||
width: 100%; | ||
@include media-breakpoint-up(md) { | ||
height: 20rem; | ||
} | ||
} | ||
|
||
// Bar Chart | ||
.chart-bar { | ||
position: relative; | ||
height: 10rem; | ||
width: 100%; | ||
@include media-breakpoint-up(md) { | ||
height: 20rem; | ||
} | ||
} | ||
|
||
// Pie Chart | ||
.chart-pie { | ||
position: relative; | ||
height: 15rem; | ||
width: 100%; | ||
@include media-breakpoint-up(md) { | ||
height: calc(20rem - 43px) !important; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// Custom Dropdown Styling | ||
|
||
.dropdown { | ||
.dropdown-menu { | ||
font-size: $dropdown-font-size; | ||
.dropdown-header { | ||
@extend .text-uppercase; | ||
font-weight: 800; | ||
font-size: 0.65rem; | ||
color: $gray-500; | ||
} | ||
} | ||
} | ||
|
||
// Utility class to hide arrow from dropdown | ||
|
||
.dropdown.no-arrow { | ||
.dropdown-toggle::after { | ||
display: none; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Lucas Bebber's Glitch Effect | ||
// Tutorial and CSS from CSS Tricks | ||
// https://css-tricks.com/glitch-effect-text-images-svg/ | ||
|
||
.error { | ||
color: $gray-800; | ||
font-size: 7rem; | ||
position: relative; | ||
line-height: 1; | ||
width: 12.5rem; | ||
} | ||
@keyframes noise-anim { | ||
$steps: 20; | ||
@for $i from 0 through $steps { | ||
#{percentage($i*(1/$steps))} { | ||
clip: rect(random(100)+px,9999px,random(100)+px,0); | ||
} | ||
} | ||
} | ||
.error:after { | ||
content: attr(data-text); | ||
position: absolute; | ||
left: 2px; | ||
text-shadow: -1px 0 $red; | ||
top: 0; | ||
color: $gray-800; | ||
background: $gray-100; | ||
overflow: hidden; | ||
clip: rect(0,900px,0,0); | ||
animation: noise-anim 2s infinite linear alternate-reverse; | ||
} | ||
|
||
@keyframes noise-anim-2 { | ||
$steps: 20; | ||
@for $i from 0 through $steps { | ||
#{percentage($i*(1/$steps))} { | ||
clip: rect(random(100)+px,9999px,random(100)+px,0); | ||
} | ||
} | ||
} | ||
.error:before { | ||
content: attr(data-text); | ||
position: absolute; | ||
left: -2px; | ||
text-shadow: 1px 0 $blue; | ||
top: 0; | ||
color: $gray-800; | ||
background: $gray-100; | ||
overflow: hidden; | ||
clip: rect(0,900px,0,0); | ||
animation: noise-anim-2 3s infinite linear alternate-reverse; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
footer.sticky-footer { | ||
padding: 2rem 0; | ||
flex-shrink: 0; | ||
.copyright { | ||
line-height: 1; | ||
font-size: 0.8rem; | ||
} | ||
} | ||
|
||
body.sidebar-toggled { | ||
footer.sticky-footer { | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// Global component styles | ||
|
||
html { | ||
position: relative; | ||
min-height: 100%; | ||
} | ||
|
||
body { | ||
height: 100%; | ||
} | ||
|
||
a { | ||
&:focus { | ||
outline: none; | ||
} | ||
} | ||
|
||
// Main page wrapper | ||
#wrapper { | ||
display: flex; | ||
#content-wrapper { | ||
background-color: $gray-100; | ||
width: 100%; | ||
overflow-x: hidden; | ||
#content { | ||
flex: 1 0 auto; | ||
} | ||
} | ||
} | ||
|
||
// Set container padding to match gutter width instead of default 15px | ||
.container, | ||
.container-fluid { | ||
padding-left: $grid-gutter-width; | ||
padding-right: $grid-gutter-width; | ||
} | ||
|
||
// Scroll to top button | ||
.scroll-to-top { | ||
position: fixed; | ||
right: 1rem; | ||
bottom: 1rem; | ||
display: none; | ||
width: 2.75rem; | ||
height: 2.75rem; | ||
text-align: center; | ||
color: $white; | ||
background: fade-out($gray-800, .5); | ||
line-height: 46px; | ||
&:focus, | ||
&:hover { | ||
color: white; | ||
} | ||
&:hover { | ||
background: $gray-800; | ||
} | ||
i { | ||
font-weight: 800; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// Pulling these images from Unsplash | ||
// Toshi the dog from https://unsplash.com/@charlesdeluvio - what a funny dog... | ||
|
||
.bg-login-image { | ||
background: url('https://source.unsplash.com/K4mSJ7kc0As/600x800'); | ||
background-position: center; | ||
background-size: cover; | ||
} | ||
|
||
.bg-register-image { | ||
background: url('https://source.unsplash.com/Mv9hjnEUHR4/600x800'); | ||
background-position: center; | ||
background-size: cover; | ||
} | ||
|
||
.bg-password-image { | ||
background: url('https://source.unsplash.com/oWTW-jNGl9I/600x800'); | ||
background-position: center; | ||
background-size: cover; | ||
} | ||
|
||
form.user { | ||
|
||
.custom-checkbox.small { | ||
label { | ||
line-height: 1.5rem; | ||
} | ||
} | ||
|
||
.form-control-user { | ||
font-size: 0.8rem; | ||
border-radius: 10rem; | ||
padding: 1.5rem 1rem; | ||
} | ||
|
||
.btn-user { | ||
font-size: 0.8rem; | ||
border-radius: 10rem; | ||
padding: 0.75rem 1rem; | ||
} | ||
|
||
} | ||
|
||
.btn-google { | ||
@include button-variant($brand-google, $white); | ||
} | ||
|
||
.btn-facebook { | ||
@include button-variant($brand-facebook, $white); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@import "navs/global.scss"; | ||
@import "navs/topbar.scss"; | ||
@import "navs/sidebar.scss"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import "utilities/animation.scss"; | ||
@import "utilities/background.scss"; | ||
@import "utilities/display.scss"; | ||
@import "utilities/text.scss"; | ||
@import "utilities/border.scss"; | ||
@import "utilities/progress.scss"; | ||
@import "utilities/rotate.scss"; |
Oops, something went wrong.