-
Notifications
You must be signed in to change notification settings - Fork 5
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 #274 from nwfsc-fram/styling
Styling of breadcrumbs and minor modifications to login, trips, and h…
- Loading branch information
Showing
7 changed files
with
188 additions
and
49 deletions.
There are no files selected for viewing
107 changes: 107 additions & 0 deletions
107
apps/obs-wcgop-optecs/src/assets/directional-buttons.css
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,107 @@ | ||
/* styling from https://codepen.io/dannydns/pen/JYoYEQ/ | ||
https://github.com/westonganger/bootstrap-directional-buttons */ | ||
.btn-arrow-right, | ||
.btn-arrow-left { | ||
position: relative; | ||
padding-left: 18px; | ||
padding-right: 18px; | ||
} | ||
|
||
.btn-arrow-right { | ||
padding-left: 36px; | ||
} | ||
|
||
.btn-arrow-left { | ||
padding-right: 36px; | ||
} | ||
|
||
/* There's a default setting, so overriding it */ | ||
.q-btn--standard:not(.disabled):before { | ||
top: 5px; | ||
left: -12px; | ||
} | ||
|
||
.btn-arrow-right:before, | ||
.btn-arrow-right:after, | ||
.btn-arrow-left:before, | ||
.btn-arrow-left:after { | ||
/* make two squares (before and after), looking similar to the button */ | ||
|
||
content: ""; | ||
position: absolute; | ||
top: 5px; | ||
/* move it down because of rounded corners */ | ||
|
||
width: 26px; | ||
/* same as height */ | ||
|
||
height: 26px; | ||
/* button_outer_height / sqrt(2) */ | ||
|
||
background: inherit; | ||
/* use parent background */ | ||
|
||
border: inherit; | ||
/* use parent border */ | ||
|
||
border-left-color: transparent; | ||
/* hide left border */ | ||
|
||
border-bottom-color: transparent; | ||
/* hide bottom border */ | ||
|
||
border-radius: 0px 4px 0px 0px; | ||
/* round arrow corner, the shorthand property doesn't accept "inherit" so it is set to 4px */ | ||
|
||
-webkit-border-radius: 0px 4px 0px 0px; | ||
-moz-border-radius: 0px 4px 0px 0px; | ||
} | ||
|
||
.btn-arrow-right:before, | ||
.btn-arrow-right:after { | ||
transform: rotate(45deg); | ||
/* rotate right arrow squares 45 deg to point right */ | ||
|
||
-webkit-transform: rotate(45deg); | ||
-moz-transform: rotate(45deg); | ||
-o-transform: rotate(45deg); | ||
-ms-transform: rotate(45deg); | ||
} | ||
|
||
.btn-arrow-left:before, | ||
.btn-arrow-left:after { | ||
transform: rotate(225deg); | ||
/* rotate left arrow squares 225 deg to point left */ | ||
|
||
-webkit-transform: rotate(225deg); | ||
-moz-transform: rotate(225deg); | ||
-o-transform: rotate(225deg); | ||
-ms-transform: rotate(225deg); | ||
} | ||
|
||
.btn-arrow-right:before, | ||
.btn-arrow-left:before { | ||
/* align the "before" square to the left */ | ||
left: -11px; | ||
} | ||
|
||
.btn-arrow-right:after, | ||
.btn-arrow-left:after { | ||
/* align the "after" square to the right */ | ||
|
||
right: -12px; | ||
} | ||
|
||
.btn-arrow-right:after, | ||
.btn-arrow-left:before { | ||
/* bring arrow pointers to front */ | ||
|
||
z-index: 1; | ||
} | ||
|
||
.btn-arrow-right:before, | ||
.btn-arrow-left:after { | ||
/* hide arrow tails background */ | ||
|
||
background-color: #027be3; | ||
} |
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