Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
news
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sartika Aritonang
news
Commits
f55bd9d9
Commit
f55bd9d9
authored
4 years ago
by
Sartika Aritonang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
3cd5d7bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
100 additions
and
0 deletions
+100
-0
_navbar.scss
project/static/result_design/scss/_navbar.scss
+100
-0
No files found.
project/static/result_design/scss/_navbar.scss
0 → 100644
View file @
f55bd9d9
// Styling for the navbar
#mainNav
{
position
:
absolute
;
border-bottom
:
1px
solid
$gray-200
;
background-color
:
white
;
@include
sans-serif-font
;
.navbar-brand
{
font-weight
:
800
;
color
:
$gray-800
;
}
.navbar-toggler
{
font-size
:
12px
;
font-weight
:
800
;
padding
:
13px
;
text-transform
:
uppercase
;
color
:
$gray-800
;
}
.navbar-nav
{
>
li
.nav-item
{
>
a
{
font-size
:
12px
;
font-weight
:
800
;
letter-spacing
:
1px
;
text-transform
:
uppercase
;
}
}
}
@media
only
screen
and
(
min-width
:
992px
)
{
border-bottom
:
1px
solid
transparent
;
background
:
transparent
;
.navbar-brand
{
padding
:
10px
20px
;
color
:
$white
;
&
:focus
,
&
:hover
{
color
:
fade-out
(
$white
,
.2
);
}
}
.navbar-nav
{
>
li
.nav-item
{
>
a
{
padding
:
10px
20px
;
color
:
$white
;
&
:focus
,
&
:hover
{
color
:
fade-out
(
$white
,
.2
);
}
}
}
}
}
@media
only
screen
and
(
min-width
:
992px
)
{
-webkit-transition
:
background-color
0
.2s
;
-moz-transition
:
background-color
0
.2s
;
transition
:
background-color
0
.2s
;
/* Force Hardware Acceleration in WebKit */
-webkit-transform
:
translate3d
(
0
,
0
,
0
);
-moz-transform
:
translate3d
(
0
,
0
,
0
);
-ms-transform
:
translate3d
(
0
,
0
,
0
);
-o-transform
:
translate3d
(
0
,
0
,
0
);
transform
:
translate3d
(
0
,
0
,
0
);
-webkit-backface-visibility
:
hidden
;
&
.is-fixed
{
/* when the user scrolls down, we hide the header right above the viewport */
position
:
fixed
;
top
:
-67px
;
-webkit-transition
:
-
webkit-transform
0
.2s
;
-moz-transition
:
-
moz-transform
0
.2s
;
transition
:
transform
0
.2s
;
border-bottom
:
1px
solid
darken
(
$white
,
.05
);
background-color
:
fade-out
(
$white
,
.1
);
.navbar-brand
{
color
:
$gray-900
;
&
:focus
,
&
:hover
{
color
:
$primary
;
}
}
.navbar-nav
{
>
li
.nav-item
{
>
a
{
color
:
$gray-900
;
&
:focus
,
&
:hover
{
color
:
$primary
;
}
}
}
}
}
&
.is-visible
{
/* if the user changes the scrolling direction, we show the header */
-webkit-transform
:
translate3d
(
0
,
100%
,
0
);
-moz-transform
:
translate3d
(
0
,
100%
,
0
);
-ms-transform
:
translate3d
(
0
,
100%
,
0
);
-o-transform
:
translate3d
(
0
,
100%
,
0
);
transform
:
translate3d
(
0
,
100%
,
0
);
}
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment