Skip to content

Commit 0f8eaaf

Browse files
committed
fix minor design
1 parent 7afad6a commit 0f8eaaf

5 files changed

Lines changed: 21 additions & 14 deletions

File tree

browser/main/Components/PlanetHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var PlanetHeader = React.createClass({
5656
<i className='fa fa-search'/>
5757
<input onKeyDown={this.handleKeyDown} onChange={this.handleChange} value={this.state.search} ref='search' tabIndex='1' type='text' className='inline-input circleInput' placeholder='Search...'/>
5858
</span>
59-
<a className='downloadBtn btn-primary'>Download Mac app</a>
59+
<a className='downloadButtton btn-primary'>Download Mac app</a>
6060
</div>
6161
)
6262
}

browser/main/Components/PlanetNavigator.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var PlanetNavigator = React.createClass({
2222
render: function () {
2323
return (
2424
<div className='PlanetNavigator'>
25-
<button onClick={this.props.onOpenLaunchModal} className='btn-primary btn-block'>
25+
<button onClick={this.props.onOpenLaunchModal} className='launchButton btn-primary btn-block'>
2626
<i className='fa fa-rocket fa-fw'/> Launch
2727
</button>
2828
<nav>

browser/styles/main/containers/PlanetContainer.styl

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
&:focus, &.focus
4747
outline none
4848
&:hover, &.hover, &:focus, &.focus
49-
border-color darken(lightButtonColor, 25%)
50-
color darken(lightButtonColor, 25%)
49+
border-color darken(lightButtonColor, 50%)
50+
color darken(lightButtonColor, 50%)
5151
&:active, &.active
5252
border-color darken(brandBorderColor, 10%)
5353
background-color brandColor
@@ -63,13 +63,15 @@
6363
position absolute
6464
top 7px
6565
left 10px
66-
.downloadBtn
66+
.downloadButtton
6767
position relative
6868
float right
6969
top 5px
7070
padding 7px 25px
7171
box-sizing border-box
7272
line-height 30px
73+
font-size 1em
74+
border-radius 22px
7375
.dropDown
7476
z-index 500
7577
position fixed
@@ -106,6 +108,9 @@
106108
border-right solid 1px highlightenBorderColor
107109
padding 10px
108110
box-sizing border-box
111+
.launchButton
112+
border-radius 22px
113+
font-size 1.1em
109114
nav
110115
a
111116
display block

browser/styles/main/index.styl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ button
6464

6565
.block-input, .inline-input
6666
border solid 1px borderColor
67-
padding 0 15px
67+
padding 0 10px
6868
font-size 1em
6969
height 33px
7070
border-radius 5px
@@ -90,7 +90,7 @@ textarea.block-input
9090
resize vertical
9191
height 125px
9292
border-radius 5px
93-
padding 5px
93+
padding 0 10px
9494

9595
#content
9696
fullsize()

browser/styles/shared/btn.styl

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
.btn-primary, .btn-default
22
border-style solid
3-
border-width 2px
3+
border-width 1px
44
background-image none
55
height 44px
66
padding 0 15px
7-
border-radius 22px
7+
border-radius 5px
88
box-sizing border-box
9-
font-size 1.1em
9+
font-size 1em
10+
font-family 'Lato'
11+
font-weight 400
1012
transition 0.1s
1113
cursor pointer
1214
margin 0 5px
@@ -33,8 +35,8 @@
3335
background-color transparent
3436
color brandColor
3537
&:hover, &.hover, &:focus, &.focus
36-
border-color darken(brandBorderColor, 10%)
37-
color darken(brandColor, 10%)
38+
border-color darken(brandBorderColor, 30%)
39+
color darken(brandColor, 30%)
3840
&:active, &.active
3941
background-color brandColor
4042
color white
@@ -45,8 +47,8 @@
4547
color lightButtonColor
4648

4749
&:hover, &.hover, &:focus, &.focus
48-
border-color darken(lightButtonColor, 25%)
49-
color darken(lightButtonColor, 25%)
50+
border-color darken(lightButtonColor, 50%)
51+
color darken(lightButtonColor, 50%)
5052
&:active, &.active
5153
border-color darken(brandBorderColor, 10%)
5254
background-color brandColor

0 commit comments

Comments
 (0)