1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Fix: Design changed

This commit is contained in:
Rokt33r
2015-07-30 12:50:12 +09:00
parent 920704075e
commit 45b99d13cd
5 changed files with 25 additions and 27 deletions

View File

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

View File

@@ -74,7 +74,7 @@ module.exports = React.createClass({
return ( return (
<div tabIndex='2' className='UserNavigator'> <div tabIndex='2' className='UserNavigator'>
<button onClick={this.openPersonalSettingModal} className='userButton'> <button onClick={this.openPersonalSettingModal} className='userButton'>
<ProfileImage size='50' email={this.props.currentUser.email}/> <ProfileImage size='55' email={this.props.currentUser.email}/>
</button> </button>
<ul className='planetList'> <ul className='planetList'>
{planets} {planets}

View File

@@ -1,6 +1,6 @@
.PlanetContainer .PlanetContainer
absolute top bottom right absolute top bottom right
left 50px left 55px
.tags .tags
white-space: nowrap; white-space: nowrap;
overflow-x: auto; overflow-x: auto;
@@ -15,13 +15,14 @@
.PlanetHeader .PlanetHeader
absolute left right top absolute left right top
overflow-y hidden overflow-y hidden
height 65px height 55px
background-color white background-color white
border-bottom solid 1px borderColor border-bottom solid 1px borderColor
box-sizing border-box box-sizing border-box
padding 5px 15px padding 5px 15px
clearfix() clearfix()
.headerLabel .headerLabel
noSelect()
absolute top left bottom absolute top left bottom
overflow hidden overflow hidden
display inline-block display inline-block
@@ -29,7 +30,7 @@
.userName .userName
position absolute position absolute
left 15px left 15px
top 40px top 30px
width 140px width 140px
font-size 1em font-size 1em
color textColor color textColor
@@ -42,14 +43,14 @@
width 145px width 145px
font-size 1.6em font-size 1.6em
color brandColor color brandColor
overflow-x hidden overflow hidden
text-overflow ellipsis text-overflow ellipsis
white-space nowrap white-space nowrap
&:hover &:hover
color darken(brandBorderColor, 30%) color darken(brandBorderColor, 30%)
.menuBtn .menuBtn
position absolute position absolute
top 15px top 12px
right 5px right 5px
font-size 1em font-size 1em
btnDefault() btnDefault()
@@ -64,12 +65,13 @@
&:focus, &.focus &:focus, &.focus
outline none outline none
.headerControl .headerControl
noSelect()
absolute top bottom right absolute top bottom right
left 200px left 200px
.searchInput .searchInput
display block display block
position absolute position absolute
top 16px top 12px
left 0 left 0
input input
padding-left 32px padding-left 32px
@@ -79,19 +81,11 @@
top 8px top 8px
left 12px left 12px
color inactiveTextColor color inactiveTextColor
.downloadButtton
position absolute
right 5px
top 10px
padding 7px 25px
box-sizing border-box
line-height 25px
font-size 1em
border-radius 22px
.PlanetNavigator .PlanetNavigator
absolute bottom left absolute bottom left
top 65px noSelect()
top 55px
width 200px width 200px
border-right solid 1px highlightenBorderColor border-right solid 1px highlightenBorderColor
padding 10px padding 10px
@@ -149,7 +143,7 @@
.PlanetArticleList .PlanetArticleList
absolute bottom right absolute bottom right
left 200px left 200px
top 65px top 55px
width 250px width 250px
border-right solid 1px highlightenBorderColor border-right solid 1px highlightenBorderColor
@@ -190,7 +184,7 @@
.PlanetArticleDetail .PlanetArticleDetail
absolute right bottom absolute right bottom
top 65px top 55px
left 450px left 450px
&>.viewer-header &>.viewer-header
height 44px height 44px

View File

@@ -2,13 +2,13 @@
.UserNavigator .UserNavigator
background-color planetNavBgColor background-color planetNavBgColor
absolute left top bottom absolute left top bottom
width 50px width 55px
text-align center text-align center
box-sizing border-box box-sizing border-box
.userButton .userButton
display block display block
width 50px width 55px
height 50px height 55px
background-color black background-color black
margin 0 margin 0
padding 0 padding 0
@@ -22,7 +22,7 @@
img img
opacity 1 opacity 1
ul.planetList>li ul.planetList>li
padding 10px 3px margin 15px 0
.shortCut .shortCut
margin-top 5px margin-top 5px
color lighten(textColor, 5%) color lighten(textColor, 5%)
@@ -35,6 +35,7 @@
display block display block
width 44px width 44px
height 44px height 44px
margin 0 auto
text-align center text-align center
background-color planetAnchorBgColor background-color planetAnchorBgColor
text-decoration none text-decoration none
@@ -56,6 +57,7 @@
border-radius 5px border-radius 5px
margin-top -41px margin-top -41px
margin-left 52px margin-left 52px
white-space nowrap
opacity 0 opacity 0
transition 0.1s transition 0.1s
pointer-events none pointer-events none
@@ -63,8 +65,8 @@
opacity 1 opacity 1
img img
circle() circle()
width 44px width 55px
height 44px height 55px
button.newPlanet button.newPlanet
display block display block
margin 0 auto margin 0 auto
@@ -89,7 +91,7 @@
color white color white
.UserHome .UserHome
absolute top bottom right absolute top bottom right
left 50px left 55px
box-sizing border-box box-sizing border-box
padding 15px padding 15px
h1 h1

View File

@@ -0,0 +1,3 @@
noSelect()
-webkit-user-select none
-webkit-app-region drag