forked from lukevella/rallly
-
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.
Merge pull request #7 from verdigado/task/3_change-appearance
Customize Styling
- Loading branch information
Showing
7 changed files
with
227 additions
and
16 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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,185 @@ | ||
/* GENERIC STYLES */ | ||
body { | ||
color: #003221; | ||
background: #E5F3EB; | ||
} | ||
|
||
.bg-gray-200 { | ||
background: #E5F3EB; | ||
} | ||
|
||
button, | ||
a { | ||
transition: all .3s; | ||
} | ||
|
||
/* buttons */ | ||
button.bg-primary, | ||
button.bg-gray-50:not(.rounded-none), | ||
a.bg-primary { | ||
border-radius: 2rem !important; | ||
padding-left: 1.5rem !important; | ||
padding-right: 1.5rem !important; | ||
} | ||
|
||
button:focus, | ||
button:active, | ||
a.bg-primary:focus, | ||
a.bg-primary:active, | ||
input:focus-visible { | ||
box-shadow: 0 0 1px 2px #0BA1DD !important; | ||
} | ||
|
||
button.bg-primary, | ||
a.bg-primary { | ||
color: white; | ||
} | ||
|
||
button.bg-primary svg, | ||
a.bg-primary svg { | ||
fill: white; | ||
stroke: white; | ||
} | ||
|
||
button.bg-primary:hover, | ||
button.bg-primary:focus, | ||
button.bg-primary:active, | ||
a.bg-primary:hover, | ||
a.bg-primary:focus, | ||
a.bg-primary:active { | ||
border-color: #FFF17A; | ||
background-color: #FFF17A; | ||
color: #002216; | ||
} | ||
|
||
button.bg-primary:hover svg, | ||
button.bg-primary:focus svg, | ||
button.bg-primary:active svg, | ||
a.bg-primary:hover svg, | ||
a.bg-primary:focus svg, | ||
a.bg-primary:active svg { | ||
fill: #002216; | ||
stroke: #002216; | ||
} | ||
|
||
button.bg-gray-50:not(.rounded-none) { | ||
background: none; | ||
border-color: #005437; | ||
color: #005437; | ||
} | ||
|
||
button.bg-gray-50 svg { | ||
fill: #005437; | ||
stroke: #005437; | ||
} | ||
|
||
button.bg-gray-50:not(.rounded-none):hover, | ||
button.bg-gray-50:not(.rounded-none):focus, | ||
button.bg-gray-50:not(.rounded-none):active{ | ||
background-color: #005437; | ||
color: white !important; | ||
} | ||
|
||
button.bg-gray-50:hover svg, | ||
button.bg-gray-50:focus svg, | ||
button.bg-gray-50:active svg { | ||
fill: white; | ||
stroke: white; | ||
} | ||
|
||
/* links */ | ||
.text-link { | ||
color: #005437; | ||
} | ||
|
||
/* alert */ | ||
.termite-alert .lucide-info { | ||
color: #005437; | ||
} | ||
|
||
/* LOGIN PAGE */ | ||
|
||
/* login page body */ | ||
body:has(.mx-auto.max-w-lg) { | ||
background: #008939; | ||
} | ||
|
||
/* login page card */ | ||
.mx-auto.max-w-lg .rounded-lg .bg-pattern { | ||
display: none; | ||
} | ||
|
||
/* login page footer */ | ||
.rounded-lg + .text-center, | ||
.rounded-lg + .text-center .text-link { | ||
color: white; | ||
} | ||
|
||
.rounded-lg + .text-center .text-link:hover, | ||
.rounded-lg + .text-center .text-link:focus { | ||
color: #FFF17A; | ||
} | ||
|
||
/* DASHBOARD */ | ||
|
||
/* sidebar */ | ||
.w-72 { | ||
background: white; | ||
box-shadow: 5px 5px 8px rgba(32, 29, 27, 0.1) | ||
} | ||
|
||
.hover\:bg-gray-200 { | ||
color: #003221; | ||
} | ||
|
||
.hover\:bg-gray-200:hover, | ||
.hover\:bg-gray-200:focus, | ||
.hover\:bg-gray-200:active { | ||
background-color: #E5F3EB; | ||
} | ||
|
||
/* main */ | ||
.w-72 + .grow a.bg-gray-50 { | ||
border-radius: 2rem; | ||
padding-left: 1.5rem; | ||
padding-right: 1.5rem; | ||
background: none; | ||
border-color: #005437; | ||
color: #005437; | ||
} | ||
|
||
.w-72 + .grow a.bg-gray-50:hover, | ||
.w-72 + .grow a.bg-gray-50:focus, | ||
.w-72 + .grow a.bg-gray-50:active { | ||
background-color: #005437; | ||
color: white; | ||
} | ||
|
||
.w-72 + .grow a.bg-gray-50:hover svg, | ||
.w-72 + .grow a.bg-gray-50:focus svg, | ||
.w-72 + .grow a.bg-gray-50:active svg { | ||
fill: white; | ||
stroke: white; | ||
} | ||
|
||
.w-72 + .grow a.bg-gray-50:focus, | ||
.w-72 + .grow a.bg-gray-50:active { | ||
box-shadow: 0 0 1px 2px #0BA1DD; | ||
} | ||
|
||
/* navbar */ | ||
body > div > div.sticky { | ||
background-color: #005437; | ||
color: white; | ||
} | ||
|
||
body > div > div.sticky button { | ||
background: none !important; | ||
box-shadow: none !important; | ||
color: white !important; | ||
} | ||
|
||
body > div > div.sticky svg { | ||
fill: white !important; | ||
stroke: white !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