Skip to content
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

ui: cluster page visual tweaks #12719

Merged
merged 1 commit into from
Jan 5, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/ui/embedded.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/ui/styl/base/typography.styl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ font-face('Lato-Heavy')
font-face('Lato-Bold')
font-face('Lato-Medium')
font-face('Lato-Regular')
font-face('Lato-Light')
// font-face('Lato-Light')

@font-face
font-family 'Inconsolata-Regular'
Expand Down
4 changes: 4 additions & 0 deletions pkg/ui/styl/components/dropdown.styl
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@
&:first-child
border-right 1px solid $gray-blue
padding 1rem 20px
border-top-left-radius 4px
border-bottom-left-radius 4px

&:last-child
border-left 1px solid $gray-blue
padding 1rem 20px
border-top-right-radius 4px
border-bottom-right-radius 4px

&[disabled]
background-color $lighter-gray
Expand Down
7 changes: 4 additions & 3 deletions pkg/ui/styl/components/summarybar.styl
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
width calc(100% - 48px)
float left
background-color white
margin 0 24px 30px
padding 24px 24px 12px
margin 0 6px 10px
padding 15px 24px 12px
border-radius 5px
border 1px solid rgba(0, 0, 0, .1)
font-family lato
font-family lato-regular

.summary-headline
margin-bottom 12px
Expand All @@ -29,6 +29,7 @@
font-weight bold
color $light-blue
padding-bottom 12px
text-align center

.summary-stat
clearfix()
Expand Down
8 changes: 5 additions & 3 deletions pkg/ui/styl/components/visualizations.styl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $viz-sides = 62px
width 925px

&__content
padding 15px 10px
padding 0 10px 15px
height 200px
&.visualization--loading
display flex
Expand All @@ -40,20 +40,21 @@ $viz-sides = 62px
&__header
padding 15px 25px 0
clearfix()
text-align center

&__title
font-size 14px
font-family lato
float left
font-weight bold
color $light-blue
display inline

&__subtitle
color $light-gray
margin-left 5px
font-size 12px
font-family lato
float left
display inline

&__spinner
width 40px
Expand All @@ -62,6 +63,7 @@ $viz-sides = 62px
&__info-icon
float right
color $secondary-gray-5
display none

.icon-warning
color $secondary-gold
Expand Down