1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

fix minor design

This commit is contained in:
Rokt33r
2015-07-19 22:08:20 +09:00
parent 7afad6ac49
commit 0f8eaaf750
5 changed files with 21 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ var PlanetHeader = React.createClass({
<i className='fa fa-search'/> <i className='fa fa-search'/>
<input onKeyDown={this.handleKeyDown} onChange={this.handleChange} value={this.state.search} ref='search' tabIndex='1' type='text' className='inline-input circleInput' placeholder='Search...'/> <input onKeyDown={this.handleKeyDown} onChange={this.handleChange} value={this.state.search} ref='search' tabIndex='1' type='text' className='inline-input circleInput' placeholder='Search...'/>
</span> </span>
<a className='downloadBtn btn-primary'>Download Mac app</a> <a className='downloadButtton btn-primary'>Download Mac app</a>
</div> </div>
) )
} }

View File

@@ -22,7 +22,7 @@ var PlanetNavigator = React.createClass({
render: function () { render: function () {
return ( return (
<div className='PlanetNavigator'> <div className='PlanetNavigator'>
<button onClick={this.props.onOpenLaunchModal} className='btn-primary btn-block'> <button onClick={this.props.onOpenLaunchModal} className='launchButton btn-primary btn-block'>
<i className='fa fa-rocket fa-fw'/> Launch <i className='fa fa-rocket fa-fw'/> Launch
</button> </button>
<nav> <nav>

View File

@@ -46,8 +46,8 @@
&:focus, &.focus &:focus, &.focus
outline none outline none
&:hover, &.hover, &:focus, &.focus &:hover, &.hover, &:focus, &.focus
border-color darken(lightButtonColor, 25%) border-color darken(lightButtonColor, 50%)
color darken(lightButtonColor, 25%) color darken(lightButtonColor, 50%)
&:active, &.active &:active, &.active
border-color darken(brandBorderColor, 10%) border-color darken(brandBorderColor, 10%)
background-color brandColor background-color brandColor
@@ -63,13 +63,15 @@
position absolute position absolute
top 7px top 7px
left 10px left 10px
.downloadBtn .downloadButtton
position relative position relative
float right float right
top 5px top 5px
padding 7px 25px padding 7px 25px
box-sizing border-box box-sizing border-box
line-height 30px line-height 30px
font-size 1em
border-radius 22px
.dropDown .dropDown
z-index 500 z-index 500
position fixed position fixed
@@ -106,6 +108,9 @@
border-right solid 1px highlightenBorderColor border-right solid 1px highlightenBorderColor
padding 10px padding 10px
box-sizing border-box box-sizing border-box
.launchButton
border-radius 22px
font-size 1.1em
nav nav
a a
display block display block

View File

@@ -64,7 +64,7 @@ button
.block-input, .inline-input .block-input, .inline-input
border solid 1px borderColor border solid 1px borderColor
padding 0 15px padding 0 10px
font-size 1em font-size 1em
height 33px height 33px
border-radius 5px border-radius 5px
@@ -90,7 +90,7 @@ textarea.block-input
resize vertical resize vertical
height 125px height 125px
border-radius 5px border-radius 5px
padding 5px padding 0 10px
#content #content
fullsize() fullsize()

View File

@@ -1,12 +1,14 @@
.btn-primary, .btn-default .btn-primary, .btn-default
border-style solid border-style solid
border-width 2px border-width 1px
background-image none background-image none
height 44px height 44px
padding 0 15px padding 0 15px
border-radius 22px border-radius 5px
box-sizing border-box box-sizing border-box
font-size 1.1em font-size 1em
font-family 'Lato'
font-weight 400
transition 0.1s transition 0.1s
cursor pointer cursor pointer
margin 0 5px margin 0 5px
@@ -33,8 +35,8 @@
background-color transparent background-color transparent
color brandColor color brandColor
&:hover, &.hover, &:focus, &.focus &:hover, &.hover, &:focus, &.focus
border-color darken(brandBorderColor, 10%) border-color darken(brandBorderColor, 30%)
color darken(brandColor, 10%) color darken(brandColor, 30%)
&:active, &.active &:active, &.active
background-color brandColor background-color brandColor
color white color white
@@ -45,8 +47,8 @@
color lightButtonColor color lightButtonColor
&:hover, &.hover, &:focus, &.focus &:hover, &.hover, &:focus, &.focus
border-color darken(lightButtonColor, 25%) border-color darken(lightButtonColor, 50%)
color darken(lightButtonColor, 25%) color darken(lightButtonColor, 50%)
&:active, &.active &:active, &.active
border-color darken(brandBorderColor, 10%) border-color darken(brandBorderColor, 10%)
background-color brandColor background-color brandColor