-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
full screen mode implementation for dashboard #12265
Changes from all commits
9b3fce8
12de029
48d5ff1
07774f5
c8e845d
3ae2765
43a0e60
377b012
3121256
2152d5e
900ab95
a33f4b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,51 @@ | |
@import (reference) "~ui/styles/mixins"; | ||
@import "~ui/styles/local_search.less"; | ||
|
||
.fullScreenModePlaceholder { | ||
text-align: center; | ||
width: 100%; | ||
z-index: 50; | ||
height: 0; | ||
bottom: 0; | ||
position: absolute; | ||
} | ||
|
||
.exitFullScreenMode { | ||
background-color: @globalColorLightestGray; | ||
border-top-left-radius: 4px; | ||
border-top-right-radius: 4px; | ||
border-bottom-left-radius: 0; | ||
border-bottom-right-radius: 0; | ||
width: 200px; | ||
height: 40px; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
margin-left: auto; | ||
margin-right: auto; | ||
padding-bottom: 0; | ||
position: fixed; | ||
transform: translateY(22px); | ||
z-index: 50; | ||
display: block; | ||
transition: transform .2s ease-in-out; | ||
border: solid 1px @globalColorLightGray; | ||
border-bottom: 0; | ||
|
||
.kuiIcon { | ||
display: block; | ||
} | ||
|
||
&:hover { | ||
transform: translateY(0px); | ||
} | ||
} | ||
|
||
.exitFullScreenMode:hover { | ||
bottom: 0px; | ||
transition: all .5s ease; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here's a cleaner animation for you... Does the following
Note that you should also up the padding to
|
||
} | ||
|
||
.tab-dashboard { | ||
background-color: @dashboard-bg; | ||
} | ||
|
@@ -13,13 +58,12 @@ | |
dashboard-grid { | ||
display: block; | ||
margin: 0; | ||
padding: 5px; | ||
padding: 20px; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did we mean to change this here? It seems to add quite a bit of padding even when not in full-screen mode. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In general I've increased the padding on a bunch of our inner panels (see monitoring...etc) to give the controls some space. This was actually one of the few places I missed in my big K6 PR. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's more accessible for those of us with fat fingers! 😉 |
||
} | ||
|
||
.start-screen { | ||
margin: 20px auto; | ||
background-color: @dashboard-bg; | ||
padding: 20px; | ||
max-width: 800px; | ||
background: tint(@globalColorBlue, 90%); | ||
padding: 40px; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️