-
Notifications
You must be signed in to change notification settings - Fork 17
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 #207 from job13er/add-some-styles
Add some missing styles
- Loading branch information
Showing
14 changed files
with
367 additions
and
260 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
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,72 @@ | ||
// | ||
// Mixins used for ember-frost-navigation styles | ||
// | ||
|
||
@mixin category-styles { | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
padding: 10px 20px; | ||
transition: background .5s ease; | ||
border-right: 1px solid $frost-color-nav-category-border-right; | ||
cursor: pointer; | ||
user-select: none; | ||
|
||
.nav-category-icon { | ||
.frost-icon { | ||
width: 30px; | ||
height: 30px; | ||
margin-right: 10px; | ||
} | ||
} | ||
|
||
.nav-category-name { | ||
transition: color .5s ease; | ||
color: $frost-color-grey-6; | ||
font-size: 18px; | ||
font-weight: 300; | ||
} | ||
|
||
&:hover { | ||
.nav-category-name { | ||
color: $frost-color-white; | ||
} | ||
} | ||
|
||
&.active { | ||
background: $frost-color-nav-category-active-bg; | ||
|
||
.nav-category-name { | ||
color: $frost-color-white; | ||
} | ||
} | ||
|
||
&.disabled { | ||
color: $frost-color-grey-5; | ||
} | ||
} | ||
|
||
@mixin tertiary-button-color ($color) { | ||
.frost-button { | ||
&.tertiary { | ||
color: $color; | ||
} | ||
} | ||
} | ||
|
||
@mixin do-not-expand-links { | ||
.frost-link { | ||
.content { | ||
min-width: inherit; | ||
} | ||
} | ||
} | ||
|
||
// In some instances, the <a> tag gets a color that we don't want, | ||
// based on browser default styles, so we want to make sure the color | ||
// of the link, and by extension the color on the frost-icon is inherited (ARM 2017-04-03) | ||
@mixin keep-link-icon-colors-inherited { | ||
.frost-link { | ||
color: inherit; | ||
} | ||
} |
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,22 @@ | ||
// | ||
// Variables used by | ||
// | ||
|
||
$frost-color-nav-bar-bg: $frost-color-night-2 !default; | ||
$frost-color-nav-border-left: rgba($frost-color-white, .2) !default; | ||
$frost-color-nav-category-border-right: rgba($frost-color-white, .2) !default; | ||
|
||
// TODO: should this be a variable in ember-frost-core? (ARM 2017-04-03) | ||
$frost-color-nav-category-active-bg: rgba(39, 36, 37, .5) !default; | ||
$frost-color-nav-column-border: rgba($frost-color-white, .3) !default; | ||
|
||
// TODO: should this be a variable in ember-frost-core? (ARM 2017-04-03) | ||
$frost-color-nav-modal-bg: rgba(51, 66, 79, .97) !default; | ||
$frost-color-nav-route-focus-bg: rgba(0, 0, 0, .2) !default; | ||
$frost-color-nav-route-active-bg: rgba($frost-color-nav-route-focus-bg, .05) !default; | ||
$frost-color-nav-route-focus-box-shadow: #fff !default; | ||
|
||
$frost-navigation-bar-height: 50px !default; | ||
$z-index-application-bar: 3 !default; | ||
$z-index-modal: 2 !default; | ||
$z-index-modal-hidden: -1 !default; |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.