Merge branch 'ssrihari-color-palette' into develop
This commit is contained in:
commit
ec97c2e760
17 changed files with 135 additions and 126 deletions
|
|
@ -1,22 +1,6 @@
|
||||||
/* Mixin file for sass. Here is where we define our variables and
|
/* Mixin file for sass. Here is where we define our variables and
|
||||||
browser compatability functions used in all scss/sass files */
|
browser compatability functions used in all scss/sass files */
|
||||||
|
|
||||||
/* Diapora's default color palate */
|
|
||||||
$blue: #3f8fba;
|
|
||||||
$dark-blue: darken(#0984C8,10%);
|
|
||||||
$green: #8EDE3D;
|
|
||||||
|
|
||||||
$grey: #2b2b2b;
|
|
||||||
$light-grey: #ddd;
|
|
||||||
|
|
||||||
$red: #a80000;
|
|
||||||
$background: #fff;
|
|
||||||
$creation-blue: #0097ff;
|
|
||||||
|
|
||||||
$red: #a80000;
|
|
||||||
$background: #fff;
|
|
||||||
$creation-blue: #0097ff;
|
|
||||||
|
|
||||||
/* Transision defaults */
|
/* Transision defaults */
|
||||||
$speed: 0.1s;
|
$speed: 0.1s;
|
||||||
$easing: linear;
|
$easing: linear;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
@import 'compass'
|
@import 'compass'
|
||||||
|
@import 'colors'
|
||||||
@import 'ui'
|
@import 'ui'
|
||||||
@import '_mixins'
|
@import '_mixins'
|
||||||
@import '_flash_messages'
|
@import '_flash_messages'
|
||||||
|
|
@ -37,7 +38,7 @@ body
|
||||||
:padding 2em
|
:padding 2em
|
||||||
:margin 0
|
:margin 0
|
||||||
:top 33px
|
:top 33px
|
||||||
:background-color $background
|
:background-color $background-white
|
||||||
|
|
||||||
:font
|
:font
|
||||||
:family "Helvetica Neue",Helvetica,Arial,sans-serif
|
:family "Helvetica Neue",Helvetica,Arial,sans-serif
|
||||||
|
|
@ -81,7 +82,7 @@ ul > li
|
||||||
:-moz-box-shadow rgba(0,0,0,0.12) 0px 0px 5px inset
|
:-moz-box-shadow rgba(0,0,0,0.12) 0px 0px 5px inset
|
||||||
|
|
||||||
:background
|
:background
|
||||||
:color #eee
|
:color $background-grey
|
||||||
|
|
||||||
:width 50px
|
:width 50px
|
||||||
:height 50px
|
:height 50px
|
||||||
|
|
@ -149,7 +150,7 @@ ul.as-selections
|
||||||
|
|
||||||
.stream_element
|
.stream_element
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid $border-grey
|
||||||
|
|
||||||
p
|
p
|
||||||
&:last-child
|
&:last-child
|
||||||
|
|
@ -240,7 +241,7 @@ ul.as-selections
|
||||||
:float left
|
:float left
|
||||||
:margin
|
:margin
|
||||||
:top 6px
|
:top 6px
|
||||||
|
|
||||||
.controls:first-child
|
.controls:first-child
|
||||||
.control_icon
|
.control_icon
|
||||||
@include transition(opacity)
|
@include transition(opacity)
|
||||||
|
|
@ -376,7 +377,7 @@ ul.as-selections
|
||||||
|
|
||||||
:padding
|
:padding
|
||||||
:top 10px
|
:top 10px
|
||||||
|
|
||||||
.controls
|
.controls
|
||||||
.comment_delete
|
.comment_delete
|
||||||
@include transition(opacity)
|
@include transition(opacity)
|
||||||
|
|
@ -423,7 +424,7 @@ ul.as-selections
|
||||||
:color #bbb
|
:color #bbb
|
||||||
|
|
||||||
.stream_element .post-content .reshare
|
.stream_element .post-content .reshare
|
||||||
:border-left 2px solid #ddd
|
:border-left 2px solid $border-grey
|
||||||
|
|
||||||
.stream_element.loaded .media .bd .feedback
|
.stream_element.loaded .media .bd .feedback
|
||||||
:clear both
|
:clear both
|
||||||
|
|
@ -1326,7 +1327,7 @@ ul#press_logos
|
||||||
|
|
||||||
.show_comments
|
.show_comments
|
||||||
:border
|
:border
|
||||||
:top 1px solid #ddd
|
:top 1px solid $border-grey
|
||||||
:margin
|
:margin
|
||||||
:top 5px
|
:top 5px
|
||||||
|
|
||||||
|
|
@ -1458,7 +1459,7 @@ ul#press_logos
|
||||||
.invite_friends
|
.invite_friends
|
||||||
:padding 1em
|
:padding 1em
|
||||||
:background
|
:background
|
||||||
:color #eee
|
:color $background-grey
|
||||||
:border 1px solid #ccc
|
:border 1px solid #ccc
|
||||||
|
|
||||||
#remember_me
|
#remember_me
|
||||||
|
|
@ -1507,7 +1508,7 @@ ul#press_logos
|
||||||
:color $grey
|
:color $grey
|
||||||
:text-shadow 0 0 7px #FFF
|
:text-shadow 0 0 7px #FFF
|
||||||
:cursor pointer
|
:cursor pointer
|
||||||
:border-bottom 2px solid #DDD
|
:border-bottom 2px solid $border-grey
|
||||||
@include border-radius(0, 0, 3px, 3px)
|
@include border-radius(0, 0, 3px, 3px)
|
||||||
@include linear-gradient(rgba(255,255,255,0) , #EEE, 0%, 95%)
|
@include linear-gradient(rgba(255,255,255,0) , #EEE, 0%, 95%)
|
||||||
:background-color transparent
|
:background-color transparent
|
||||||
|
|
@ -1525,7 +1526,7 @@ ul#press_logos
|
||||||
|
|
||||||
.conversation_participants
|
.conversation_participants
|
||||||
:background
|
:background
|
||||||
:color $background
|
:color $background-white
|
||||||
:margin
|
:margin
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
|
|
||||||
|
|
@ -1569,7 +1570,7 @@ ul#press_logos
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
|
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid $border-grey
|
||||||
:padding 10px
|
:padding 10px
|
||||||
:top 101px
|
:top 101px
|
||||||
:bottom 10px
|
:bottom 10px
|
||||||
|
|
@ -1661,7 +1662,7 @@ ul#press_logos
|
||||||
|
|
||||||
&:hover:not(.selected)
|
&:hover:not(.selected)
|
||||||
:background
|
:background
|
||||||
:color #fafafa
|
:color $highlight-white
|
||||||
|
|
||||||
&.selected:hover
|
&.selected:hover
|
||||||
:background
|
:background
|
||||||
|
|
@ -1672,7 +1673,7 @@ ul#press_logos
|
||||||
|
|
||||||
.conversation.unread
|
.conversation.unread
|
||||||
:background
|
:background
|
||||||
:color darken($background,5%)
|
:color darken($background-white,5%)
|
||||||
|
|
||||||
.conversation.selected
|
.conversation.selected
|
||||||
:background
|
:background
|
||||||
|
|
@ -1710,7 +1711,7 @@ ul#press_logos
|
||||||
:padding 10px
|
:padding 10px
|
||||||
:height 55px
|
:height 55px
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid $border-grey
|
||||||
|
|
||||||
#no_conversation_text
|
#no_conversation_text
|
||||||
:font
|
:font
|
||||||
|
|
@ -1759,7 +1760,7 @@ h1.tag
|
||||||
.tag
|
.tag
|
||||||
:background
|
:background
|
||||||
:color #efefef
|
:color #efefef
|
||||||
:color #999
|
:color $text-grey
|
||||||
:border
|
:border
|
||||||
:bottom 1px dotted #999
|
:bottom 1px dotted #999
|
||||||
|
|
||||||
|
|
@ -1795,7 +1796,7 @@ h1.tag
|
||||||
:color #e6e6e6
|
:color #e6e6e6
|
||||||
:border-radius 8px
|
:border-radius 8px
|
||||||
:padding 5px
|
:padding 5px
|
||||||
:color #999
|
:color $text-grey
|
||||||
|
|
||||||
:text-align center
|
:text-align center
|
||||||
.day
|
.day
|
||||||
|
|
@ -1810,7 +1811,7 @@ h1.tag
|
||||||
.notification_count
|
.notification_count
|
||||||
:background
|
:background
|
||||||
:color #f0f0f0
|
:color #f0f0f0
|
||||||
:color #999
|
:color $text-grey
|
||||||
:font
|
:font
|
||||||
:weight normal
|
:weight normal
|
||||||
|
|
||||||
|
|
@ -1823,7 +1824,7 @@ h1.tag
|
||||||
|
|
||||||
&.unread
|
&.unread
|
||||||
:background
|
:background
|
||||||
:color lighten(#A40802, 5%)
|
:color lighten($red, 5%)
|
||||||
:color #eee !important
|
:color #eee !important
|
||||||
:font
|
:font
|
||||||
:weight bold
|
:weight bold
|
||||||
|
|
@ -1832,7 +1833,7 @@ h1.tag
|
||||||
.title
|
.title
|
||||||
:position relative
|
:position relative
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid $border-grey
|
||||||
:padding 2px 0
|
:padding 2px 0
|
||||||
:top 0
|
:top 0
|
||||||
|
|
||||||
|
|
@ -1896,7 +1897,7 @@ h1.tag
|
||||||
.section
|
.section
|
||||||
.content
|
.content
|
||||||
:padding 8px
|
:padding 8px
|
||||||
:color #999
|
:color $text-grey
|
||||||
:font-size 11px
|
:font-size 11px
|
||||||
li
|
li
|
||||||
:list-style none
|
:list-style none
|
||||||
|
|
@ -1975,9 +1976,9 @@ ul#requested-scopes
|
||||||
:float right
|
:float right
|
||||||
@include border-radius(4px)
|
@include border-radius(4px)
|
||||||
:margin-top 1px
|
:margin-top 1px
|
||||||
:color #999
|
:color $text-grey
|
||||||
:background
|
:background
|
||||||
:color #eee
|
:color $background-grey
|
||||||
:display inline-block
|
:display inline-block
|
||||||
:font
|
:font
|
||||||
:size 11px
|
:size 11px
|
||||||
|
|
@ -2000,7 +2001,7 @@ ul.left_nav
|
||||||
:decoration none
|
:decoration none
|
||||||
a
|
a
|
||||||
:font-weight bold
|
:font-weight bold
|
||||||
:color #777
|
:color $link-grey
|
||||||
:text
|
:text
|
||||||
:decoration none
|
:decoration none
|
||||||
|
|
||||||
|
|
@ -2155,7 +2156,7 @@ ul.left_nav
|
||||||
:margin
|
:margin
|
||||||
:bottom 0
|
:bottom 0
|
||||||
:border
|
:border
|
||||||
:left 1px solid #ddd
|
:left 1px solid $border-grey
|
||||||
:padding
|
:padding
|
||||||
:left 10px
|
:left 10px
|
||||||
:top 20px
|
:top 20px
|
||||||
|
|
@ -2169,12 +2170,12 @@ ul.left_nav
|
||||||
.new_aspect,
|
.new_aspect,
|
||||||
a.toggle_selector
|
a.toggle_selector
|
||||||
:outline none
|
:outline none
|
||||||
:color #999
|
:color $text-grey
|
||||||
:font
|
:font
|
||||||
:style italic
|
:style italic
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
:color #777
|
:color $link-grey
|
||||||
|
|
||||||
.no_contacts
|
.no_contacts
|
||||||
:position relative
|
:position relative
|
||||||
|
|
@ -2314,7 +2315,7 @@ a.toggle_selector
|
||||||
:width 140px
|
:width 140px
|
||||||
|
|
||||||
.tags
|
.tags
|
||||||
:color #999
|
:color $text-grey
|
||||||
|
|
||||||
h4
|
h4
|
||||||
:margin
|
:margin
|
||||||
|
|
@ -2365,7 +2366,7 @@ a.toggle_selector
|
||||||
:position relative
|
:position relative
|
||||||
|
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid $border-grey
|
||||||
|
|
||||||
:padding 5px
|
:padding 5px
|
||||||
:margin
|
:margin
|
||||||
|
|
@ -2402,7 +2403,7 @@ a.toggle_selector
|
||||||
.diaspora_id_text
|
.diaspora_id_text
|
||||||
:font-size 12px
|
:font-size 12px
|
||||||
:text-align right
|
:text-align right
|
||||||
:color #999
|
:color $text-grey
|
||||||
:margin
|
:margin
|
||||||
:top -8px
|
:top -8px
|
||||||
:padding 0
|
:padding 0
|
||||||
|
|
@ -2455,7 +2456,7 @@ a.toggle_selector
|
||||||
:text
|
:text
|
||||||
:align center
|
:align center
|
||||||
:border
|
:border
|
||||||
:bottom 1px solid #ddd
|
:bottom 1px solid $border-grey
|
||||||
|
|
||||||
.mobile_row
|
.mobile_row
|
||||||
:margin
|
:margin
|
||||||
|
|
@ -2489,7 +2490,7 @@ a.toggle_selector
|
||||||
span.host_uri
|
span.host_uri
|
||||||
:float right
|
:float right
|
||||||
:margin-top -28px
|
:margin-top -28px
|
||||||
:color #999
|
:color $text-grey
|
||||||
:padding-right 9px
|
:padding-right 9px
|
||||||
|
|
||||||
.center
|
.center
|
||||||
|
|
@ -2590,11 +2591,11 @@ body
|
||||||
|
|
||||||
.nsfw-shield
|
.nsfw-shield
|
||||||
@include border-radius(3px)
|
@include border-radius(3px)
|
||||||
:background-color #eee
|
:background-color $background-grey
|
||||||
:width 90%
|
:width 90%
|
||||||
:padding 5px 10px
|
:padding 5px 10px
|
||||||
:border 1px solid #ddd
|
:border 1px solid $border-grey
|
||||||
:color #999
|
:color $text-grey
|
||||||
|
|
||||||
#back-to-top
|
#back-to-top
|
||||||
:display block
|
:display block
|
||||||
|
|
@ -2619,7 +2620,7 @@ body
|
||||||
|
|
||||||
.nsfw_off
|
.nsfw_off
|
||||||
:font-size smaller
|
:font-size smaller
|
||||||
:color #999
|
:color $text-grey
|
||||||
a
|
a
|
||||||
:color #666
|
:color #666
|
||||||
:color #666
|
:color #666
|
||||||
|
|
|
||||||
20
app/assets/stylesheets/colors.css.scss
Normal file
20
app/assets/stylesheets/colors.css.scss
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
$highlight-white: #FAFAFA;
|
||||||
|
$background-white: #FFFFFF;
|
||||||
|
|
||||||
|
$grey: #2B2B2B;
|
||||||
|
$light-grey: #DDDDDD;
|
||||||
|
$border-grey: #DDDDDD;
|
||||||
|
$background-grey: #EEEEEE;
|
||||||
|
$header-grey: #939393;
|
||||||
|
$link-grey: #777777;
|
||||||
|
$text-grey: #999999;
|
||||||
|
|
||||||
|
$white: white;
|
||||||
|
$black: black;
|
||||||
|
$red: #A80000;
|
||||||
|
$green: #8EDE3D;
|
||||||
|
|
||||||
|
$blue: #3F8FBA;
|
||||||
|
$dark-blue: darken(#0984C8,10%);
|
||||||
|
$creation-blue: #0097FF;
|
||||||
|
|
||||||
|
|
@ -2,13 +2,13 @@ footer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
color: #999;
|
color: $text-grey;
|
||||||
|
|
||||||
.container {
|
.container {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin: 4em auto 0 auto;
|
margin: 4em auto 0 auto;
|
||||||
padding: 0.5em 0 1em 0;
|
padding: 0.5em 0 1em 0;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid $border-grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
.branding-powered_by_diaspora {
|
.branding-powered_by_diaspora {
|
||||||
|
|
@ -40,7 +40,7 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #777;
|
color: $link-grey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,21 +20,21 @@ body > header {
|
||||||
height: 38px;
|
height: 38px;
|
||||||
width: 65px;
|
width: 65px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ie-user-menu-active { height: 150px; }
|
.ie-user-menu-active { height: 150px; }
|
||||||
|
|
||||||
a.header_root_link {
|
a.header_root_link {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #CCC;
|
color: #CCC;
|
||||||
color: rgb(147,147,147);
|
color: rgb(147,147,147);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: none;
|
background: none;
|
||||||
color: #fafafa;
|
color: $highlight-white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ body > header {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
.right { top: 10px; }
|
.right { top: 10px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav_badges {
|
#nav_badges {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
|
@ -56,7 +56,7 @@ body > header {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: 0 2px;
|
margin: 0 2px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
|
|
||||||
|
|
@ -67,13 +67,13 @@ body > header {
|
||||||
top: -4px;
|
top: -4px;
|
||||||
left: 15px;
|
left: 15px;
|
||||||
padding: 1px 2px;
|
padding: 1px 2px;
|
||||||
background-color: #A40802;
|
background-color: $red;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover .badge_count { background-color: lighten(#A40802, 5%); }
|
&:hover .badge_count { background-color: lighten($red, 5%); }
|
||||||
|
|
||||||
.icons-notifications_grey { height: 16px; }
|
.icons-notifications_grey { height: 16px; }
|
||||||
|
|
||||||
&.active .icons-notifications_grey:hover {
|
&.active .icons-notifications_grey:hover {
|
||||||
|
|
@ -89,14 +89,14 @@ body > header {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification_badge, #message_inbox_badge {
|
#notification_badge, #message_inbox_badge {
|
||||||
float: left;
|
float: left;
|
||||||
padding: 0px 3px;
|
padding: 0px 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#message_inbox_badge {
|
#message_inbox_badge {
|
||||||
padding-top: 3px;
|
padding-top: 3px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
}
|
}
|
||||||
|
|
@ -134,7 +134,7 @@ body > header {
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
@ -142,7 +142,7 @@ body > header {
|
||||||
}
|
}
|
||||||
|
|
||||||
.notification_element,
|
.notification_element,
|
||||||
.header { border-bottom: 1px solid #ddd; }
|
.header { border-bottom: 1px solid $border-grey; }
|
||||||
|
|
||||||
.ajax_loader {
|
.ajax_loader {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -152,9 +152,9 @@ body > header {
|
||||||
.notification_element {
|
.notification_element {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
|
|
||||||
&:hover { background-color: #FAFAFA; }
|
&:hover { background-color: $highlight-white; }
|
||||||
|
|
||||||
> img {
|
> img {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
width: 30px;
|
width: 30px;
|
||||||
|
|
@ -163,14 +163,14 @@ body > header {
|
||||||
}
|
}
|
||||||
|
|
||||||
&.unread {
|
&.unread {
|
||||||
background-color: #eee;
|
background-color: $background-grey;
|
||||||
color: #000;
|
color: #000;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#global_search {
|
#global_search {
|
||||||
float: right;
|
float: right;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|
@ -179,7 +179,7 @@ body > header {
|
||||||
form {
|
form {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
@include box-shadow(0, 1px, 1px, #444);
|
@include box-shadow(0, 1px, 1px, #444);
|
||||||
@include border-radius(15px);
|
@include border-radius(15px);
|
||||||
|
|
@ -193,7 +193,7 @@ body > header {
|
||||||
&:hover { background-color: #555; }
|
&:hover { background-color: #555; }
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #fafafa;
|
background-color: $highlight-white;
|
||||||
background-color: rgba(160,160,160,0.6);
|
background-color: rgba(160,160,160,0.6);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -220,10 +220,10 @@ body > header {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
display: inline;
|
display: inline;
|
||||||
top: -4px;
|
top: -4px;
|
||||||
float: right;
|
float: right;
|
||||||
margin: -2px -5px 0px 0px;
|
margin: -2px -5px 0px 0px;
|
||||||
padding: 5px 7px 5px 32px;
|
padding: 5px 7px 5px 32px;
|
||||||
|
|
||||||
border-left: 1px solid #333;
|
border-left: 1px solid #333;
|
||||||
border-right: 1px solid #333;
|
border-right: 1px solid #333;
|
||||||
|
|
||||||
|
|
@ -238,11 +238,11 @@ body > header {
|
||||||
.user-menu-item a {
|
.user-menu-item a {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
color: #939393;
|
color: $header-grey;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $blue;
|
background-color: $blue;
|
||||||
color: #FAFAFA;
|
color: $highlight-white;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -251,8 +251,8 @@ body > header {
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #FAFAFA;
|
color: $highlight-white;
|
||||||
.user-name { color: #FAFAFA; }
|
.user-name { color: $highlight-white; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -306,41 +306,41 @@ body > header {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* When the user is not connected */
|
/* When the user is not connected */
|
||||||
ul#landing_nav {
|
ul#landing_nav {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 4px;
|
top: 4px;
|
||||||
right: 0;
|
right: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
> li {
|
> li {
|
||||||
text-shadow: 0 1px 0 #000;
|
text-shadow: 0 1px 0 #000;
|
||||||
display: inline;
|
display: inline;
|
||||||
margin-right: 0.5em;
|
margin-right: 0.5em;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $blue;
|
color: $blue;
|
||||||
|
|
||||||
&.login {
|
&.login {
|
||||||
@include border-radius(5px);
|
@include border-radius(5px);
|
||||||
@include box-shadow(0, 1px, 1px, #666);
|
@include box-shadow(0, 1px, 1px, #666);
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
border-top: 1px solid #000;
|
border-top: 1px solid #000;
|
||||||
|
|
||||||
&:hover { background-color: #222; }
|
&:hover { background-color: #222; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child { margin-right: 0; }
|
&:last-child { margin-right: 0; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extract here from application.sass because
|
* Extract here from application.sass because
|
||||||
* needed for the header in the bootstrap part
|
* needed for the header in the bootstrap part
|
||||||
*/
|
*/
|
||||||
|
|
@ -349,12 +349,12 @@ ul.dropdown {
|
||||||
|
|
||||||
li {
|
li {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
||||||
a { display: block; }
|
a { display: block; }
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
height: auto;
|
height: auto;
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
@import "colors";
|
||||||
@import "_mixins.css.scss";
|
@import "_mixins.css.scss";
|
||||||
|
|
||||||
#hovercard {
|
#hovercard {
|
||||||
|
|
@ -9,7 +10,7 @@
|
||||||
min-width: 250px;
|
min-width: 250px;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
|
|
||||||
background-color: $background;
|
background-color: $background-white;
|
||||||
height: 70px;
|
height: 70px;
|
||||||
border: 1px solid #999999;
|
border: 1px solid #999999;
|
||||||
font-size: small;
|
font-size: small;
|
||||||
|
|
@ -58,7 +59,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
color: #999999;
|
color: $text-grey;
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
@ -68,7 +69,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background-color: #eeeeee;
|
background-color: $background-grey;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -82,7 +83,7 @@
|
||||||
padding: 1px 5px;
|
padding: 1px 5px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #999999;
|
color: $text-grey;
|
||||||
margin-right: 4px;
|
margin-right: 4px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
|
@import 'colors';
|
||||||
@import '_mixins.css.scss';
|
@import '_mixins.css.scss';
|
||||||
|
|
||||||
.mentions-input-box {
|
.mentions-input-box {
|
||||||
|
|
@ -53,9 +53,9 @@
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
&:hover, &.active { background: #eee; }
|
&:hover, &.active { background: $background-grey; }
|
||||||
&:last-child { @include border-radius(0px, 0px, 5px, 5px); }
|
&:last-child { @include border-radius(0px, 0px, 5px, 5px); }
|
||||||
|
|
||||||
img, div.icon {
|
img, div.icon {
|
||||||
float: left;
|
float: left;
|
||||||
height: 25px;
|
height: 25px;
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
@import 'bootstrap';
|
@import 'bootstrap';
|
||||||
@import 'bootstrap-responsive';
|
@import 'bootstrap-responsive';
|
||||||
|
@import "colors";
|
||||||
@import "_mixins.css.scss";
|
@import "_mixins.css.scss";
|
||||||
@import 'vendor/autoSuggest';
|
@import 'vendor/autoSuggest';
|
||||||
@import '_flash_messages.scss';
|
@import '_flash_messages.scss';
|
||||||
|
|
||||||
$blue: #3f8fba;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #2489ce;
|
color: #2489ce;
|
||||||
text: {
|
text: {
|
||||||
|
|
@ -144,7 +143,7 @@ body {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
border: 1px solid #bbb;
|
border: 1px solid #bbb;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid $border-grey;
|
||||||
border-bottom: 1px solid #aaa;
|
border-bottom: 1px solid #aaa;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -188,7 +187,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
color: #999;
|
color: $text-grey;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
text-shadow: 0 2px 0 #fff; } }
|
text-shadow: 0 2px 0 #fff; } }
|
||||||
|
|
||||||
|
|
@ -304,7 +303,7 @@ body {
|
||||||
font: {
|
font: {
|
||||||
weight: normal;
|
weight: normal;
|
||||||
size: small; };
|
size: small; };
|
||||||
color: #999999; } }
|
color: $text-grey; } }
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
float: right; }
|
float: right; }
|
||||||
|
|
@ -366,7 +365,7 @@ body {
|
||||||
top: 1px;
|
top: 1px;
|
||||||
padding: 0 2px;
|
padding: 0 2px;
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
background-color: #a40802;
|
background-color: $red;
|
||||||
line-height: 12px;
|
line-height: 12px;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
|
|
@ -409,13 +408,13 @@ footer {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
background: #eee;
|
background: $background-grey;
|
||||||
|
|
||||||
margin: {
|
margin: {
|
||||||
top: 10px; };
|
top: 10px; };
|
||||||
|
|
||||||
border: {
|
border: {
|
||||||
top: 1px solid #ddd;
|
top: 1px solid $border-grey;
|
||||||
};
|
};
|
||||||
|
|
||||||
min-height: 22px;
|
min-height: 22px;
|
||||||
|
|
@ -621,7 +620,7 @@ select {
|
||||||
padding: 2px 7px;
|
padding: 2px 7px;
|
||||||
margin: 5px 6px;
|
margin: 5px 6px;
|
||||||
background: {
|
background: {
|
||||||
color: #eee;
|
color: $background-grey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -655,7 +654,7 @@ select {
|
||||||
span {
|
span {
|
||||||
padding: 2px 10px;
|
padding: 2px 10px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #999;
|
color: $text-grey;
|
||||||
background: {
|
background: {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -698,13 +697,13 @@ select {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
margin-top: 3px;
|
margin-top: 3px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header-nav a {
|
#header-nav a {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
color: #939393;
|
color: $header-grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header-nav > div {
|
#header-nav > div {
|
||||||
|
|
@ -1090,7 +1089,7 @@ select#aspect_ids_ {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
color: inherit;
|
color: inherit;
|
||||||
background-color: #EEE;
|
background-color: $background-grey;
|
||||||
-webkit-border-radius: 6px;
|
-webkit-border-radius: 6px;
|
||||||
-moz-border-radius: 6px;
|
-moz-border-radius: 6px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
@ -1126,7 +1125,7 @@ input#q.search {
|
||||||
}
|
}
|
||||||
&:active {
|
&:active {
|
||||||
color: #444;
|
color: #444;
|
||||||
text-shadow: 0 1px 0 #fafafa;
|
text-shadow: 0 1px 0 $highlight-white;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
@include opacity(1);
|
@include opacity(1);
|
||||||
|
|
@ -1258,8 +1257,8 @@ input#q.search {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #000;
|
color: #000;
|
||||||
margin: 5px 0px 5px 0px;
|
margin: 5px 0px 5px 0px;
|
||||||
border-top: solid 1px #DDD;
|
border-top: solid 1px $border-grey;
|
||||||
border-bottom: solid 1px #DDD;
|
border-bottom: solid 1px $border-grey;
|
||||||
padding: 5px 0px 2px 0px;
|
padding: 5px 0px 2px 0px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
img {
|
img {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
@import "colors";
|
||||||
@import 'mixins';
|
@import 'mixins';
|
||||||
@import 'new_styles/new_mixins';
|
@import 'new_styles/new_mixins';
|
||||||
@import 'new_styles/variables';
|
@import 'new_styles/variables';
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ form.block-form {
|
||||||
/* mainly bootstrap overrides */
|
/* mainly bootstrap overrides */
|
||||||
.control-group {
|
.control-group {
|
||||||
margin : 0;
|
margin : 0;
|
||||||
border-bottom : 1px solid #ddd;
|
border-bottom : 1px solid $border-grey;
|
||||||
|
|
||||||
.control-label,
|
.control-label,
|
||||||
input[type=text],
|
input[type=text],
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
text-decoration: none;;
|
text-decoration: none;;
|
||||||
color: #000;
|
color: #000;
|
||||||
margin: 10px 0px 10px 0px;
|
margin: 10px 0px 10px 0px;
|
||||||
border-top: solid 1px #DDD;
|
border-top: solid 1px $border-grey;
|
||||||
border-bottom: solid 1px #DDD;
|
border-bottom: solid 1px $border-grey;
|
||||||
padding: 10px 0px 5px 0px;
|
padding: 10px 0px 5px 0px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
// the COPYRIGHT file.
|
// the COPYRIGHT file.
|
||||||
|
|
||||||
@import "mixins";
|
@import "mixins";
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
body, html{
|
body, html{
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
|
@ -50,7 +51,7 @@ header{
|
||||||
|
|
||||||
footer{
|
footer{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
background-color: #eee;
|
background-color: $background-grey;
|
||||||
border-top: 1px solid #ccc;
|
border-top: 1px solid #ccc;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
|
@import "colors";
|
||||||
|
|
||||||
body {
|
body {
|
||||||
direction: rtl;
|
direction: rtl;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
|
@ -313,7 +315,7 @@ ul.left_nav .item_count, ul.left_nav .edit {
|
||||||
|
|
||||||
.stream_container {
|
.stream_container {
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
border-right: 1px solid #DDDDDD;
|
border-right: 1px solid $border-grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stream .new_message .right input[type=reset] {
|
.stream .new_message .right input[type=reset] {
|
||||||
|
|
|
||||||
|
|
@ -122,7 +122,7 @@ form p {
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
color: #999;
|
color: $text-grey;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding-top: 7px;
|
padding-top: 7px;
|
||||||
left: 8px;
|
left: 8px;
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ $bluebg: #e7f2f7;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #777777;
|
color: $link-grey;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
color: #424242;
|
color: #424242;
|
||||||
}
|
}
|
||||||
i.heart.gray:hover {
|
i.heart.gray:hover {
|
||||||
color: #a40802;
|
color: $red;
|
||||||
}
|
}
|
||||||
i.heart.red:hover {
|
i.heart.red:hover {
|
||||||
color: #f55f5a;
|
color: #f55f5a;
|
||||||
|
|
@ -111,7 +111,7 @@
|
||||||
.no_comments {
|
.no_comments {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
background-color: #eee;
|
background-color: $background-grey;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@include border-radius(4px);
|
@include border-radius(4px);
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ input.button {
|
||||||
}
|
}
|
||||||
|
|
||||||
.button .selected {
|
.button .selected {
|
||||||
@include linear-gradient(#f0f0f0,#fafafa,29%,85%);
|
@include linear-gradient(#f0f0f0,$highlight-white,29%,85%);
|
||||||
|
|
||||||
border-top: 1px solid #aaa;
|
border-top: 1px solid #aaa;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue