File tree Expand file tree Collapse file tree 4 files changed +100
-5
lines changed
src/helix-ui/styles/components Expand file tree Collapse file tree 4 files changed +100
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Bug Report
3+ about : Create a report to help us improve
4+
5+ ---
6+
7+ ## Describe the Bug
8+ A clear and concise description of what the bug is.
9+
10+ ## Steps to Reproduce
11+ Steps to reproduce the behavior:
12+
13+ 1 . Go to '...'
14+ 2 . Click on '...'
15+ 3 . Scroll down to '...'
16+ 4 . ...
17+ 5 . Dogs and cats living together!
18+
19+ ## Expected behavior
20+ A clear and concise description of what you expected to happen.
21+
22+ ## Screenshots
23+ If applicable, add screenshots to help explain your problem.
24+
25+ ## Environment
26+ Please complete the following information:
27+
28+ - Device: [ e.g. Desktop, Laptop, iPhone6, etc.]
29+ - OS: [ e.g. iOS]
30+ - Browser: [ e.g. chrome, safari]
31+ - Version: [ e.g. 22]
32+
33+ ## Additional Context
34+ Add any other context about the problem here.
Original file line number Diff line number Diff line change 1- <nav class =" global-nav" >
2- <a class =" brand-logo" href =" " >
3- <img src =" images/helix-logo.svg" alt =" Logo" />
4- </a >
5- </nav >
1+ <div id =" app-header" >
2+ <nav >
3+ <a class =" brand-logo" href =" " >
4+ <img src =" images/helix-logo.svg" alt =" Logo" />
5+ </a >
6+ </nav >
7+ <div >
8+ <a
9+ class =" hxBtn beta-hxDark"
10+ target =" _blank"
11+ href =" https://github.com/rackerlabs/helix-ui/issues/new?template=bug-report.md&labels=Bug:+Unconfirmed"
12+ >
13+ Report Bug
14+ </a >
15+ </div >
16+ </div >
Original file line number Diff line number Diff line change 1313 background-image : linear-gradient (0deg , @cyan-100, @gray-0 20% );
1414}
1515
16+ #app-header {
17+ display : flex ;
18+ padding-right : 1rem ;
19+
20+ > * {
21+ display : flex ;
22+ align-items : center ;
23+ align-content : center ;
24+ flex-grow : 1 ;
25+
26+ & :first-child { // brand logo
27+ flex : 0 0 @app-nav-width ;
28+ }
29+
30+ & :last-child {
31+ justify-content : flex-end ;
32+ }
33+ }
34+ }
35+
1636.brand-logo {
1737 align-items : center ;
1838 display : flex ;
1939 height : 3.5rem ;
2040 justify-content : center ;
2141 width : @app-nav-width ;
2242
43+ & :focus {
44+ box-shadow : none ;
45+ outline : none ;
46+
47+ img {
48+ outline : 1px dotted @cyan-100 ;
49+ outline-offset : 0.25rem ;
50+ }
51+ }
52+
2353 img {
2454 height : 2rem ;
2555 }
Original file line number Diff line number Diff line change @@ -161,6 +161,26 @@ a[href].hxBtn {
161161 }
162162}// .hxBtnGroup
163163
164+
165+ // DARK BUTTONS (BETA)
166+ .hxBtn.beta-hxDark ,
167+ a [href].hxBtn.beta-hxDark {
168+ border-color : @cyan-500 ;
169+ color : @cyan-500 ;
170+
171+ & :hover {
172+ & :extend(.hxBtn :hover );
173+ color : @gray-0 ;
174+ }
175+ & :active {
176+ & :extend(.hxBtn :active );
177+ }
178+ & :focus {
179+ & :extend(.hxBtn :focus );
180+ box-shadow : 0 0 4px 2px fade (@cyan-500 , 60% );
181+ }
182+ }
183+
164184// ========== TODO ==========
165185// encapsulate these styles in an <hx-button> element
166186.hxBtn {
You can’t perform that action at this time.
0 commit comments