Skip to content

Commit

Permalink
assests/scss: cleanup buttons & nav (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Sep 21, 2021
1 parent b433687 commit 1acbc0d
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 54 deletions.
12 changes: 0 additions & 12 deletions assets/scss/_buttons.scss

This file was deleted.

43 changes: 1 addition & 42 deletions assets/scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
opacity: inherit;
}

.navbar-announcement-onscroll {
position: absolute !important;
}

.td-navbar {
background: $primary;
min-height: 4rem;
Expand Down Expand Up @@ -99,41 +95,4 @@
}
}
}
}

.navbar-position-absolute {
position: absolute !important;
}

// Icons
#main_navbar {
li i {
padding-right: 0.5em;

&:before {
display: inline-block;
text-align: center;
min-width: 1em;
}
}
.alert {
background-color: inherit;
padding:0;
color: $secondary;
border: 0;
font-weight: inherit;

&:before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f0d9";
padding-left: 0.5em;
padding-right: 0.5em;
}
}
}
}
38 changes: 38 additions & 0 deletions assets/scss/_styles_project.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* docsy-delta full file override: we're not tracking changes to the docsy file of the same name. */

.navbar-position-absolute {
position: absolute !important;
}

// Icons
#main_navbar {
li i {
padding-right: 0.5em;

&:before {
display: inline-block;
text-align: center;
min-width: 1em;
}
}
.alert {
background-color: inherit;
padding:0;
color: $secondary;
border: 0;
font-weight: inherit;

&:before {
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
font-family: "Font Awesome 5 Free";
font-weight: 900;
content: "\f0d9";
padding-left: 0.5em;
padding-right: 0.5em;
}
}
}

0 comments on commit 1acbc0d

Please sign in to comment.