-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for selected tab, see #26
- Loading branch information
Showing
4 changed files
with
135 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,94 @@ | ||
@import "../common.css"; | ||
|
||
:root { | ||
--side-nav-width: 290px; | ||
|
||
--light-eggplant: #f4f2f9; | ||
--gray: #6c6c6c; | ||
--gray-light: #e0e0e0; | ||
--pink: #e01e5a; | ||
|
||
--short-transition: 0.3s ease; | ||
} | ||
|
||
#index-page { | ||
text-align: center; | ||
} | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
#side-nav { | ||
width: var(--side-nav-width); | ||
height: 100%; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
background: var(--light-eggplant); | ||
border-right: 1px solid var(--gray-light); | ||
} | ||
|
||
.title-container { | ||
margin: 14px 10px; | ||
padding-bottom: 4px; | ||
overflow: auto; | ||
border-bottom: 1px solid #dcdcdc; | ||
} | ||
|
||
img.title-image { | ||
width: 120px; | ||
display: inline-block; | ||
float: left; | ||
} | ||
|
||
h1.title-text { | ||
display: inline-block; | ||
font-family: var(--default-font-family); | ||
font-weight: 100; | ||
font-size: 48px; | ||
margin: 2px 0 0 8px; | ||
float: left; | ||
} | ||
|
||
.nav-buttons { | ||
margin-top: 20px; | ||
} | ||
|
||
button.nav-button { | ||
width: 283px; | ||
display: block; | ||
background: transparent; | ||
cursor: pointer; | ||
text-align: left; | ||
font-family: var(--default-font-family); | ||
font-size: 17px; | ||
font-weight: 300; | ||
padding: 7px 7px 6px; | ||
margin: 0 8px; | ||
border: 1px solid transparent; | ||
color: var(--gray); | ||
transition: var(--short-transition); | ||
} | ||
|
||
button.nav-button:hover { | ||
color: var(--pink); | ||
transition: var(--short-transition); | ||
} | ||
|
||
button.nav-button:focus { | ||
color: var(--pink); | ||
transition: var(--short-transition); | ||
outline: none; | ||
} | ||
|
||
button.nav-button.selected { | ||
background: white; | ||
border-color: var(--gray-light); | ||
border-right: none; | ||
} | ||
|
||
#selected-page { | ||
width: calc(100% - var(--side-nav-width)); | ||
height: 100%; | ||
position: absolute; | ||
left: var(--side-nav-width); | ||
top: 0; | ||
} |
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