forked from evt-project/evt-viewer
-
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.
Merge pull request evt-project#97 from evt-project/feature/selectors-…
…buttons-style Feature/selectors buttons style
- Loading branch information
Showing
19 changed files
with
240 additions
and
72 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
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,3 +1,21 @@ | ||
@import "../../../assets/scss/themes"; | ||
@import "../../../assets/scss/mixins"; | ||
|
||
.evt-pinner { | ||
float: right; | ||
} | ||
} | ||
::ng-deep .evt-pinner { | ||
.btn { | ||
opacity: 0.4; | ||
&:hover { | ||
@include set("box-shadow", "none !important"); | ||
opacity: .9 !important; | ||
} | ||
&.active { | ||
opacity: 1; | ||
@include themify($themes) { | ||
color: themed("toolsColor") !important; | ||
} | ||
} | ||
} | ||
} |
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,30 +1,75 @@ | ||
@import '../../../assets/scss/themes'; | ||
@import "../../../assets/scss/themes"; | ||
@import "../../../assets/scss/mixins"; | ||
|
||
.btn { | ||
&.transparent{ | ||
&:hover { | ||
// background: rgba(0, 0, 0, .1); | ||
opacity: .7; | ||
outline: none; | ||
border: none; | ||
|
||
&.btn-sm { | ||
height: 31px; | ||
} | ||
|
||
&:focus { | ||
box-shadow: none; | ||
} | ||
|
||
@include themify($themes) { | ||
color: themed("toolsColor"); | ||
background-color: themed("toolsBackground"); | ||
border-color: themed("toolsBackground"); | ||
} | ||
|
||
&:hover { | ||
@include set("box-shadow", "1px 2px 3px rgba(0, 0, 0, .4) inset !important"); | ||
} | ||
|
||
&.active { | ||
@include themify($themes) { | ||
background: themed("toolsColorActive"); | ||
} | ||
} | ||
|
||
&.transparent { | ||
background: none !important; | ||
border-color: transparent !important; | ||
|
||
&.active { | ||
@include themify($themes) { // TEMP | ||
color: themed('baseColorLight'); | ||
background-color: themed('baseColorDark'); | ||
border-color: themed('baseColorDark'); | ||
@include themify($themes) { | ||
color: themed("toolsColorActive"); | ||
} | ||
} | ||
} | ||
|
||
&.btn-inverted { | ||
background: transparent; | ||
border: none; | ||
box-shadow: none; | ||
|
||
@include themify($themes) { | ||
color: themed('baseColorLight'); | ||
color: themed("toolsBackground"); | ||
background-color: themed("toolsColor"); | ||
border-color: themed("toolsColor"); | ||
|
||
&:hover, | ||
&.btn-hovered { | ||
background: rgba(themed('baseColorLight'), .2); | ||
background: rgba(themed("toolsBackground"), 0.2); | ||
} | ||
} | ||
} | ||
} | ||
|
||
&.btn-floating { | ||
@include set("box-shadow", "0 2px 4px rgba(0, 0, 0, .4) !important"); | ||
@include themify($themes) { | ||
color: themed("toolsBackground"); | ||
background-color: themed("toolsColor"); | ||
border-color: themed("toolsColor"); | ||
} | ||
&:hover { | ||
@include set("box-shadow", "none !important"); | ||
} | ||
&.rounded-circle { | ||
height: 40px; | ||
width: 40px; | ||
} | ||
} | ||
} |
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
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
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
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
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.