-
{moment(article.updatedAt).fromNow()}
+
{moment(article.updatedAt).fromNow()} by {article.User.profileName}
{article.description.length > 50 ? article.description.substring(0, 50) + ' …' : article.description}
{tags}
@@ -55,16 +72,8 @@ module.exports = React.createClass({
)
}
- handleClick = function () {
- this.transitionTo('notes', {
- userName: params.userName,
- planetName: params.planetName,
- localId: article.localId
- })
- }.bind(this)
-
return (
-
+
@@ -72,7 +81,7 @@ module.exports = React.createClass({
-
{moment(article.updatedAt).fromNow()}
+
{moment(article.updatedAt).fromNow()} by {article.User.profileName}
{article.title}
{tags}
diff --git a/browser/main/Components/TeamSettingsModal.jsx b/browser/main/Components/TeamSettingsModal.jsx
index 572b507f..8b11a5f1 100644
--- a/browser/main/Components/TeamSettingsModal.jsx
+++ b/browser/main/Components/TeamSettingsModal.jsx
@@ -264,7 +264,7 @@ module.exports = React.createClass({
) : (
- Maximum numbr of members is 5 on Beta version. Please contact us if you want futher use.
+ Maximum number of members is 5 on Beta version. Please contact us if you want futher use.
)}
diff --git a/browser/styles/main/containers/PlanetContainer.styl b/browser/styles/main/containers/PlanetContainer.styl
index 276fd180..6b498aac 100644
--- a/browser/styles/main/containers/PlanetContainer.styl
+++ b/browser/styles/main/containers/PlanetContainer.styl
@@ -10,7 +10,7 @@ articleListWidth= 275px
margin 0 2px
text-decoration underline
cursor pointer
- font-size 0.9em
+ font-size 0.95em
&.noTag
color inactiveTextColor
font-size 0.8em
@@ -178,33 +178,50 @@ articleListWidth= 275px
overflow-y auto
li
.articleItem
- user-select none
border solid 2px transparent
- padding 10px
+ position relative
+ height 94px
+ width 100%
cursor pointer
transition 0.1s
- clearfix()
.itemLeft
- float left
- width 25px
+ position absolute
+ top 4px
+ bottom 4px
+ width 38px
+ padding 3px 0 3px 3px
text-align center
.profileImage
margin-bottom 5px
+ circle()
.fa
line-height 25px
.itemRight
- float left
- width 225px
+ position absolute
+ top 4px
+ bottom 4px
+ right 2px
+ left 40px
overflow-x hidden
- padding-left 10px
- .updatedAt
- margin-bottom 10px
+ padding 3px 10px 3px 3px
+ .itemInfo
+ margin 5px 0 13px
color lighten(textColor, 25%)
font-size 0.7em
+ .userProfileName
+ color brandColor
+ font-size 1.2em
.description
line-height 120%
- margin-bottom 15px
+ margin-bottom 10px
font-size 1em
+ overflow-x hidden
+ white-space nowrap
+ text-overflow ellipsis
+ .tags
+ position absolute
+ bottom 5px
+ font-size 0.9em
&:hover, &.hover
background-color hoverBackgroundColor
&:active, &.active
@@ -218,57 +235,71 @@ articleListWidth= 275px
absolute right bottom
top 55px
left navigationWidth + articleListWidth
- &>.viewer-header
- height 44px
- line-height 44px
- padding 0 15px
- box-sizing border-box
- font-size 1.2em
- small
- font-size 0.8em
- color lighten(textColor, 25%)
- .control-group
- float right
- button
- margin 10px 3px
- .viewer-body
- absolute bottom right
- left 1px
- top 44px
- &.codeDetail>.viewer-body
- .viewer-detail
- border-bottom solid 1px borderColor
- height 150px
- box-sizing border-box
- padding 10px
+ .detailHeader
+ border solid 2px transparent
+ position relative
+ height 105px
+ width 100%
+ transition 0.1s
+ .itemLeft
+ position absolute
+ top 7px
+ bottom 4px
+ width 38px
+ padding 3px 0 3px 3px
+ text-align center
+ .profileImage
+ margin-bottom 5px
+ circle()
+ .fa
+ line-height 25px
+ .itemRight
+ position absolute
+ top 7px
+ bottom 4px
+ right 2px
+ left 40px
+ overflow-x hidden
+ padding 3px 10px 3px 3px
+ .itemInfo
+ margin 5px 0 13px
+ color lighten(textColor, 25%)
+ font-size 0.7em
+ .userProfileName
+ color brandColor
+ font-size 1.2em
.description
- height 100px
- line-height 1.4em
- overflow-y auto
+ line-height 120%
+ margin-bottom 10px
+ font-size 1em
+ overflow-x auto
+ white-space nowrap
.tags
position absolute
- left 15px
- right 15px
- top 120px
- .content
- .ace_editor
- absolute left right
- top 155px
bottom 5px
- &.noteDetail>.viewer-body
- .tags
- absolute top
- left 15px
- right 15px
- height 24px
- line-height 24px
+ font-size 0.9em
+ .itemControl
+ position absolute
+ z-index 1
+ top 2px
+ right 2px
+ .detailBody
+ absolute left right bottom
+ top 105px
.content
- absolute left right bottom
- top 30px
box-sizing border-box
padding 5px
border-top solid 1px borderColor
- padding 10px
overflow-x hidden
overflow-y auto
+ &.noteDetail
+ .detailBody .content
marked()
+ &.codeDetail
+ .detailBody .content
+ .ace_editor
+ position absolute
+ top 5px
+ bottom 5px
+ left 2px
+ right 2px
diff --git a/browser/styles/main/containers/UserContainer.styl b/browser/styles/main/containers/UserContainer.styl
index bb192611..14dcb7ea 100644
--- a/browser/styles/main/containers/UserContainer.styl
+++ b/browser/styles/main/containers/UserContainer.styl
@@ -63,19 +63,12 @@
&:hover
background-color hoverBackgroundColor
.userName
- float left
width 155px
padding 10px 15px
text-align left
display block
text-decoration none
cursor pointer
- .userSetting
- float right
- display block
- padding 10px 0
- width 45px
- cursor pointer
.createNewTeam
btnStripDefault()
width 100%
@@ -189,7 +182,7 @@
.memberPopup
absolute left
top 235px
- z-index popupZIndex
+ z-index 1
padding 0 15px 10px
width 200px
.label
@@ -205,13 +198,15 @@
.memberImage
float left
margin-right 7px
+ circle()
.memberInfo
float left
.memberProfileName
margin-bottom 5px
+ font-size 1.05em
.memberName
margin-left 5px
- font-size 0.8em
+ font-size 0.9em
color inactiveTextColor
a:hover .memberProfileName, a:hover .memberName
text-decoration underline
@@ -259,9 +254,10 @@
float left
.teamProfileName
margin-bottom 5px
+ font-size 1.05em
.teamName
margin-left 5px
- font-size 0.8em
+ font-size 0.9em
color inactiveTextColor
a:hover .teamProfileName, a:hover .teamName
text-decoration underline
@@ -277,16 +273,18 @@
.memberImage
float left
margin-right 7px
+ circle()
.memberInfo
float left
.memberProfileName
margin-bottom 5px
+ font-size 1.05em
.memberRole
- font-size 0.8em
+ font-size 0.9em
color inactiveTextColor
.memberName
margin-left 5px
- font-size 0.8em
+ font-size 0.9em
color inactiveTextColor
.createTeamButton, .addMemberButton
btnStripDefault()
diff --git a/browser/styles/main/index.styl b/browser/styles/main/index.styl
index 0a54beeb..a5cb7a2a 100644
--- a/browser/styles/main/index.styl
+++ b/browser/styles/main/index.styl
@@ -105,14 +105,16 @@ textarea.block-input
z-index 2000
bottom 5px
right 53px
- btnDefault()
+ btnPrimary()
padding 10px 15px
border-radius 5px
+ background-color backgroundColor
.contactButton
position fixed
z-index 2000
bottom 5px
right 5px
- btnDefault()
+ btnPrimary()
padding 10px 15px
border-radius 5px
+ background-color backgroundColor
diff --git a/browser/styles/mixins/marked.styl b/browser/styles/mixins/marked.styl
index 4e7beb05..891dc258 100644
--- a/browser/styles/mixins/marked.styl
+++ b/browser/styles/mixins/marked.styl
@@ -64,7 +64,7 @@ marked()
padding 5px
border solid 1px borderColor
border-radius 5px
- margin 0.5em 0
+ margin-bottom 0.5em
overflow-x auto
&>code
padding 0
diff --git a/package.json b/package.json
index 37562ab7..5e1b80a3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "boost",
- "version": "0.2.1",
+ "version": "0.2.1.1",
"description": "Boost App",
"main": "main.js",
"scripts": {