-
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
1 parent
919e83f
commit 8e8fc54
Showing
4 changed files
with
106 additions
and
137 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 |
---|---|---|
@@ -1,139 +1,114 @@ | ||
[class*="kompass-admin-"] { | ||
overflow-y: scroll; | ||
.test { | ||
background-color: antiquewhite; | ||
} | ||
main { | ||
@apply grid transition-all ease-in-out duration-300; | ||
grid-template-columns: 15rem 1fr; | ||
grid-template-rows: 4rem 1fr 4rem; | ||
grid-template-areas: "sidenav header" "sidenav main-content" "sidenav footer"; | ||
} | ||
|
||
overflow-y: scroll; | ||
.test{background-color: antiquewhite;} | ||
main { | ||
@apply transition-all ease-in-out duration-300 ; | ||
display: grid; | ||
grid-template-columns: 15rem 1fr; | ||
grid-template-rows: 4rem 1fr 4rem; | ||
grid-template-areas: "sidenav header""sidenav main-content""sidenav footer"; | ||
} | ||
header { | ||
grid-area: header; | ||
border-bottom: 0.1rem solid #e9ecef; | ||
} | ||
|
||
header { | ||
grid-area: header; | ||
border-bottom: .1rem solid #e9ecef; | ||
} | ||
footer { | ||
grid-area: footer; | ||
border-top: 0.1rem solid #e9ecef; | ||
} | ||
|
||
footer { | ||
grid-area: footer; | ||
border-top: .1rem solid #e9ecef; | ||
} | ||
.main-content { | ||
grid-area: main-content; | ||
@apply bg-gray-50 px-6 relative; | ||
} | ||
|
||
.main-content { | ||
grid-area: main-content; | ||
@apply bg-gray-50 px-6 relative; | ||
} | ||
|
||
header, | ||
footer { | ||
@apply z-30; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
padding: 0 1.5rem; | ||
background-color: #f8f9fa; | ||
} | ||
header, | ||
footer { | ||
@apply flex items-center justify-between px-6 z-30; | ||
} | ||
|
||
.main-content, | ||
header, | ||
footer { | ||
@apply bg-gray-50; | ||
} | ||
|
||
.sidenav { | ||
@apply block transition-all ease-in-out duration-500; | ||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
width: 15rem; | ||
height: 100%; | ||
border-right: 0.1rem solid #e9ecef; | ||
overflow-y: auto; | ||
|
||
.logo { | ||
padding: 1rem 1.6rem; | ||
.favicon-logo { | ||
display: none; | ||
} | ||
} | ||
} | ||
.sidenav a { | ||
display: flex; | ||
padding: 0.35rem 1.5rem; | ||
align-items: center; | ||
@apply text-sm gap-2; | ||
font-weight: 600; | ||
position: relative; | ||
|
||
.sidenav { | ||
@apply transition-all ease-in-out duration-500 ; | ||
display: block; | ||
position: fixed; | ||
top: 0; | ||
bottom: 0; | ||
width: 15rem; | ||
height: 100%; | ||
border-right: .1rem solid #e9ecef; | ||
overflow-y: auto; | ||
&.active { | ||
svg { | ||
@apply stroke-brand-500; | ||
} | ||
|
||
|
||
font-weight: 700; | ||
@apply bg-gradient-to-r from-gray-50 to-gray-100 text-gray-500; | ||
|
||
|
||
.logo { | ||
padding: 1rem 1.6rem; | ||
.favicon-logo{ | ||
display: none; | ||
} | ||
} | ||
&::after { | ||
content: ""; | ||
position: absolute; | ||
height: 100%; | ||
width: 0.3rem; | ||
left: 0; | ||
@apply bg-brand-500; | ||
} | ||
} | ||
.sidenav a{ | ||
display: flex; | ||
padding: 0.35rem 1.5rem; | ||
align-items: center; | ||
@apply text-sm gap-2; | ||
font-weight: 600; | ||
position: relative; | ||
|
||
&.active { | ||
svg { | ||
@apply stroke-brand-500; | ||
} | ||
|
||
font-weight: 700; | ||
@apply bg-gradient-to-r from-gray-50 to-gray-100 text-gray-500; | ||
|
||
&::after { | ||
content: ''; | ||
position: absolute; | ||
height: 100%; | ||
width: 0.3rem; | ||
left: 0; | ||
@apply bg-brand-500; | ||
|
||
} | ||
} | ||
} | ||
nav.setting a{ | ||
display: flex; | ||
align-items: center; | ||
@apply text-sm py-1; | ||
font-weight: 600; | ||
position: relative; | ||
} | ||
|
||
/* // .sidenav { | ||
// grid-area: sidenav; | ||
// background-color: #394263; | ||
// display: flex; | ||
// flex-direction: column; | ||
// height: 100%; | ||
// width: 240px; | ||
// position: fixed; | ||
// overflow-y: auto; | ||
// box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.08); | ||
// z-index: 2; /* Needs to sit above the hamburger menu icon | ||
// transform: translateX(-245px); | ||
// transition: all 0.6s ease-in-out; | ||
// } */ | ||
} | ||
nav.setting a { | ||
display: flex; | ||
align-items: center; | ||
@apply text-sm py-1; | ||
font-weight: 600; | ||
position: relative; | ||
} | ||
} | ||
.sideclose{ | ||
@apply transition-all ease-in-out duration-500 ; | ||
grid-template-columns: 4.6rem 1fr !important; | ||
.logo{ | ||
padding: .5rem !important; | ||
} | ||
.big-logo{ | ||
display: none; | ||
} | ||
.favicon-logo{ | ||
display: block !important; | ||
} | ||
.sidenav{ | ||
|
||
width: 4.6rem; | ||
a span{ | ||
display: none; | ||
} | ||
.sideclose { | ||
@apply transition-all ease-in-out duration-500; | ||
grid-template-columns: 4.6rem 1fr !important; | ||
.logo { | ||
padding: 0.5rem !important; | ||
} | ||
.big-logo { | ||
display: none; | ||
} | ||
.favicon-logo { | ||
display: block !important; | ||
} | ||
.sidenav { | ||
width: 4.6rem; | ||
a span { | ||
display: none; | ||
} | ||
.sidebarbutton{ | ||
@apply text-orange-400 rotate-180; | ||
} | ||
ul div{ | ||
|
||
text-indent: -9999px; | ||
} | ||
|
||
} | ||
} | ||
.sidebarbutton { | ||
@apply text-orange-400 rotate-180; | ||
} | ||
ul div { | ||
text-indent: -9999px; | ||
} | ||
} |
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