Skip to content

Commit

Permalink
ui: cluster page visual tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Lang committed Jan 5, 2017
1 parent 9f8d393 commit 754dd24
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
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

0 comments on commit 754dd24

Please sign in to comment.