From 39ec89a22160c2669bcce6e2ae211f937c9acd95 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 11 Apr 2015 13:37:24 -0400 Subject: [PATCH 01/28] Remove unused list classes --- app/assets/stylesheets/app/_main.scss | 48 +------------------ .../stylesheets/app/components/panels.scss | 4 -- 2 files changed, 1 insertion(+), 51 deletions(-) diff --git a/app/assets/stylesheets/app/_main.scss b/app/assets/stylesheets/app/_main.scss index 079718675..67e524b15 100644 --- a/app/assets/stylesheets/app/_main.scss +++ b/app/assets/stylesheets/app/_main.scss @@ -10,35 +10,15 @@ a:focus { text-decoration: none; } -// -- general ------------------- -.truncate { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} .ellipsis { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } -.multiline-ellipsis { - overflow: hidden; - display: -webkit-box; - -webkit-line-clamp: 2; - -webkit-box-orient: vertical; - text-overflow: -o-ellipsis-lastline; -} .no-wrap { white-space: nowrap; } -.noselect { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} + .img-rounded { border-radius: $border-radius-base; } @@ -116,15 +96,8 @@ input[type=week] { } // -- lists --------------------- -.list-inline-piped { - > li + li { - border-left: 1px solid $brand-divider; - padding-left: 5px + 4px; // + 4px accounts for inline-block whitespace - } -} .list-inline-media { - // @extend .list-inline; display: inline-block; > li { @@ -137,25 +110,6 @@ input[type=week] { } } -.list-piped { - // @extend .list-inline; - - > li + li { - border-left: 1px solid $brand-divider; - padding-left: 5px + 4px; // + 4px accounts for inline-block whitespace - } -} - -.list-grid { - // @extend .list-reset; - @include clearfix; - - > li { - float: left; - padding: $padding-small-vertical; - } -} - // pill lists .pill-hover { border-radius: 50px; diff --git a/app/assets/stylesheets/app/components/panels.scss b/app/assets/stylesheets/app/components/panels.scss index 581be2992..536a9ad4a 100644 --- a/app/assets/stylesheets/app/components/panels.scss +++ b/app/assets/stylesheets/app/components/panels.scss @@ -70,10 +70,6 @@ h6.panel-title { border-radius: 0; } -.panel-body > .list-grid { - margin: - $padding-small-vertical; -} - .panel-group { .panel + .panel { margin-top: 15px; From 4fb0d91859f4e188838a8357361137748ab12058 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 11 Apr 2015 13:40:46 -0400 Subject: [PATCH 02/28] Remove duplicated text styles These are being overridden in the browser by `utilities/_type` --- app/assets/stylesheets/app/_main.scss | 36 --------------------------- 1 file changed, 36 deletions(-) diff --git a/app/assets/stylesheets/app/_main.scss b/app/assets/stylesheets/app/_main.scss index 67e524b15..73fe78694 100644 --- a/app/assets/stylesheets/app/_main.scss +++ b/app/assets/stylesheets/app/_main.scss @@ -23,45 +23,9 @@ a:focus { border-radius: $border-radius-base; } -// -- headers ------------------- -h1, h2, h3, h4, h5, h6 { - font-family: $font-family-sans-serif; - font-weight: bold; - line-height: $headings-line-height; -} -h1, .h1 { - font-size: $font-size-h1; // 30px/48px - line-height: 4rem; -} -h2, .h2 { - font-size: $font-size-h2; // 30px/36px - line-height: 3rem; -} -h3, .h3 { - font-size: $font-size-h3; // 24px/30px - line-height: 2.5rem; -} -h4, .h4 { - font-size: $font-size-h4; // 18px/24px - line-height: 2rem; -} -h5, .h5 { - font-size: $font-size-h5; // 16px/24px - line-height: 2rem; -} -h6, .h6 { - font-size: $font-size-h6; // 14px/18px - line-height: 1.5rem; -} - // -- code ---------------------- -pre, code, samp { - font-family: $font-family-monospace; - font-size: inherit; -} code { color: $red; - background-color: $gray-6; } mark, .mark { From 755a97e7bb981ed2a40215d82ad2f94c4f8d45de Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 11 Apr 2015 15:33:17 -0400 Subject: [PATCH 03/28] Remove a *lot* of completely unused CSS --- .../app/components/accordion-grid.scss | 8 -- .../stylesheets/app/components/bounty.scss | 18 --- .../stylesheets/app/components/brand.scss | 13 -- .../stylesheets/app/components/comments.scss | 29 ----- .../stylesheets/app/components/counter.scss | 15 --- .../stylesheets/app/components/cue.scss | 17 --- .../stylesheets/app/components/devbar.scss | 17 --- .../app/components/discussion.scss | 3 - .../stylesheets/app/components/drawer.scss | 27 ---- .../app/components/general-copy.scss | 101 --------------- .../app/components/img_overlay.scss | 11 +- .../stylesheets/app/components/page.scss | 4 - .../app/components/quote-slider.scss | 97 --------------- .../stylesheets/app/components/team-grid.scss | 115 ------------------ app/assets/stylesheets/app/slop.scss | 98 --------------- .../app/temp/style-guide-updates.scss | 9 +- app/assets/stylesheets/base/_type.scss | 4 - 17 files changed, 2 insertions(+), 584 deletions(-) delete mode 100644 app/assets/stylesheets/app/components/bounty.scss delete mode 100644 app/assets/stylesheets/app/components/comments.scss delete mode 100644 app/assets/stylesheets/app/components/cue.scss delete mode 100644 app/assets/stylesheets/app/components/devbar.scss delete mode 100644 app/assets/stylesheets/app/components/discussion.scss delete mode 100644 app/assets/stylesheets/app/components/drawer.scss delete mode 100644 app/assets/stylesheets/app/components/general-copy.scss delete mode 100644 app/assets/stylesheets/app/components/quote-slider.scss delete mode 100644 app/assets/stylesheets/app/components/team-grid.scss diff --git a/app/assets/stylesheets/app/components/accordion-grid.scss b/app/assets/stylesheets/app/components/accordion-grid.scss index 27fd452df..dc2eedb99 100644 --- a/app/assets/stylesheets/app/components/accordion-grid.scss +++ b/app/assets/stylesheets/app/components/accordion-grid.scss @@ -52,11 +52,3 @@ } } } - -.accordian-grid { - -} - -// -- Delta's ------------ -// -// http://assembly.com/about diff --git a/app/assets/stylesheets/app/components/bounty.scss b/app/assets/stylesheets/app/components/bounty.scss deleted file mode 100644 index d0e7cb512..000000000 --- a/app/assets/stylesheets/app/components/bounty.scss +++ /dev/null @@ -1,18 +0,0 @@ -.bounty-description { - h1 { - font-size: $font-size-h3; - } - - h2 { - font-size: $font-size-h4; - } - - h3, - h4 { - font-size: $font-size-h5; - } - - p { - color: $gray-5; - } -} diff --git a/app/assets/stylesheets/app/components/brand.scss b/app/assets/stylesheets/app/components/brand.scss index 9173ae07b..75327c918 100644 --- a/app/assets/stylesheets/app/components/brand.scss +++ b/app/assets/stylesheets/app/components/brand.scss @@ -1,19 +1,6 @@ -// Catchall baseclass - -.navbar-brand { - font-size: 18px; -} - .brand { font-weight: 800; letter-spacing: 1.5pt; text-transform: uppercase; line-height: inherit; - - > .icon { - font-size: 32px; - vertical-align: middle; - position: relative; - top: -1px; - } } diff --git a/app/assets/stylesheets/app/components/comments.scss b/app/assets/stylesheets/app/components/comments.scss deleted file mode 100644 index 2a1da9114..000000000 --- a/app/assets/stylesheets/app/components/comments.scss +++ /dev/null @@ -1,29 +0,0 @@ -.comments-header { - // - .comments-filter { - a { - color:$black; - opacity:0.5; - // - &:hover, &.active { - opacity:1; - } - } - } -} -.comments-footer { - // - &:before { - content: ""; - position: absolute; - bottom: 0; - left: -3.25rem; - width: 50px; - height: 80%; - background: #fff; - } - ::-webkit-input-placeholder { color:#777; } - ::-moz-placeholder { color:#777; opacity: 1; } - :-ms-input-placeholder { color:#777; } - input:-moz-placeholder { color:#777; opacity: 1; } -} diff --git a/app/assets/stylesheets/app/components/counter.scss b/app/assets/stylesheets/app/components/counter.scss index 9a714d632..f6072c2ca 100644 --- a/app/assets/stylesheets/app/components/counter.scss +++ b/app/assets/stylesheets/app/components/counter.scss @@ -2,18 +2,3 @@ @include clearfix; border: 1px solid $gray-5; } - -.counter-btn { - float: left; - border: none; - - &.active { - cursor: default; - } -} - -.counter-badge { - float: right; - color: $gray-2; - background-color: transparent; -} diff --git a/app/assets/stylesheets/app/components/cue.scss b/app/assets/stylesheets/app/components/cue.scss deleted file mode 100644 index 23328b680..000000000 --- a/app/assets/stylesheets/app/components/cue.scss +++ /dev/null @@ -1,17 +0,0 @@ -.cue { - margin: 0 auto; - color: white; - font-size: $font-size-small; - - .icon { - font-size: 24px; - margin: 0 6px; - } -} - -.cue-container { - z-index: 0; - left: 0; - right: 0; - padding: 24px 0; -} diff --git a/app/assets/stylesheets/app/components/devbar.scss b/app/assets/stylesheets/app/components/devbar.scss deleted file mode 100644 index e3327f89c..000000000 --- a/app/assets/stylesheets/app/components/devbar.scss +++ /dev/null @@ -1,17 +0,0 @@ -.devbar:before { - display: block; - content: ''; - background: url(image-path('devbar.png')) repeat-x; - height: 4px; - width: 100%; -} - -@media -(-webkit-min-device-pixel-ratio: 1.5), -(min-resolution: 144dpi){ - /* Retina-specific stuff here */ - - .devbar:before { - background-size: 18px 6px; - } -} diff --git a/app/assets/stylesheets/app/components/discussion.scss b/app/assets/stylesheets/app/components/discussion.scss deleted file mode 100644 index eb023d9f9..000000000 --- a/app/assets/stylesheets/app/components/discussion.scss +++ /dev/null @@ -1,3 +0,0 @@ -.discussion { - padding: 0 20px; -} diff --git a/app/assets/stylesheets/app/components/drawer.scss b/app/assets/stylesheets/app/components/drawer.scss deleted file mode 100644 index a655957a1..000000000 --- a/app/assets/stylesheets/app/components/drawer.scss +++ /dev/null @@ -1,27 +0,0 @@ -/** - * ReactCSSTransition `drawer` - * Notes: `opacity` is initialized at 0.01 and not 0 - * so that React can listen to the `transitionend` event. - */ - -.drawer-enter { - max-height: 0px; - opacity: 0.01; - - &.drawer-enter-active { - max-height: 500px; - opacity: 1; - transition: max-height 1.2s ease, opacity 1.2s ease; - } -} - -.drawer-leave { - max-height: 500px; - opacity: 1; - - &.drawer-leave-active { - max-height: 0px; - opacity: 0.01; - transition: max-height 0.8s ease, opacity 0.8s ease; - } -} diff --git a/app/assets/stylesheets/app/components/general-copy.scss b/app/assets/stylesheets/app/components/general-copy.scss deleted file mode 100644 index ff3fa3bcf..000000000 --- a/app/assets/stylesheets/app/components/general-copy.scss +++ /dev/null @@ -1,101 +0,0 @@ -/* >> General Copy Component >>>>>>>>>>>>>>>>>>>> -=========================================== */ - -// -- Base Components ------------ -.general-copy { - @import 'app/temp/style-guide-updates'; // < details: https://assembly.com/meta/bounties/1038 - // - position: relative; - overflow: hidden; - padding-top: 3rem; - padding-bottom: 3rem; - background-color: $gray-6; - // - .footer { // bootstrap overwrite - margin:0; - padding:0; - border: none; - } - > .header, > .main, > .footer { - position: relative; - z-index: 5; - @extend .text-2; - p { - @extend .text-2; - } - } - .excerpt-header { - padding: 10rem 4rem 4rem 4rem; - background-image: url(http://placehold.it/1440x450/8B909A/91969f&text=background+img); - background-position: center; - background-size: cover; - background-repeat: no-repeat; - @media screen and (min-width: 768px) { - background-image: url(http://placehold.it/2560x900/8B909A/91969f&text=background+img); - } - // - &.text-light { - color: $white; - } - } - .left-offset { - margin-left: 0; - padding: 0 0 2rem 0; - @media screen and (min-width: 768px) { - padding-right: 30px; - } - @media screen and (min-width: 1160px) { - margin-left: -6rem; - } - } - .vertical-offset { - margin-top: -15px; - margin-bottom: 10px; - } - .caption-left { - figcaption { - text-align: left; - } - } - .caption-center { - figcaption { - text-align: center; - } - } - .caption-right { - figcaption { - text-align: right; - } - } - figure { - figcaption { - padding-top: 0.5rem; - color: $gray-2; - } - } -} - - -// -- Delta's ------------ -// -// http://assembly.com/about - -.general-copy { - padding-top: 5rem; - padding-bottom: 5rem; - // - h2, h3, p { - margin-top: 0; - margin-bottom: 2rem; - } - .excerpt-header { - background-image: url(http://placehold.it/1440x450/8B909A/91969f&text=background+img); - @media screen and (min-width: 768px) { - background-image: url(http://placehold.it/2560x900/8B909A/91969f&text=background+img); - } - // - .text-light { - color: $white; - } - } -} diff --git a/app/assets/stylesheets/app/components/img_overlay.scss b/app/assets/stylesheets/app/components/img_overlay.scss index 20f456201..6e4f2047c 100644 --- a/app/assets/stylesheets/app/components/img_overlay.scss +++ b/app/assets/stylesheets/app/components/img_overlay.scss @@ -1,12 +1,3 @@ -.overlay, -.img-overlay { +.overlay { position: relative; } - -.overlay-content, -.img-overlay-content { - position: absolute; - bottom: 0; - width: 100%; - color: white; -} diff --git a/app/assets/stylesheets/app/components/page.scss b/app/assets/stylesheets/app/components/page.scss index 77d30f350..441f94cc3 100644 --- a/app/assets/stylesheets/app/components/page.scss +++ b/app/assets/stylesheets/app/components/page.scss @@ -8,10 +8,6 @@ padding-top: $line-height-computed * 2; } -.page-with-header { - padding-top: 0; -} - .page-alert { margin-top: - $line-height-computed * 2; border-top: none; diff --git a/app/assets/stylesheets/app/components/quote-slider.scss b/app/assets/stylesheets/app/components/quote-slider.scss deleted file mode 100644 index feaef6994..000000000 --- a/app/assets/stylesheets/app/components/quote-slider.scss +++ /dev/null @@ -1,97 +0,0 @@ -/* >> Quote Slider Component >>>>>>>>>>>>>>>>>>>> -=========================================== */ - -/* --- HTML Pattern ---------------- -
-
-

Section Header Content

-
-
-

Section Main Content

-
- -
-*/ - -// -- Base Component ------------ -.quote-slider { - .carousel { - position: relative; - text-align: center; - } - .item { - width: 480px - } - .header { - color: $gray-3; - margin: 0 0 1.5rem 0; - // - a { - color: $gray-2; - // - &:hover { - text-decoration: underline; - } - &:last-child { - color: $gray-3; - } - } - } - .quote-avatar { - display: inline-block; - margin: 0 0 1rem 0; - // - img { - width: 8rem; - -webkit-border-radius: 4rem; - -moz-border-radius: 4rem; - border-radius: 4rem; - } - } - h3, p { - margin: 0; - } - .main { - margin: 0 0 3.5rem 0; - } - .owl-theme .owl-controls .owl-page { - vertical-align: middle; - width: 3rem; - height: 3rem; - // - &.active { - width: 4rem; - height: 4rem; - } - } - .owl-theme .owl-controls .owl-page span { - margin: 0 auto; - position: relative; - top: 50%; - -webkit-transform: translateY(-50%); - -moz-transform: translateY(-50%); - transform: translateY(-50%); - background: $gray-3; - } - .owl-theme .owl-controls .owl-page.active span { - width: 100%; - height: 100%; - background: transparent url('/assets/quote-slider-nav-active.png') no-repeat; - background-size: cover; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - opacity: 1; - } -} - -// -- Delta's ------------ -// -// http://assembly.com/about - -.quote-slider-about { - // background-color: $gray-4; -} diff --git a/app/assets/stylesheets/app/components/team-grid.scss b/app/assets/stylesheets/app/components/team-grid.scss deleted file mode 100644 index b12e17b21..000000000 --- a/app/assets/stylesheets/app/components/team-grid.scss +++ /dev/null @@ -1,115 +0,0 @@ -/* >> Team Grid Unit Component >>>>>>>>>>>>>>>>>>>> -=========================================== */ - -// -- Base Components ------------ -.team-grid-unit { - @import 'app/temp/style-guide-updates'; // < details: https://assembly.com/meta/bounties/1038 - // - position: relative; - padding-top: 5rem; - padding-bottom: 5rem; - .footer { // bootstrap overwrite - margin:0; - padding:0; - border: none; - } - > .header, > .main, > .footer { - position: relative; - z-index: 5; - @extend .text-2; - p { - @extend .text-2; - } - } - > .header { - // - p { - margin-bottom: 2rem; - } - } -} - -.team-grid { - > ul { - margin: 0; - padding: 0; - text-align: center; - @media screen and (min-width: 768px){ - text-align: left; - } - // - > li { - display: inline-block; - margin: 0 0 3rem 0; - padding: 0 2.25rem 0 0; - list-style-type: none; - @media screen and (min-width: 768px){ - width:33.33333% - } - @media screen and (min-width: 992px){ - width: auto; - } - // - > a { - // - &:first-child { - display: block; - margin-bottom: 0.5rem; - // - &:hover { - background-color: $black; - } - } - > img { - width: 100%; - @media screen and (min-width: 992px){ - width: 200px; - } - // - &:hover { - opacity: 0.5; - } - } - } - } - a.nametag { - display: block; - margin-bottom: 0.75rem; - font-weight: bold; - color:$black; - // - &:hover { - text-decoration: underline; - } - } - } - ul.social-row { - margin: 0; - padding: 0; - // - li { - display: inline-block; - margin: 0 0.5rem 0 0; - padding: 0; - list-style-type: none; - } - a { - display: block; - width: 1.5rem; - // - svg { - fill: $gray-3 - } - // - &:hover { - svg { - fill: $gray-2 - } - } - } - } -} - -// -- Delta's ------------ -// -// http://assembly.com/about diff --git a/app/assets/stylesheets/app/slop.scss b/app/assets/stylesheets/app/slop.scss index 175e7b096..ee79ced31 100644 --- a/app/assets/stylesheets/app/slop.scss +++ b/app/assets/stylesheets/app/slop.scss @@ -5,21 +5,6 @@ $hero-secondary: #CBCBBC; $text-copy: #353439; $text-accent: #BC9454; -// $home-primary: desaturate(darken($text-accent, 30%), 15%); -// $home-primary: desaturate(darken($brand-primary, 35%), 20%); -$home-primary: darken(#3E90CA, 30%); -$home-secondary: #A8D7F9; - -$product-helpful: #494d52; -$product-family-table: #77b8b4; -$product-buckets: #f9d233; -$product-really-good-emails: #ff6560; -$product-assembly-meta: darken(#2b8ec3, 2%); - -$user-whale: #63a4ae; -$user-chexee: #98658e; -$user-davidkaneda: #848C24; - .hero { background: linear-gradient(to bottom, transparent 0%, transparent 70%, $hero-primary 100%), url(image-path('getting-started/hero.jpg')) no-repeat; background-position: top center; @@ -28,85 +13,6 @@ $user-davidkaneda: #848C24; padding-top: 6rem; } - - -.page-home { - - .block-image-bg { - background: linear-gradient(140deg, rgba($home-primary, 0.92), rgba(desaturate(darken($home-primary, 15%), 10%), 0.92)), url(image-path('home/home.jpg')); - background-size: cover; - background-position: center; - - h1 { - margin-top: $line-height-computed * 1.5; - margin-bottom: $line-height-computed * 3; - line-height: 1.15; - font-weight: 200; - } - - @media screen and (min-width: $screen-sm-min) { - h1 { - font-size: 82px; - } - } - - .lead { - font-size: 32px; - line-height: 1.4; - } - } - - h6 { - font-size: 14px; - } -} - -.devbar:before { - display: none; -} - -.list-ruled { - - li { - border-bottom: 1px dotted $brand-divider; - padding: 8px 0; - - &:last-child { - border: none; - } - } -} - -.list-team { - - h6 { - margin-top: $line-height-computed * 0.75; - text-transform: none; - letter-spacing: 0; - - span, - span a { - color: $gray-2; - font-weight: normal; - font-size: 92.5%; - } - } - - .team-person { - - } -} - - -// ported from application.scss - 1-3-15 - -.hide-long-links { - .long-link { display: none; } - .stream-event-attachment { display: none; } - .commit-message { display: none; } - .gray-2 { color: $link-color; } -} - .alpha { margin-top: 0 !important; } @@ -119,10 +25,6 @@ $user-davidkaneda: #848C24; @extend .omega; } -.fb-like { - top: -7px; -} - .sub-thingy { margin-top: -24px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid $brand-divider; diff --git a/app/assets/stylesheets/app/temp/style-guide-updates.scss b/app/assets/stylesheets/app/temp/style-guide-updates.scss index dacc2cb5e..e3bb93e5c 100644 --- a/app/assets/stylesheets/app/temp/style-guide-updates.scss +++ b/app/assets/stylesheets/app/temp/style-guide-updates.scss @@ -32,13 +32,6 @@ h6, .h6 { text-transform: uppercase; } -// temp h4 due to bug -- bounty link - -.xh4 { - font-size: 1.5rem; // 18/22 - line-height: 1.9rem; -} - // General Copy .text-1 { // 20/28 @@ -52,4 +45,4 @@ h6, .h6 { .text-3 { // 13/20 font-size: 1.1rem; line-height: 1.7rem; -} \ No newline at end of file +} diff --git a/app/assets/stylesheets/base/_type.scss b/app/assets/stylesheets/base/_type.scss index 43855fed7..6dafa5c72 100644 --- a/app/assets/stylesheets/base/_type.scss +++ b/app/assets/stylesheets/base/_type.scss @@ -9,10 +9,6 @@ body { font-size: 1.25rem; } -h1, h2, h3, h4, h5, h6 { - font-weight: bold; -} - h1 { font-size: 42px; line-height: 48px; From 5d2c9eb2b3391a6fd2165406a72f46b005d4a54e Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 11 Apr 2015 16:05:26 -0400 Subject: [PATCH 04/28] Remove more components --- app/assets/stylesheets/_bootstrap.scss | 1 - .../app/components/full-slider.scss | 86 ------------------- .../app/components/hover_toggle.scss | 7 -- .../stylesheets/app/components/invite.scss | 10 --- 4 files changed, 104 deletions(-) delete mode 100644 app/assets/stylesheets/app/components/full-slider.scss delete mode 100644 app/assets/stylesheets/app/components/hover_toggle.scss delete mode 100644 app/assets/stylesheets/app/components/invite.scss diff --git a/app/assets/stylesheets/_bootstrap.scss b/app/assets/stylesheets/_bootstrap.scss index ab9693a2b..2256a63b6 100644 --- a/app/assets/stylesheets/_bootstrap.scss +++ b/app/assets/stylesheets/_bootstrap.scss @@ -24,7 +24,6 @@ @import "bootstrap/navbar"; @import "bootstrap/breadcrumbs"; @import "bootstrap/pagination"; -@import "bootstrap/pager"; @import "bootstrap/labels"; @import "bootstrap/badges"; @import "bootstrap/thumbnails"; diff --git a/app/assets/stylesheets/app/components/full-slider.scss b/app/assets/stylesheets/app/components/full-slider.scss deleted file mode 100644 index 5e7945e02..000000000 --- a/app/assets/stylesheets/app/components/full-slider.scss +++ /dev/null @@ -1,86 +0,0 @@ -/* >> Full Slider Component >>>>>>>>>>>>>>>>>>>> -=========================================== */ - -/* --- HTML Pattern ---------------- -
-
-

Section Header Content

-
-
-

Section Main Content

-
- -
-*/ - -// -- Base Component ------------ -.full-slider { - @import 'app/temp/style-guide-updates'; // < details: https://assembly.com/meta/bounties/1038 - width: 100%; - background: $gray-4; - // - .carousel { - position: relative; - max-width: 1440px; - margin: 0 auto; - width: 100%; - } - img { - display: block; - width: 100%; - height: auto; - } - .owl-theme .owl-controls { - display:none !important; - position: absolute; - bottom: 0; - width: 100%; - background: rgba(53,57,65,0.25); - @media screen and (min-width: 480px) { - display:block !important; - } - } - .owl-theme .owl-controls .item-link { - position: relative; - display: block; - width: 80px; - height: 80px; - margin: 0; - outline: none; - } - .owl-theme .owl-controls .owl-page { - vertical-align: bottom; - // - span { - @extend .item-link; - background: $black; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - opacity: 1; - } - &.active, &:hover { - background: $black; - // - span { - opacity: 0.25; - } - } - } - .owl-pagination{ - margin: 0 auto; - overflow: hidden; - cursor: default; - } -} - -// -- Delta's ------------ -// -// http://assembly.com/about - -.full-slider-about { - // background-color: $gray-4; -} \ No newline at end of file diff --git a/app/assets/stylesheets/app/components/hover_toggle.scss b/app/assets/stylesheets/app/components/hover_toggle.scss deleted file mode 100644 index 79c9b2ab0..000000000 --- a/app/assets/stylesheets/app/components/hover_toggle.scss +++ /dev/null @@ -1,7 +0,0 @@ -.hover-toggle-target { - visibility: hidden; -} - -.hover-toggle-wrapper:hover .hover-toggle-target { - visibility: visible; -} diff --git a/app/assets/stylesheets/app/components/invite.scss b/app/assets/stylesheets/app/components/invite.scss deleted file mode 100644 index 859e482b9..000000000 --- a/app/assets/stylesheets/app/components/invite.scss +++ /dev/null @@ -1,10 +0,0 @@ -/* TODO: (whatupdave) this could be more modular */ - -.invite-enter { - opacity: 0.01; - transition: opacity 1s ease-in; -} - -.invite-enter.invite-enter-active { - opacity: 1; -} \ No newline at end of file From ac5468033e6a733516d3d85fed0348d80991c343 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 11 Apr 2015 17:42:46 -0400 Subject: [PATCH 05/28] =?UTF-8?q?More=20=F0=9F=9A=BF=20on=20the=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stylesheets/app/components/entry.scss | 3 - .../app/components/form_control.scss | 17 -- .../stylesheets/app/components/hero.scss | 77 --------- .../stylesheets/app/components/panels.scss | 15 +- .../app/components/product_header.scss | 34 ---- .../stylesheets/app/components/tile.scss | 158 ------------------ 6 files changed, 2 insertions(+), 302 deletions(-) delete mode 100644 app/assets/stylesheets/app/components/entry.scss delete mode 100644 app/assets/stylesheets/app/components/form_control.scss delete mode 100644 app/assets/stylesheets/app/components/product_header.scss diff --git a/app/assets/stylesheets/app/components/entry.scss b/app/assets/stylesheets/app/components/entry.scss deleted file mode 100644 index e4b4e1ab1..000000000 --- a/app/assets/stylesheets/app/components/entry.scss +++ /dev/null @@ -1,3 +0,0 @@ -.entry-unread { - background-color: #ecf5fd; -} diff --git a/app/assets/stylesheets/app/components/form_control.scss b/app/assets/stylesheets/app/components/form_control.scss deleted file mode 100644 index fb9bc2497..000000000 --- a/app/assets/stylesheets/app/components/form_control.scss +++ /dev/null @@ -1,17 +0,0 @@ -.form-control-tagged { - input { - margin: 0; - padding: 2px 7px !important; - border: none; - font-size: 14px; - line-height: 14px; - - &:focus { - outline: none; - } - - &:first-child { - padding-left: 0; - } - } -} diff --git a/app/assets/stylesheets/app/components/hero.scss b/app/assets/stylesheets/app/components/hero.scss index 33b12b59a..bce428699 100644 --- a/app/assets/stylesheets/app/components/hero.scss +++ b/app/assets/stylesheets/app/components/hero.scss @@ -179,80 +179,3 @@ } } } -.hero-about-bottom { - padding-top: 5rem; - padding-bottom: 5rem; - color: $white; - background: none; - background-color: $black; - @media screen and (min-width: 768px){ - padding-top: 13.25rem; - padding-bottom: 8.75rem; - } - // - &:after { - content: ''; - opacity: .75; - position: absolute; - z-index: 0; - top: 0; - left: 0; - bottom: 0; - right: 0; - background-image: url(../assets/hero-office-bg-dark.jpg); - background-position: center; - background-size: cover; - background-repeat: no-repeat; - @media screen and (min-width: 768px){ - background-image: url(../assets/hero-office-bg-dark-lg.jpg); - } - } - > .main { - margin-bottom: 0; - - } - h1 { - color: $white; - margin-top:0; - margin-bottom: 3rem; - text-shadow: 0 0 75px rgba(53, 57, 65, 0.85); - @media screen and (min-width: 480px){ - margin-bottom: 2rem; - } - } - p { - display: none; - @media screen and (min-width: 480px){ - display: block; - margin-bottom: 4rem; - font-size: 1.7rem !important; - line-height: 2.25rem !important; - } - @media screen and (min-width: 768px){ - margin-bottom: 6rem; - } - } - .social-row { - ul { - margin: 0; - padding: 0; - // - li { - display: inline-block; - margin: 0 1.5rem; - padding: 0; - list-style-type: none; - // - img { - width: 60px; - } - } - a { - // - &:hover { - opacity: 0.5; - } - } - } - } -} diff --git a/app/assets/stylesheets/app/components/panels.scss b/app/assets/stylesheets/app/components/panels.scss index 536a9ad4a..4ccb776aa 100644 --- a/app/assets/stylesheets/app/components/panels.scss +++ b/app/assets/stylesheets/app/components/panels.scss @@ -54,26 +54,15 @@ h6.panel-title { font-size: $font-size-h6; } -.panel-nav { - > li > a { - font-weight: bold; - color: $text-color; - - &:hover { - color: $link-color; - } - } -} - .panel-body + .panel-heading { border-top: 1px solid $panel-inner-border; border-radius: 0; } .panel-group { + margin-bottom: 15px; + .panel + .panel { margin-top: 15px; } - - margin-bottom: 15px; } diff --git a/app/assets/stylesheets/app/components/product_header.scss b/app/assets/stylesheets/app/components/product_header.scss deleted file mode 100644 index 2024366bd..000000000 --- a/app/assets/stylesheets/app/components/product_header.scss +++ /dev/null @@ -1,34 +0,0 @@ -.product-header { - border-bottom: 1px solid rgba(100, 100, 100, 0.15); - // - h1 { - @media screen and (min-width: 768px) { - margin-top: -3px; - margin-left: -1px; - } - } - h4 { - @media screen and (min-width: 768px) { - margin: -7px 0 5px; - } - } - .app-icon { - max-width:82px; - @media screen and (min-width: 768px) { - max-width:100%; - } - } - - .primary { - li{ - a { - font-size:13px; - color:#666D78; - // - &:hover { - color: #1e66a3; - } - } - } - } -} diff --git a/app/assets/stylesheets/app/components/tile.scss b/app/assets/stylesheets/app/components/tile.scss index b85c72c0b..476b2cdf3 100644 --- a/app/assets/stylesheets/app/components/tile.scss +++ b/app/assets/stylesheets/app/components/tile.scss @@ -46,111 +46,6 @@ font-weight: 500; margin-bottom: 1rem; } - .corner { - position: absolute; - top:0; - right:0; - width: 5rem; - height: 5rem; - border-top-right-radius: 0.5rem; - background: -moz-linear-gradient(45deg, rgba(200,0,0,0) 0%, rgba(200,0,0,0) 50%, rgba(200,0,0,1) 51%, rgba(200,0,0,1) 100%); - background: -webkit-linear-gradient(45deg, rgba(200,0,0,0) 0%,rgba(200,0,0,0) 50%,rgba(200,0,0,1) 51%,rgba(200,0,0,1) 100%); - background: linear-gradient(45deg, rgba(200,0,0,0) 0%,rgba(200,0,0,0) 50%,rgba(200,0,0,1) 51%,rgba(200,0,0,1) 100%); - -webkit-transform:rotate(360deg); - - // below should be optimized into a mixin later - &.accent-brown { - background: -moz-linear-gradient(45deg, rgba(127,112,77,0) 0%, rgba(127,112,77,0) 50%, rgba(127,112,77,1) 51%, rgba(127,112,77,1) 100%); - background: -webkit-linear-gradient(45deg, rgba(127,112,77,0) 0%,rgba(127,112,77,0) 50%,rgba(127,112,77,1) 51%,rgba(127,112,77,1) 100%); - background: linear-gradient(45deg, rgba(127,112,77,0) 0%,rgba(127,112,77,0) 50%,rgba(127,112,77,1) 51%,rgba(127,112,77,1) 100%); - } - &.accent-blue { - background: -moz-linear-gradient(45deg, rgba(38,92,101,0) 0%, rgba(38,92,101,0) 50%, rgba(38,92,101,1) 51%, rgba(38,92,101,1) 100%); - background: -webkit-linear-gradient(45deg, rgba(38,92,101,0) 0%,rgba(38,92,101,0) 50%,rgba(38,92,101,1) 51%,rgba(38,92,101,1) 100%); - background: linear-gradient(45deg, rgba(38,92,101,0) 0%,rgba(38,92,101,0) 50%,rgba(38,92,101,1) 51%,rgba(38,92,101,1) 100%); - } - &.accent-red { - background: -moz-linear-gradient(45deg, rgba(240,85,72,0) 0%, rgba(240,85,72,0) 50%, rgba(240,85,72,1) 51%, rgba(240,85,72,1) 100%); - background: -webkit-linear-gradient(45deg, rgba(240,85,72,0) 0%,rgba(240,85,72,0) 50%,rgba(240,85,72,1) 51%,rgba(240,85,72,1) 100%); - background: linear-gradient(45deg, rgba(240,85,72,0) 0%,rgba(240,85,72,0) 50%,rgba(240,85,72,1) 51%,rgba(240,85,72,1) 100%); - } - &.accent-green { - background: -moz-linear-gradient(45deg, rgba(146,185,71,0) 0%, rgba(146,185,71,0) 50%, rgba(146,185,71,1) 51%, rgba(146,185,71,1) 100%); - background: -webkit-linear-gradient(45deg, rgba(146,185,71,0) 0%,rgba(146,185,71,0) 50%,rgba(146,185,71,1) 51%,rgba(146,185,71,1) 100%); - background: linear-gradient(45deg, rgba(146,185,71,0) 0%,rgba(146,185,71,0) 50%,rgba(146,185,71,1) 51%,rgba(146,185,71,1) 100%); - } - } -} - -.action-bar { - // - > .item { - width: 120%; - margin: 0 -10%; - display:inline-block; - vertical-align: middle; - border-bottom: 1px solid $gray-5; - // - &:last-child{ - margin-right: -5px; - border:none; - } - } -} - -a.comment-count { - display: inline-block; - vertical-align: middle; - color:$gray-2; - font-size: 1.1rem; - line-height: 1.7rem; - font-weight: bold; - // - &:hover, &:active { - // - .svg-icon-comment { - fill:$gray-2; - } - } - .svg-icon-comment { - width: 1.3rem; - margin-right:0.5rem; - fill:$gray-3; - } -} -.action-group { - display:table; - table-layout: fixed; - width: 100%; - // - > .item { - display: table-cell; - width:5rem; - vertical-align: middle; - text-align: center; - border-right: 1px solid $gray-5; - // - &:first-child { - width:auto; - text-align: left; - padding-right: 2rem; - padding-left: 2rem; - } - &:last-child { - border-right:none; - } - } - .action-icon { - padding: 1rem 0; - - // - &:hover, &:active { - // - .svg-icon-share { - fill:$gray-2; - } - } - } } .action-icon.red { @@ -179,52 +74,6 @@ a.comment-count { fill:$gray-3; } -.progress-group { - display:table; - table-layout:fixed; - width: 100%; - padding: 1.5rem 2rem 1.5rem 2rem; - // - > .item { - display:table-cell; - vertical-align: middle; - // - &:last-child{ - width: 5rem; - text-align: center; - } - } - progress { - display:block; - width:100%; - height: 1rem; - border-radius: 1rem; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: none; - color: $green; - } - progress::-webkit-progress-bar { - background: $gray-5; - border-radius: 1rem; - } - progress::-webkit-progress-value { - border-radius: 1rem; - background: -webkit-linear-gradient(top, $green 1%,$green 100%); - } - progress::-moz-progress-bar { - border-radius: 1rem; - background: -moz-linear-gradient(top, $green 1%,$green 100%); - } -} -.progress-count { - color:$black; - font-size: 1.1rem; - line-height: 1.7rem; - font-weight: bold; -} - // -- Size Variations ------------ .tile-small { @@ -242,10 +91,3 @@ a.comment-count { margin-top: -1rem; } } - -// -- Delta's ------------ -// -// http://assembly.com/ideas -// .tile-ideas { -// margin-bottom: 0; -// } From c06cb21c6a4a3bbb48fb271dd3dc160209bb30bb Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:09:24 -0400 Subject: [PATCH 06/28] Remove Bootstrap thumbnails --- app/assets/stylesheets/_bootstrap.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/stylesheets/_bootstrap.scss b/app/assets/stylesheets/_bootstrap.scss index 2256a63b6..70537042f 100644 --- a/app/assets/stylesheets/_bootstrap.scss +++ b/app/assets/stylesheets/_bootstrap.scss @@ -26,7 +26,6 @@ @import "bootstrap/pagination"; @import "bootstrap/labels"; @import "bootstrap/badges"; -@import "bootstrap/thumbnails"; @import "bootstrap/alerts"; @import "bootstrap/progress-bars"; @import "bootstrap/media"; From 13e2bf7c90dfeec97b27e209bebc9eaad9b5540f Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:09:43 -0400 Subject: [PATCH 07/28] Fix Bootstrap input addon bg color --- app/assets/stylesheets/vars/_base.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/vars/_base.scss b/app/assets/stylesheets/vars/_base.scss index ae978043e..9a721cd19 100644 --- a/app/assets/stylesheets/vars/_base.scss +++ b/app/assets/stylesheets/vars/_base.scss @@ -132,7 +132,7 @@ $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-s $legend-color: $gray-2; $legend-border-color: #e5e5e5; -$input-group-addon-bg: $gray-1; +$input-group-addon-bg: #fff; $input-group-addon-border-color: $input-border; From dcf7a08758a8bccbde8a8649ec85eded31c6fba0 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:45:56 -0400 Subject: [PATCH 08/28] Remove even more unused CSS --- .../components/drag_and_drop_view.js.jsx | 2 +- app/assets/stylesheets/admin.scss | 387 ------------------ .../app/components/accordion-grid.scss | 54 --- .../stylesheets/app/components/footer.scss | 6 - .../stylesheets/app/components/heart.scss | 1 - .../stylesheets/app/components/labels.scss | 35 -- .../app/components/list_groups.scss | 43 +- .../stylesheets/app/components/markdown.scss | 9 - .../stylesheets/app/components/marker.scss | 8 - .../stylesheets/app/components/media.scss | 28 -- .../app/components/page_header.scss | 6 - .../stylesheets/app/components/slider.scss | 4 - app/assets/stylesheets/app/slop.scss | 37 +- app/views/admin/bounties/index.html.erb | 14 +- 14 files changed, 29 insertions(+), 605 deletions(-) delete mode 100644 app/assets/stylesheets/app/components/accordion-grid.scss delete mode 100644 app/assets/stylesheets/app/components/footer.scss delete mode 100644 app/assets/stylesheets/app/components/labels.scss diff --git a/app/assets/javascripts/components/drag_and_drop_view.js.jsx b/app/assets/javascripts/components/drag_and_drop_view.js.jsx index c3743b253..5f6d91a48 100644 --- a/app/assets/javascripts/components/drag_and_drop_view.js.jsx +++ b/app/assets/javascripts/components/drag_and_drop_view.js.jsx @@ -16,7 +16,7 @@ var DragAndDrop = React.createClass({ {this.props.alt} .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { color: #fff; } - -/* BOUNTIES DASHBOARD */ - -.charts_container { - margin-top:10px; -} - -h5 { - font-family: Arial, sans-serif; -} - -/*lines*/ -.chart { - display: inline-block; -} -#legend { - display: inline-block; - position: relative; - float:right; -} - -.chart_container { - float: left; - position: relative; - margin: 10px 5px; -} - -/* graph */ - -.rickshaw_graph { - position: relative; -} -.rickshaw_graph svg { - display: block; - overflow: hidden; -} - -/* ticks */ - -.rickshaw_graph .x_tick { - position: absolute; - top: 0; - bottom: 0; - width: 0px; - border-left: 1px dotted rgba(0, 0, 0, 0.2); - pointer-events: none; -} -.rickshaw_graph .x_tick .title { - position: absolute; - font-size: 12px; - font-family: Arial, sans-serif; - opacity: 0.5; - white-space: nowrap; - margin-left: 3px; - bottom: 1px; -} - -/* annotations */ - -.rickshaw_annotation_timeline { - height: 1px; - border-top: 1px solid #e0e0e0; - margin-top: 10px; - position: relative; -} -.rickshaw_annotation_timeline .annotation { - position: absolute; - height: 6px; - width: 6px; - margin-left: -2px; - top: -3px; - border-radius: 5px; - background-color: rgba(0, 0, 0, 0.25); -} -.rickshaw_graph .annotation_line { - position: absolute; - top: 0; - bottom: -6px; - width: 0px; - border-left: 2px solid rgba(0, 0, 0, 0.3); - display: none; -} -.rickshaw_graph .annotation_line.active { - display: block; -} - -.rickshaw_graph .annotation_range { - background: rgba(0, 0, 0, 0.1); - display: none; - position: absolute; - top: 0; - bottom: -6px; -} -.rickshaw_graph .annotation_range.active { - display: block; -} -.rickshaw_graph .annotation_range.active.offscreen { - display: none; -} - -.rickshaw_annotation_timeline .annotation .content { - background: white; - color: black; - opacity: 0.9; - padding: 5px 5px; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.8); - border-radius: 3px; - position: relative; - z-index: 20; - font-size: 12px; - padding: 6px 8px 8px; - top: 18px; - left: -11px; - width: 160px; - display: none; - cursor: pointer; -} -.rickshaw_annotation_timeline .annotation .content:before { - content: "\25b2"; - position: absolute; - top: -11px; - color: white; - text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.8); -} -.rickshaw_annotation_timeline .annotation.active, -.rickshaw_annotation_timeline .annotation:hover { - background-color: rgba(0, 0, 0, 0.8); - cursor: none; -} -.rickshaw_annotation_timeline .annotation .content:hover { - z-index: 50; -} -.rickshaw_annotation_timeline .annotation.active .content { - display: block; -} -.rickshaw_annotation_timeline .annotation:hover .content { - display: block; - z-index: 50; -} -.rickshaw_graph .y_axis, -.rickshaw_graph .x_axis_d3 { - fill: none; -} -.rickshaw_graph .y_ticks .tick line, -.rickshaw_graph .x_ticks_d3 .tick { - stroke: rgba(0, 0, 0, 0.16); - stroke-width: 2px; - shape-rendering: crisp-edges; - pointer-events: none; -} -.rickshaw_graph .y_grid .tick, -.rickshaw_graph .x_grid_d3 .tick { - z-index: -1; - stroke: rgba(0, 0, 0, 0.20); - stroke-width: 1px; - stroke-dasharray: 1 1; -} -.rickshaw_graph .y_grid .tick[data-y-value="0"] { - stroke-dasharray: 1 0; -} -.rickshaw_graph .y_grid path, -.rickshaw_graph .x_grid_d3 path { - fill: none; - stroke: none; -} -.rickshaw_graph .y_ticks path, -.rickshaw_graph .x_ticks_d3 path { - fill: none; - stroke: #808080; -} -.rickshaw_graph .y_ticks text, -.rickshaw_graph .x_ticks_d3 text { - opacity: 0.5; - font-size: 12px; - pointer-events: none; -} -.rickshaw_graph .x_tick.glow .title, -.rickshaw_graph .y_ticks.glow text { - fill: black; - color: black; - text-shadow: - -1px 1px 0 rgba(255, 255, 255, 0.1), - 1px -1px 0 rgba(255, 255, 255, 0.1), - 1px 1px 0 rgba(255, 255, 255, 0.1), - 0px 1px 0 rgba(255, 255, 255, 0.1), - 0px -1px 0 rgba(255, 255, 255, 0.1), - 1px 0px 0 rgba(255, 255, 255, 0.1), - -1px 0px 0 rgba(255, 255, 255, 0.1), - -1px -1px 0 rgba(255, 255, 255, 0.1); -} -.rickshaw_graph .x_tick.inverse .title, -.rickshaw_graph .y_ticks.inverse text { - fill: white; - color: white; - text-shadow: - -1px 1px 0 rgba(0, 0, 0, 0.8), - 1px -1px 0 rgba(0, 0, 0, 0.8), - 1px 1px 0 rgba(0, 0, 0, 0.8), - 0px 1px 0 rgba(0, 0, 0, 0.8), - 0px -1px 0 rgba(0, 0, 0, 0.8), - 1px 0px 0 rgba(0, 0, 0, 0.8), - -1px 0px 0 rgba(0, 0, 0, 0.8), - -1px -1px 0 rgba(0, 0, 0, 0.8); -} - -/* graph detail */ -.rickshaw_graph .detail { - pointer-events: none; - position: absolute; - top: 0; - z-index: 2; - background: rgba(0, 0, 0, 0.1); - bottom: 0; - width: 1px; - transition: opacity 0.25s linear; - -moz-transition: opacity 0.25s linear; - -o-transition: opacity 0.25s linear; - -webkit-transition: opacity 0.25s linear; -} -.rickshaw_graph .detail.inactive { - opacity: 0; -} -.rickshaw_graph .detail .item.active { - opacity: 1; -} -.rickshaw_graph .detail .x_label { - font-family: Arial, sans-serif; - border-radius: 3px; - padding: 6px; - opacity: 0.5; - border: 1px solid #e0e0e0; - font-size: 12px; - position: absolute; - background: white; - white-space: nowrap; -} -.rickshaw_graph .detail .x_label.left { - left: 0; -} -.rickshaw_graph .detail .x_label.right { - right: 0; -} -.rickshaw_graph .detail .item { - position: absolute; - z-index: 2; - border-radius: 3px; - padding: 0.25em; - font-size: 12px; - font-family: Arial, sans-serif; - opacity: 0; - background: rgba(0, 0, 0, 0.4); - color: white; - border: 1px solid rgba(0, 0, 0, 0.4); - margin-left: 1em; - margin-right: 1em; - margin-top: -1em; - white-space: nowrap; -} -.rickshaw_graph .detail .item.left { - left: 0; -} -.rickshaw_graph .detail .item.right { - right: 0; -} -.rickshaw_graph .detail .item.active { - opacity: 1; - background: rgba(0, 0, 0, 0.8); -} -.rickshaw_graph .detail .item:after { - position: absolute; - display: block; - width: 0; - height: 0; - - content: ""; - - border: 5px solid transparent; -} -.rickshaw_graph .detail .item.left:after { - top: 1em; - left: -5px; - margin-top: -5px; - border-right-color: rgba(0, 0, 0, 0.8); - border-left-width: 0; -} -.rickshaw_graph .detail .item.right:after { - top: 1em; - right: -5px; - margin-top: -5px; - border-left-color: rgba(0, 0, 0, 0.8); - border-right-width: 0; -} -.rickshaw_graph .detail .dot { - width: 4px; - height: 4px; - margin-left: -3px; - margin-top: -3.5px; - border-radius: 5px; - position: absolute; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.6); - box-sizing: content-box; - -moz-box-sizing: content-box; - background: white; - border-width: 2px; - border-style: solid; - display: none; - background-clip: padding-box; -} -.rickshaw_graph .detail .dot.active { - display: block; -} - -/* legend */ -.rickshaw_legend { - font-family: Arial; - font-size: 12px; - color: white; - background: #404040; - display: inline-block; - padding: 12px 5px; - border-radius: 2px; - position: relative; -} -.rickshaw_legend:hover { - z-index: 10; -} -.rickshaw_legend .swatch { - width: 10px; - height: 10px; - border: 1px solid rgba(0, 0, 0, 0.2); -} -.rickshaw_legend .line { - clear: both; - line-height: 140%; - padding-right: 15px; - display:inline; -} -.rickshaw_legend .line .swatch { - display: inline-block; - margin-right: 3px; - border-radius: 2px; -} -.rickshaw_legend .label { - margin: 0; - white-space: nowrap; - display: inline; - font-size: inherit; - background-color: transparent; - color: inherit; - font-weight: normal; - line-height: normal; - padding: 0px; - text-shadow: none; -} -.rickshaw_legend .action:hover { - opacity: 0.6; -} -.rickshaw_legend .action { - margin-right: 0.2em; - font-size: 10px; - opacity: 0.2; - cursor: pointer; - font-size: 14px; -} -.rickshaw_legend .line.disabled { - opacity: 0.4; -} -.rickshaw_legend ul { - list-style-type: none; - margin: 0; - padding: 0; - margin: 2px; - cursor: pointer; -} -.rickshaw_legend li { - padding: 0 0 0 2px; - min-width: 80px; - white-space: nowrap; -} -.rickshaw_legend li:hover { - background: rgba(255, 255, 255, 0.08); - border-radius: 3px; -} -.rickshaw_legend li:active { - background: rgba(255, 255, 255, 0.2); - border-radius: 3px; -} diff --git a/app/assets/stylesheets/app/components/accordion-grid.scss b/app/assets/stylesheets/app/components/accordion-grid.scss deleted file mode 100644 index dc2eedb99..000000000 --- a/app/assets/stylesheets/app/components/accordion-grid.scss +++ /dev/null @@ -1,54 +0,0 @@ -/* >> Accordion Grid & Accordion Grid Unit Component >>>>>>>>>>>>>>>>>>>> -=========================================== */ - -/* - -## note - accordion-grid can be used independent of flip-grid-unit - --- HTML Pattern ---------------- -
-
-

Section Header Content

-
-
-
    -
  • -
  • -
  • -
  • -
-
- -
-*/ - -// -- Base Component ------------ -.accordion-grid-unit { - display:none; - @import 'app/temp/style-guide-updates'; // < details: https://assembly.com/meta/bounties/1038 - // - position: relative; - padding-top: 3rem; - padding-bottom: 3rem; - background-color: $gray-4; - .footer { // bootstrap overwrite - margin:0; - padding:0; - border: none; - } - > .header, > .main { - margin-bottom: 2rem; - } - > .header, > .main, > .footer { - position: relative; - z-index: 5; - text-align: center; - @extend .text-2; - // - p { - @extend .text-2; - } - } -} diff --git a/app/assets/stylesheets/app/components/footer.scss b/app/assets/stylesheets/app/components/footer.scss deleted file mode 100644 index 7675bb523..000000000 --- a/app/assets/stylesheets/app/components/footer.scss +++ /dev/null @@ -1,6 +0,0 @@ -.footer { - margin-top: $line-height-computed * 2; - padding-top: $line-height-computed * 2; - padding-bottom: $line-height-computed * 2; - border-top: 1px solid $brand-divider; -} diff --git a/app/assets/stylesheets/app/components/heart.scss b/app/assets/stylesheets/app/components/heart.scss index a1ae383ea..9625eed99 100644 --- a/app/assets/stylesheets/app/components/heart.scss +++ b/app/assets/stylesheets/app/components/heart.scss @@ -16,7 +16,6 @@ } } - .huge-heart.red { .svg-icon-huge-heart .path1, .svg-icon-huge-heart .path2 { fill:$red; diff --git a/app/assets/stylesheets/app/components/labels.scss b/app/assets/stylesheets/app/components/labels.scss deleted file mode 100644 index 4a71e07d3..000000000 --- a/app/assets/stylesheets/app/components/labels.scss +++ /dev/null @@ -1,35 +0,0 @@ -.label { - border-radius: 2px; - font-size: 14px; - font-weight: normal; - padding: 2px 7px; -} - -.label-urgent { - background-color: $green; -} - -.label-now { - background-color: $green; -} - -.label-someday { - background-color: $yellow; -} - -.label-muted { - background-color: white; - border: 1px solid $gray-6; - color: $gray-5; - - &:hover, &.hover { - border: 1px solid darken($gray-6, 10%); - color: darken($gray-5, 10%) !important; - } -} - -.label-outlined { - background: transparent; - box-shadow: inset 0 0 0 1px $brand-border; - color: $gray-2; -} diff --git a/app/assets/stylesheets/app/components/list_groups.scss b/app/assets/stylesheets/app/components/list_groups.scss index 1700922da..f54ca2545 100644 --- a/app/assets/stylesheets/app/components/list_groups.scss +++ b/app/assets/stylesheets/app/components/list_groups.scss @@ -3,40 +3,29 @@ background-color: transparent; } - -.list-group-padded { - > .list-group-item { - padding: 20px 0; - } -} - -.list-group-item-condensed { - padding: 4px 10px; +.list-group-padded > .list-group-item { + padding: 20px 0; } -.list-group-breakout { - > .list-group-item { - border-left: none; - border-right: none; +.list-group-breakout > .list-group-item { + border-left: none; + border-right: none; - &:first-child { - border-top: none; - } + &:first-child { + border-top: none; + } - &:last-child { - border-bottom: none; - } + &:last-child { + border-bottom: none; } } -.list-group-padded.list-group-breakout { - > .list-group-item { - &:first-child { - padding-top: 0; - } +.list-group-padded.list-group-breakout > .list-group-item { + &:first-child { + padding-top: 0; + } - &:last-child { - padding-bottom: 0; - } + &:last-child { + padding-bottom: 0; } } diff --git a/app/assets/stylesheets/app/components/markdown.scss b/app/assets/stylesheets/app/components/markdown.scss index 2523ac89c..b3c29d0cc 100644 --- a/app/assets/stylesheets/app/components/markdown.scss +++ b/app/assets/stylesheets/app/components/markdown.scss @@ -56,15 +56,6 @@ } } -// (@chrislloyd) Custom offset for comments in a timeline. It would be nice if -// this was a consistant style -.markdown-wide-quotes { - blockquote { - margin-left: calc(-2rem - 4px - 6px); - padding-left: calc(2rem + 6px); - } -} - // hack to shrink images in bounties but not the lightbox .shrink-images { img { max-width: 50%;} diff --git a/app/assets/stylesheets/app/components/marker.scss b/app/assets/stylesheets/app/components/marker.scss index a426b5e2e..d7dc21126 100644 --- a/app/assets/stylesheets/app/components/marker.scss +++ b/app/assets/stylesheets/app/components/marker.scss @@ -16,14 +16,6 @@ } } -.marker-blip { - background-color: $gray-5; - border: 2px solid white; - width: 10px; - height: 10px; - margin: 6px 10px 0; -} - .marker-default { border-color: $gray-5; color: $gray-5; diff --git a/app/assets/stylesheets/app/components/media.scss b/app/assets/stylesheets/app/components/media.scss index ee5dee9cc..91352e2e3 100644 --- a/app/assets/stylesheets/app/components/media.scss +++ b/app/assets/stylesheets/app/components/media.scss @@ -8,31 +8,3 @@ margin-left: $grid-gutter-width; } } - -// TODO: Line-height is fixed -.media-heading { - @include clearfix; - padding-top: (22px - 20px) / 2; - padding-bottom: (22px - 20px) / 2; - margin-bottom: $padding-base-vertical; - color: $gray-2; - line-height: 22px; - - a { - color: inherit; - font-weight: bold; - } - - .event-award:hover { - color: $brand-success; - } -} - -.media-footer { - margin-top: $padding-xl-vertical; - border-top: 1px solid $brand-divider; - padding-top: $padding-base-vertical; - padding-bottom: $padding-base-vertical; - - color: $gray-2; -} diff --git a/app/assets/stylesheets/app/components/page_header.scss b/app/assets/stylesheets/app/components/page_header.scss index a40f6bd0d..7503e3a1f 100644 --- a/app/assets/stylesheets/app/components/page_header.scss +++ b/app/assets/stylesheets/app/components/page_header.scss @@ -8,12 +8,6 @@ } } -.page-footer { - font-size: $font-size-large; - box-shadow: 0 -1px 0 0 rgba($black, 0.02); - border-top: 1px solid $gray-6 -} - // TODO Think about moving in with .summary .page-header-meta { margin-top: $line-height-computed / 4; diff --git a/app/assets/stylesheets/app/components/slider.scss b/app/assets/stylesheets/app/components/slider.scss index cf229a908..82ca354c1 100644 --- a/app/assets/stylesheets/app/components/slider.scss +++ b/app/assets/stylesheets/app/components/slider.scss @@ -5,7 +5,6 @@ margin-top: 30px; margin-bottom: $line-height-computed; position: relative; - } .slider-bar { @@ -65,6 +64,3 @@ } } } - -.slider-examples { -} diff --git a/app/assets/stylesheets/app/slop.scss b/app/assets/stylesheets/app/slop.scss index ee79ced31..3b25065d2 100644 --- a/app/assets/stylesheets/app/slop.scss +++ b/app/assets/stylesheets/app/slop.scss @@ -21,10 +21,6 @@ $text-accent: #BC9454; margin-bottom: 0 !important; } -.neuter-paragraphs > p:last-child { - @extend .omega; -} - .sub-thingy { margin-top: -24px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid $brand-divider; @@ -36,47 +32,26 @@ $text-accent: #BC9454; margin-top: $line-height-computed * 2; margin-bottom: $line-height-computed * 2; padding: ($line-height-computed * 2) ($grid-gutter-width * 2); - outline: none; -} -.play-button:hover { - background-color: rgba(black, .2); -} + &:hover { + background-color: rgba(black, 0.2); + } -.play-button:focus { - outline: none; + &:focus { + outline: none; + } } .masthead-gradient { @include gradient-vertical(rgb(34, 157, 171), rgb(16, 53, 97), 24%, 100%); - position: absolute; - top: 0; left: 0; right: 0; bottom: 0; - opacity: .7; } -.feature { - padding-bottom: $padding-large-vertical; - position: relative; - - > .glyphicon { - display: block; - font-size: $font-size-large; - margin-left: -36px; - position: absolute; - } - - > .feature-title { - line-height: 1.1; - margin-top: 0; - } -} - // TODO This was @chrislloyd's hack. To be replaced when more time is spent on the welcome banner. .welcome-banner-left { diff --git a/app/views/admin/bounties/index.html.erb b/app/views/admin/bounties/index.html.erb index ae881b423..3a4d2fef8 100644 --- a/app/views/admin/bounties/index.html.erb +++ b/app/views/admin/bounties/index.html.erb @@ -1,25 +1,25 @@ <%= stylesheet_link_tag 'admin' %>
-
+
Avg bounty lifespan: <%= @avg_bounty_age['avg_life'] %>

Append weeks=N param to get more history

-
-
+
+
Bounties Created
-
+
Award Ratio
-
+
Close Ratio
-
+
@@ -178,5 +178,3 @@ ] }); - - From bc2e76c2161294ecbb6861b0c85cf30a609ce4d2 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:46:18 -0400 Subject: [PATCH 09/28] Remove duplicated basscss-border code --- .../stylesheets/-deprecated/_border.scss | 33 ------------------- .../stylesheets/basscss/_color-borders.scss | 2 +- 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 app/assets/stylesheets/-deprecated/_border.scss diff --git a/app/assets/stylesheets/-deprecated/_border.scss b/app/assets/stylesheets/-deprecated/_border.scss deleted file mode 100644 index fb91c03ad..000000000 --- a/app/assets/stylesheets/-deprecated/_border.scss +++ /dev/null @@ -1,33 +0,0 @@ -$border-color: $brand-border; - -// Borders - -.no-border { border: none } -.border { border: 1px solid $brand-border } -.border-top { border-top: 1px solid $brand-border } -.border-right { border-top: 1px solid $brand-border } -.border-bottom { border-bottom: 1px solid $brand-border } -.border-left { border-top: 1px solid $brand-border } - -// Border Radii - -.not-rounded { border-radius: 0 } -.rounded { border-radius: 3px } -.rounded-top { - border-top-left-radius: 3px; - border-top-right-radius: 3px; -} -.rounded-right { - border-top-right-radius: 3px; - border-bottom-right-radius: 3px; -} -.rounded-bottom { - border-bottom-left-radius: 3px; - border-bottom-right-radius: 3px; -} -.rounded-left { - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; -} - -.circle { border-radius: 50% } diff --git a/app/assets/stylesheets/basscss/_color-borders.scss b/app/assets/stylesheets/basscss/_color-borders.scss index ff598033b..2990e4756 100644 --- a/app/assets/stylesheets/basscss/_color-borders.scss +++ b/app/assets/stylesheets/basscss/_color-borders.scss @@ -1,7 +1,7 @@ // Converted Variables -$border-color: $gray-6; +$border-color: $brand-border; $border-width: 1px; $border-radius: 4px; From a9409fb39fc79d5b7e4782a1ec9bfefdcae7bd21 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:47:01 -0400 Subject: [PATCH 10/28] Remove .img-rounded --- app/assets/stylesheets/app/_main.scss | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/assets/stylesheets/app/_main.scss b/app/assets/stylesheets/app/_main.scss index 73fe78694..70ed519e3 100644 --- a/app/assets/stylesheets/app/_main.scss +++ b/app/assets/stylesheets/app/_main.scss @@ -19,10 +19,6 @@ a:focus { white-space: nowrap; } -.img-rounded { - border-radius: $border-radius-base; -} - // -- code ---------------------- code { color: $red; From 67f439bc1c266cd384c9c17c201940eb6951cb8f Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:48:08 -0400 Subject: [PATCH 11/28] Clean up footer --- app/views/shared/_footer.html.erb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/views/shared/_footer.html.erb b/app/views/shared/_footer.html.erb index bfc948dfe..f819319f2 100644 --- a/app/views/shared/_footer.html.erb +++ b/app/views/shared/_footer.html.erb @@ -1,5 +1,3 @@ -
- -
+
+ <%= render 'shared/footer_nav' %> +
From 472d9bc24ff30ce1bb83379708de568991b0c78b Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:52:31 -0400 Subject: [PATCH 12/28] Remove .play-button and .masthead-gradient --- app/assets/stylesheets/app/slop.scss | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/app/assets/stylesheets/app/slop.scss b/app/assets/stylesheets/app/slop.scss index 3b25065d2..dc981d774 100644 --- a/app/assets/stylesheets/app/slop.scss +++ b/app/assets/stylesheets/app/slop.scss @@ -27,31 +27,6 @@ $text-accent: #BC9454; margin-bottom: 24px; } -.play-button { - display: inline-block; - margin-top: $line-height-computed * 2; - margin-bottom: $line-height-computed * 2; - padding: ($line-height-computed * 2) ($grid-gutter-width * 2); - - &:hover { - background-color: rgba(black, 0.2); - } - - &:focus { - outline: none; - } -} - -.masthead-gradient { - @include gradient-vertical(rgb(34, 157, 171), rgb(16, 53, 97), 24%, 100%); - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - opacity: .7; -} - // TODO This was @chrislloyd's hack. To be replaced when more time is spent on the welcome banner. .welcome-banner-left { From ab182b53f36b9fe7d7d9c2fe89a4855434d2c420 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sun, 12 Apr 2015 00:52:51 -0400 Subject: [PATCH 13/28] Consistent quotes on app.scss --- app/assets/stylesheets/application.scss | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 3c9efc44c..c18fa9935 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -4,17 +4,17 @@ @import "constants"; // Libraries -@import 'bootstrap'; +@import "bootstrap"; -@import 'app/mixins/*'; +@import "app/mixins/*"; -@import 'basscss'; +@import "basscss"; -@import '_deprecated/basspluss'; -@import '_deprecated/utility'; -@import '_deprecated/nocss_vars'; -@import '_deprecated/nocss'; -@import '_deprecated/nocss_mq'; +@import "_deprecated/basspluss"; +@import "_deprecated/utility"; +@import "_deprecated/nocss_vars"; +@import "_deprecated/nocss"; +@import "_deprecated/nocss_mq"; @import "app/main"; @@ -24,4 +24,4 @@ @import "components/*"; @import "app/slop"; -@import 'c3/c3' +@import "c3/c3"; From 15deb9e8e0058e7068e3092ebbf914c49791c11e Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Mon, 13 Apr 2015 22:50:39 -0400 Subject: [PATCH 14/28] Fix border color --- app/assets/stylesheets/vars/_colors.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/vars/_colors.scss b/app/assets/stylesheets/vars/_colors.scss index 20b442e95..aa2f2c139 100644 --- a/app/assets/stylesheets/vars/_colors.scss +++ b/app/assets/stylesheets/vars/_colors.scss @@ -45,7 +45,7 @@ $brand-danger: $red; $brand-muted: $gray-1; $brand-bg: #FAFAFA; -$brand-border: darken($gray-6, 10%); +$brand-border: $gray-5; $brand-divider: darken($brand-bg, 5%); $brand-shadow: rgba(100, 100, 100, 0.2); From 967fde5d198d87a9a87e63f3c355ee09f036698f Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 9 May 2015 14:59:30 -0400 Subject: [PATCH 15/28] Remove h7 --- app/assets/stylesheets/_deprecated/_nocss.scss | 5 ----- app/assets/stylesheets/app/components/apps.scss | 6 ------ app/assets/stylesheets/app/components/tile-grid.scss | 7 +------ app/assets/stylesheets/app/temp/style-guide-updates.scss | 5 ----- app/assets/stylesheets/email.scss | 3 +-- 5 files changed, 2 insertions(+), 24 deletions(-) diff --git a/app/assets/stylesheets/_deprecated/_nocss.scss b/app/assets/stylesheets/_deprecated/_nocss.scss index 37a6028ed..c72d1695c 100644 --- a/app/assets/stylesheets/_deprecated/_nocss.scss +++ b/app/assets/stylesheets/_deprecated/_nocss.scss @@ -1661,11 +1661,6 @@ $px4: 4px; @extend .#{$pre}fs1_1; @extend .#{$pre}lh1_7; } -.#{$pre}h7, .#{$pre}h7 h7, .#{$pre}h7 a, .#{$pre}h7 p { // 12/12 - @extend .#{$pre}fs1; - @extend .#{$pre}lh1; - @extend .#{$pre}caps; -} .#{$pre}text-1, .#{$pre}text-1 a, .#{$pre}text-1 p { // 20/28 @extend .#{$pre}fs1_7; diff --git a/app/assets/stylesheets/app/components/apps.scss b/app/assets/stylesheets/app/components/apps.scss index 6a1c74765..3859f34d9 100644 --- a/app/assets/stylesheets/app/components/apps.scss +++ b/app/assets/stylesheets/app/components/apps.scss @@ -48,12 +48,6 @@ &:hover { background: $gray-4; } - - .h7 { - margin-bottom: 0.25rem; - font-weight: bold; - opacity: 0.3; - } } .pill-gray { diff --git a/app/assets/stylesheets/app/components/tile-grid.scss b/app/assets/stylesheets/app/components/tile-grid.scss index 1e9106837..dcc3b9f6a 100644 --- a/app/assets/stylesheets/app/components/tile-grid.scss +++ b/app/assets/stylesheets/app/components/tile-grid.scss @@ -22,7 +22,7 @@ // -- Base Component ------------ .tile-grid { - + .footer { // bootstrap overwrite margin:0; @@ -157,11 +157,6 @@ &:hover { background: $gray-4; } - .h7 { - margin-bottom: 0.25rem; - font-weight: bold; - opacity: 0.3; - } } .float-item:last-child { display:none; diff --git a/app/assets/stylesheets/app/temp/style-guide-updates.scss b/app/assets/stylesheets/app/temp/style-guide-updates.scss index e3bb93e5c..1e8578f2a 100644 --- a/app/assets/stylesheets/app/temp/style-guide-updates.scss +++ b/app/assets/stylesheets/app/temp/style-guide-updates.scss @@ -26,11 +26,6 @@ h6, .h6 { font-size: 1.1rem; // 13/20 line-height: 1.7rem; } -.h7, .h7 a { - font-size: 1rem; // 12/12 - line-height: 1rem; - text-transform: uppercase; -} // General Copy diff --git a/app/assets/stylesheets/email.scss b/app/assets/stylesheets/email.scss index ee440da51..74bc318e5 100644 --- a/app/assets/stylesheets/email.scss +++ b/app/assets/stylesheets/email.scss @@ -29,7 +29,7 @@ a.underline-hover:hover { text-decoration: underline; } .callout { display:inline-block; padding-right:4px; padding-left:4px; line-height: 20px; background-color: #feffbc; text-decoration: none; } -.h1,.h2,.h3,.h4,.h5,.h6,.h7 { font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight:normal; margin-bottom:15px; color:#000; } +.h1,.h2,.h3,.h4,.h5,.h6 { font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-weight:normal; margin-bottom:15px; color:#000; } .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small { font-size: 60%; color: #6f6f6f; line-height: 0; text-transform: none; } .h1 { font-size: 42px; mso-line-height-rule:exactly; line-height: 48px; } @@ -38,7 +38,6 @@ a.underline-hover:hover { text-decoration: underline; } .h4 { font-size: 18px; mso-line-height-rule:exactly; line-height: 22px; } .h5 { font-size: 15px; mso-line-height-rule:exactly; line-height: 20px; } .h6 { font-size: 13px; mso-line-height-rule:exactly; line-height: 20px; } -.h7 { font-size: 12px; mso-line-height-rule:exactly; line-height: 20px; } .text-1 { font-size: 20px; mso-line-height-rule:exactly; line-height: 28px; } .text-2 { font-size: 15px; mso-line-height-rule:exactly; line-height: 24px; } From 72f3a0984100934b85677da2cd9d254de2d090a0 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 9 May 2015 15:00:57 -0400 Subject: [PATCH 16/28] Remove text-3 --- app/assets/stylesheets/_deprecated/_nocss.scss | 4 ---- app/assets/stylesheets/app/temp/style-guide-updates.scss | 4 ---- app/assets/stylesheets/email.scss | 1 - 3 files changed, 9 deletions(-) diff --git a/app/assets/stylesheets/_deprecated/_nocss.scss b/app/assets/stylesheets/_deprecated/_nocss.scss index c72d1695c..b82648167 100644 --- a/app/assets/stylesheets/_deprecated/_nocss.scss +++ b/app/assets/stylesheets/_deprecated/_nocss.scss @@ -1670,10 +1670,6 @@ $px4: 4px; @extend .#{$pre}fs1_3; @extend .#{$pre}lh2; } -.#{$pre}text-3, .#{$pre}text-3 a, .#{$pre}text-3 p { // 13/20 - @extend .#{$pre}fs1_1; - @extend .#{$pre}lh1_7; -} // ### Misc ### diff --git a/app/assets/stylesheets/app/temp/style-guide-updates.scss b/app/assets/stylesheets/app/temp/style-guide-updates.scss index 1e8578f2a..52558e91c 100644 --- a/app/assets/stylesheets/app/temp/style-guide-updates.scss +++ b/app/assets/stylesheets/app/temp/style-guide-updates.scss @@ -37,7 +37,3 @@ h6, .h6 { font-size: 1.3rem; line-height: 2rem; } -.text-3 { // 13/20 - font-size: 1.1rem; - line-height: 1.7rem; -} diff --git a/app/assets/stylesheets/email.scss b/app/assets/stylesheets/email.scss index 74bc318e5..f6f42acd1 100644 --- a/app/assets/stylesheets/email.scss +++ b/app/assets/stylesheets/email.scss @@ -41,7 +41,6 @@ a.underline-hover:hover { text-decoration: underline; } .text-1 { font-size: 20px; mso-line-height-rule:exactly; line-height: 28px; } .text-2 { font-size: 15px; mso-line-height-rule:exactly; line-height: 24px; } -.text-3 { font-size: 13px; mso-line-height-rule:exactly; line-height: 20px; } .lh_48 { mso-line-height-rule:exactly; line-height: 48px; } .lh_36 { mso-line-height-rule:exactly; line-height: 36px; } From e9dd0d8722ab64e1aa33b3a5c4469980c6f4a82d Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 9 May 2015 15:01:46 -0400 Subject: [PATCH 17/28] Remove tranx --- .../stylesheets/_deprecated/_basspluss.scss | 22 ------------------- .../stylesheets/_deprecated/_nocss.scss | 20 ----------------- 2 files changed, 42 deletions(-) diff --git a/app/assets/stylesheets/_deprecated/_basspluss.scss b/app/assets/stylesheets/_deprecated/_basspluss.scss index ef013351e..b5a1bebdd 100644 --- a/app/assets/stylesheets/_deprecated/_basspluss.scss +++ b/app/assets/stylesheets/_deprecated/_basspluss.scss @@ -180,28 +180,6 @@ .pointer { cursor: pointer; } - -// ### transitions - -.tranx_fx { - -webkit-transition-duration: $transition-duration; - -webkit-transition-timing-function: $transition-function; - transition-duration: $transition-duration; - transition-timing-function: $transition-function; -} - -.tranx_m { - -webkit-transition-property: margin; - transition-property: margin; - @extend .tranx_fx; -} - -.tranx_p { - -webkit-transition-property: padding; - transition-property: padding; - @extend .tranx_fx; -} - // ### responsive // natively basscss has "sm, med, lg" prefixes for this, but we need more granular options // I propose the folowing standard .r###_selector diff --git a/app/assets/stylesheets/_deprecated/_nocss.scss b/app/assets/stylesheets/_deprecated/_nocss.scss index b82648167..a7877ef25 100644 --- a/app/assets/stylesheets/_deprecated/_nocss.scss +++ b/app/assets/stylesheets/_deprecated/_nocss.scss @@ -1676,23 +1676,3 @@ $px4: 4px; .#{$pre}open { max-height: 100%; } - -// ### Transitions ### -.#{$pre}tranx_fx { - -webkit-transition-duration: $transition-duration; - -webkit-transition-timing-function: $transition-function; - transition-duration: $transition-duration; - transition-timing-function: $transition-function; -} - -.#{$pre}tranx_m { - -webkit-transition-property: margin; - transition-property: margin; - // @extend .tranx_fx; -} - -.#{$pre}tranx_p { - -webkit-transition-property: padding; - transition-property: padding; - // @extend .tranx_fx; -} From 097f542855c394315b17c1cbff34dda4a7157c6a Mon Sep 17 00:00:00 2001 From: Lachlan Campbell Date: Sat, 9 May 2015 15:03:18 -0400 Subject: [PATCH 18/28] Remove .brand --- app/assets/stylesheets/app/components/brand.scss | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 app/assets/stylesheets/app/components/brand.scss diff --git a/app/assets/stylesheets/app/components/brand.scss b/app/assets/stylesheets/app/components/brand.scss deleted file mode 100644 index 75327c918..000000000 --- a/app/assets/stylesheets/app/components/brand.scss +++ /dev/null @@ -1,6 +0,0 @@ -.brand { - font-weight: 800; - letter-spacing: 1.5pt; - text-transform: uppercase; - line-height: inherit; -} From 47d95039cc457dbb66753439156123e1591365c7 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Sat, 9 May 2015 15:26:32 -0400 Subject: [PATCH 19/28] Continuing cruft excavation --- .../components/members_view.js.jsx | 2 +- .../components/ui/small_tile.js.jsx | 13 ----- .../stylesheets/app/components/apps.scss | 46 --------------- .../stylesheets/app/components/buttons.scss | 1 - .../stylesheets/app/components/card.scss | 5 -- .../stylesheets/app/components/chat.scss | 35 ------------ .../stylesheets/app/components/dashboard.scss | 10 +--- .../stylesheets/app/components/hero.scss | 40 ------------- .../stylesheets/app/components/jumbotron.scss | 1 - .../stylesheets/app/components/lightbox.scss | 56 ++++++------------- .../stylesheets/app/components/modals.scss | 12 ---- .../app/components/page_header.scss | 11 ---- .../app/components/tagged_input_group.scss | 3 - .../stylesheets/app/components/task_list.scss | 13 ----- .../stylesheets/app/components/tile.scss | 26 ++------- app/assets/stylesheets/email.scss | 2 - 16 files changed, 22 insertions(+), 254 deletions(-) delete mode 100644 app/assets/javascripts/components/ui/small_tile.js.jsx delete mode 100644 app/assets/stylesheets/app/components/tagged_input_group.scss diff --git a/app/assets/javascripts/components/members_view.js.jsx b/app/assets/javascripts/components/members_view.js.jsx index 1b93eb9ac..0819fc2bc 100644 --- a/app/assets/javascripts/components/members_view.js.jsx +++ b/app/assets/javascripts/components/members_view.js.jsx @@ -90,7 +90,7 @@ var OnlineUsersStore = require('../stores/online_users_store'); if (isMemberOnline(member)) { indicator = ( -
+
) } diff --git a/app/assets/javascripts/components/ui/small_tile.js.jsx b/app/assets/javascripts/components/ui/small_tile.js.jsx deleted file mode 100644 index 34feca3c3..000000000 --- a/app/assets/javascripts/components/ui/small_tile.js.jsx +++ /dev/null @@ -1,13 +0,0 @@ -var SmallTile = React.createClass({ - displayName: 'SmallTile', - - render: function() { - return ( -
- {this.props.children} -
- ); - } -}); - -module.exports = SmallTile; diff --git a/app/assets/stylesheets/app/components/apps.scss b/app/assets/stylesheets/app/components/apps.scss index 3859f34d9..ba1a96597 100644 --- a/app/assets/stylesheets/app/components/apps.scss +++ b/app/assets/stylesheets/app/components/apps.scss @@ -1,23 +1,3 @@ -// $app-top-height: 70px; -// -// .app-top { -// height: $app-top-height - 7; // sorry about the -7 -// } - -.app-main { - min-height: 15rem -} - -.app-logo { - // margin-top: -$app-top-height; - img { - width: 60px; - height: 60px; - background-color: $white; - border: solid 1px $gray-6; - } -} - .app-info { padding-left: 70px; } @@ -31,29 +11,3 @@ line-height: 1.2; font-size: 16px; } - -.app-tags { - line-height: 1.2; -} - -.big-block-button { - display: block; - margin: 1rem auto; - padding: 3rem 2rem; - text-align: center; - color:$gray-1; - font-size: 1.5rem; - background: $gray-5; - - &:hover { - background: $gray-4; - } -} - -.pill-gray { - background-color: $gray-3; - border-radius:1rem; - font-size:13px; - line-height:2rem; - padding: 0.2rem 1.5rem; -} diff --git a/app/assets/stylesheets/app/components/buttons.scss b/app/assets/stylesheets/app/components/buttons.scss index a1ef8f1cf..81b817658 100644 --- a/app/assets/stylesheets/app/components/buttons.scss +++ b/app/assets/stylesheets/app/components/buttons.scss @@ -1,4 +1,3 @@ - button, .button { padding: 0; } diff --git a/app/assets/stylesheets/app/components/card.scss b/app/assets/stylesheets/app/components/card.scss index 4823c0bfb..b478880f8 100644 --- a/app/assets/stylesheets/app/components/card.scss +++ b/app/assets/stylesheets/app/components/card.scss @@ -15,11 +15,6 @@ } } -.card-heading { - padding: 18px 24px; - border-bottom: 1px solid $brand-border; -} - .card-body { padding: 24px; } diff --git a/app/assets/stylesheets/app/components/chat.scss b/app/assets/stylesheets/app/components/chat.scss index 67c1c1a33..271fd3abe 100644 --- a/app/assets/stylesheets/app/components/chat.scss +++ b/app/assets/stylesheets/app/components/chat.scss @@ -1,26 +1,3 @@ -.chat-timeline { - margin-bottom: 0; -} - -.chat-actions { - padding-top: $padding-base-vertical + 2px; - padding-left: $grid-gutter-width * 1.5; - padding-right: $grid-gutter-width * 1.5; - - position: absolute; - bottom: 0; - left: 0; - right: 0; - background-color: white; - - border-top: 1px solid $brand-divider; - - &.is-fixed { - position: fixed; - bottom: 0; - } -} - .indicator { width: 8px; height: 8px; @@ -30,22 +7,10 @@ display: inline-block; } -.indicator-default { - background-color: $gray-5; -} - -.indicator-info { - background-color: $blue; -} - .indicator-success { background-color: $green; } -.indicator-danger { - background-color: $red; -} - .chat .markdown img { max-width: 100%; } diff --git a/app/assets/stylesheets/app/components/dashboard.scss b/app/assets/stylesheets/app/components/dashboard.scss index 31d19e835..ae5c6348e 100644 --- a/app/assets/stylesheets/app/components/dashboard.scss +++ b/app/assets/stylesheets/app/components/dashboard.scss @@ -3,7 +3,7 @@ /* -- HTML Pattern ---------------- -
+

Section Header Content

@@ -79,11 +79,3 @@ margin-bottom: 0; } } - -// -- Delta's ------------ -// -// http://assembly.com/about - -.dashboard-about { - // background-color: $gray-4; -} \ No newline at end of file diff --git a/app/assets/stylesheets/app/components/hero.scss b/app/assets/stylesheets/app/components/hero.scss index bce428699..75e3d942a 100644 --- a/app/assets/stylesheets/app/components/hero.scss +++ b/app/assets/stylesheets/app/components/hero.scss @@ -75,46 +75,6 @@ /* ^^^^^^^ about page */ } -// -- Delta's ------------ -// -// http://assembly.com/ideas -.hero-ideas { - padding-top: 5rem; - padding-bottom: 4rem; - color: $white; - background-image: url(../assets/ideas/ideas-header-bg.jpg); - background-position: top center; - @media screen and (min-width: 768px) { - background-image: url(../assets/ideas/ideas-header-bg-lg.jpg); - } - > .container { - @extend .text-2; - text-align: center; - // - > .main { - margin-bottom: 2.75rem; - } - } - h1 { - color: $white; - margin-top:0; - margin-bottom: 3rem; - } - a { - color: $white; - text-decoration:underline; - } - ._button { - margin:0 auto; - padding-left:3.25rem; - padding-right:3.25rem; - .title { - font-size:1.5rem; - line-height:2.75rem; - } - } -} - // For the about page .hero-about-top { padding-top: 6rem; diff --git a/app/assets/stylesheets/app/components/jumbotron.scss b/app/assets/stylesheets/app/components/jumbotron.scss index 660c7a768..b2291a617 100644 --- a/app/assets/stylesheets/app/components/jumbotron.scss +++ b/app/assets/stylesheets/app/components/jumbotron.scss @@ -7,5 +7,4 @@ background-size: cover; background-repeat: none; background-position: 50%; -// background: white; } diff --git a/app/assets/stylesheets/app/components/lightbox.scss b/app/assets/stylesheets/app/components/lightbox.scss index 979f4c033..cc4bcb010 100644 --- a/app/assets/stylesheets/app/components/lightbox.scss +++ b/app/assets/stylesheets/app/components/lightbox.scss @@ -36,47 +36,23 @@ body.lightbox-open, } .lightbox-dialog { - width: auto; - padding: 10px; - margin-right: auto; - margin-left: auto; - - .lightbox-header { - float: right; - .close { - margin-top: -2px; - } - } - - .lightbox-content { - position: relative; - background-color: #ffffff; - border: 1px solid #999999; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 6px; - outline: none; - -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - background-clip: padding-box; - /**/ + width: auto; padding: 10px; - display: inline-block; - - .lightbox-caption { - position: absolute; - right: 8px; - bottom: 8px; - left: 10px; - padding: 2%; - font-size: 14px; - line-height: 18px; - color: white; - text-align: center; - text-shadow: 0 -1px 0 #000; - text-shadow: 0 -1px 0 rgba(0,0,0,0.3); - background: #000; - background: rgba(0,0,0,0.6); + margin-right: auto; + margin-left: auto; + + .lightbox-content { + position: relative; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + outline: none; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; + padding: 10px; + display: inline-block; } } } -} diff --git a/app/assets/stylesheets/app/components/modals.scss b/app/assets/stylesheets/app/components/modals.scss index 39a87a926..f7a63384e 100644 --- a/app/assets/stylesheets/app/components/modals.scss +++ b/app/assets/stylesheets/app/components/modals.scss @@ -24,15 +24,3 @@ .modal-backdrop.fade { opacity: 0.5; } - -.modal-success { - background-color: $brand-success; -} - -.modal-warning { - background-color: rgba($brand-warning, 0.5); -} - -.modal-danger { - background-color: rgba($brand-danger, 0.5); -} diff --git a/app/assets/stylesheets/app/components/page_header.scss b/app/assets/stylesheets/app/components/page_header.scss index 7503e3a1f..a0162157d 100644 --- a/app/assets/stylesheets/app/components/page_header.scss +++ b/app/assets/stylesheets/app/components/page_header.scss @@ -7,14 +7,3 @@ margin-top: 0; } } - -// TODO Think about moving in with .summary -.page-header-meta { - margin-top: $line-height-computed / 4; - font-size: $font-size-small; - color: $brand-muted; - - > ul { - margin-bottom: 0; - } -} diff --git a/app/assets/stylesheets/app/components/tagged_input_group.scss b/app/assets/stylesheets/app/components/tagged_input_group.scss deleted file mode 100644 index 772115e09..000000000 --- a/app/assets/stylesheets/app/components/tagged_input_group.scss +++ /dev/null @@ -1,3 +0,0 @@ -.tagged-input-group { - -} diff --git a/app/assets/stylesheets/app/components/task_list.scss b/app/assets/stylesheets/app/components/task_list.scss index b03bbd052..2bb755910 100644 --- a/app/assets/stylesheets/app/components/task_list.scss +++ b/app/assets/stylesheets/app/components/task_list.scss @@ -76,10 +76,6 @@ $task-list-complete-bg: lighten($body-bg, 2%); .textcomplete-wrapper { width: 100%; } - - .list-meta { - margin-top: 4px; - } } &:first-child { @@ -164,15 +160,6 @@ $task-list-complete-bg: lighten($body-bg, 2%); } } -.task-list-item-remove { - background-color: #FCFDFD; - text-decoration: line-through; - - .list-meta { - display: none; - } -} - input[type="text"].task-list-entry { width: 100%; outline: none; diff --git a/app/assets/stylesheets/app/components/tile.scss b/app/assets/stylesheets/app/components/tile.scss index 476b2cdf3..115261377 100644 --- a/app/assets/stylesheets/app/components/tile.scss +++ b/app/assets/stylesheets/app/components/tile.scss @@ -56,12 +56,12 @@ .svg-icon-heart { width: 1.6rem; - // + .path1 { - fill:transparent; + fill: transparent; } .path2 { - fill:$gray-3; + fill: $gray-3; } } @@ -71,23 +71,5 @@ .svg-icon-share { width: 1.9rem; - fill:$gray-3; -} - -// -- Size Variations ------------ - -.tile-small { - min-height: 30.5rem; - margin-bottom: 0; // let the grid/container create margins - // - > .main { - height: 17rem; - overflow: hidden; - } - > .main a .content { - color: $gray-1; - } - .action-bar{ - margin-top: -1rem; - } + fill: $gray-3; } diff --git a/app/assets/stylesheets/email.scss b/app/assets/stylesheets/email.scss index f6f42acd1..58f0160d2 100644 --- a/app/assets/stylesheets/email.scss +++ b/app/assets/stylesheets/email.scss @@ -112,8 +112,6 @@ img { border: none; } .tile-item { border-bottom: 1px solid #ecedef; } .tile-header { max-width:600px; display:block; } -.nametag { margin-top:2px; font-size: 15px; line-height: 24px; font-weight: bold; color: #353941;} - .avatar-small { width:30px; height:30px; } .button { display:inline-block; text-align:center; border-radius:50px; background-color: #33d6a6; cursor:pointer; } From cf09ac9599b440a6d9fdd1db2bee5558649b44a4 Mon Sep 17 00:00:00 2001 From: lachlanjc Date: Thu, 14 May 2015 21:32:10 -0400 Subject: [PATCH 20/28] And I thought I was done --- .../javascripts/components/add_domain.js.jsx | 4 +- .../components/bounty_list_item.js.jsx | 6 +- .../javascripts/components/chat_entry.js.jsx | 2 +- .../components/financials_view.js.jsx | 2 +- .../javascripts/components/heart.js.jsx | 4 +- .../components/idea_progress_widget.js.jsx | 4 +- .../javascripts/components/info_modal.js.jsx | 4 +- .../components/invite_bounty_form.js.jsx | 2 +- .../javascripts/components/invite_list.js.jsx | 2 +- .../components/new_repository_preview.js.jsx | 2 +- ...news_feed_item_bounty_timeline_item.js.jsx | 2 +- .../news_feed/news_feed_item_post.js.jsx | 4 +- .../javascripts/components/people_view.js.jsx | 4 +- .../components/posts/posts_index.js.jsx | 6 +- .../components/products/metrics_charts.js.jsx | 4 +- .../products/product_activity.js.jsx | 2 +- app/assets/javascripts/components/tag.js.jsx | 2 +- .../javascripts/lib/bootstrap-lightbox.js | 10 +- .../stylesheets/_deprecated/_basspluss.scss | 305 --------- .../stylesheets/_deprecated/_nocss.scss | 588 +----------------- .../stylesheets/_deprecated/_nocss_mq.scss | 4 - .../stylesheets/_deprecated/_utility.scss | 14 - .../stylesheets/app/components/dashboard.scss | 81 --- .../stylesheets/app/components/lists.scss | 10 - .../stylesheets/app/components/markdown.scss | 4 +- .../stylesheets/app/components/modals.scss | 26 - .../app/components/progress_bars.scss | 3 +- .../stylesheets/app/components/square.scss | 2 - app/assets/stylesheets/app/slop.scss | 8 - .../stylesheets/basscss/_color-base.scss | 2 + .../activities/create_contract.mustache | 4 +- .../create_core_team_membership.mustache | 4 +- .../activities/destroy_contract.mustache | 4 +- .../activities/found_product.mustache | 4 +- app/templates/activities/git_push.mustache | 6 +- app/templates/activities/introduce.mustache | 6 +- app/templates/activities/launch.mustache | 6 +- .../activities/update_contract.mustache | 4 +- app/templates/events/closes/_close.mustache | 2 +- .../events/code_addeds/_code_added.mustache | 2 +- .../_comment_reference.mustache | 2 +- .../events/comments/_comment.mustache | 2 +- .../_commit_reference.mustache | 2 +- .../events/copy_addeds/_copy_added.mustache | 4 +- .../events/demotions/_demotion.mustache | 2 +- .../_design_deliverable.mustache | 2 +- .../events/promotions/_promotion.mustache | 2 +- .../_pull_request_reference.mustache | 2 +- app/templates/events/reopens/_reopen.mustache | 2 +- .../review_readies/_review_ready.mustache | 2 +- .../title_changes/_title_change.mustache | 2 +- .../events/type_changes/_type_change.mustache | 2 +- app/templates/events/wins/_win.mustache | 2 +- app/views/assets/_asset.html.erb | 2 +- app/views/assets/index.html.erb | 6 +- app/views/contracts/index.html.erb | 2 +- app/views/financials/_expense_modal.html.erb | 2 +- app/views/financials/index.html.erb | 2 +- app/views/layouts/product.html.erb | 2 +- app/views/pitch_week/_chip.html.erb | 2 +- app/views/playground/product_stage_1.html.erb | 8 +- app/views/post_mailer/created.html.erb | 2 +- app/views/post_mailer/mailing_list.html.erb | 2 +- app/views/products/chips/_greenlit.html.erb | 8 +- .../products/chips/_team_building.html.erb | 4 +- app/views/products/edit.html.erb | 16 +- app/views/products/welcome.html.erb | 24 +- app/views/projects/_milestone.html.erb | 4 +- app/views/projects/_project.html.erb | 16 +- app/views/projects/index.html.erb | 8 +- app/views/projects/show.html.erb | 10 +- app/views/repositories/index.html.erb | 2 +- app/views/shared/_footer_nav.html.erb | 10 +- app/views/users/balances/show.html.erb | 4 +- app/views/users/edit.html.erb | 2 +- app/views/users/passwords/new.html.erb | 4 +- app/views/users/registrations/new.html.erb | 2 +- app/views/users/sessions/new.html.erb | 2 +- 78 files changed, 158 insertions(+), 1171 deletions(-) delete mode 100644 app/assets/stylesheets/_deprecated/_nocss_mq.scss delete mode 100644 app/assets/stylesheets/_deprecated/_utility.scss delete mode 100644 app/assets/stylesheets/app/components/dashboard.scss delete mode 100644 app/assets/stylesheets/app/components/modals.scss diff --git a/app/assets/javascripts/components/add_domain.js.jsx b/app/assets/javascripts/components/add_domain.js.jsx index 0fff314ee..7de890077 100644 --- a/app/assets/javascripts/components/add_domain.js.jsx +++ b/app/assets/javascripts/components/add_domain.js.jsx @@ -80,7 +80,7 @@ var NewDomainTransfer = React.createClass({
-
+
@@ -122,7 +122,7 @@ var DomainPurchaseApplication = React.createClass({
-
+
diff --git a/app/assets/javascripts/components/bounty_list_item.js.jsx b/app/assets/javascripts/components/bounty_list_item.js.jsx index a3be69f90..2c6a62931 100644 --- a/app/assets/javascripts/components/bounty_list_item.js.jsx +++ b/app/assets/javascripts/components/bounty_list_item.js.jsx @@ -114,7 +114,7 @@ var BountyListItem = React.createClass({
-
+
{this.renderTitle()}
@@ -206,9 +206,9 @@ var BountyListItem = React.createClass({ return ( {bounty.title} {' '} - + #{bounty.number} - posted {moment(bounty.created_at).fromNow()} + posted {moment(bounty.created_at).fromNow()} ) diff --git a/app/assets/javascripts/components/chat_entry.js.jsx b/app/assets/javascripts/components/chat_entry.js.jsx index 0a5a5a78d..e6c1252c9 100644 --- a/app/assets/javascripts/components/chat_entry.js.jsx +++ b/app/assets/javascripts/components/chat_entry.js.jsx @@ -21,7 +21,7 @@
-
    +
    • diff --git a/app/assets/javascripts/components/financials_view.js.jsx b/app/assets/javascripts/components/financials_view.js.jsx index 72e149a94..444c01148 100644 --- a/app/assets/javascripts/components/financials_view.js.jsx +++ b/app/assets/javascripts/components/financials_view.js.jsx @@ -65,7 +65,7 @@ // TODO: Break out dl-inline styles into reusable SCSS components return (
      -
        +
        • Payout diff --git a/app/assets/javascripts/components/heart.js.jsx b/app/assets/javascripts/components/heart.js.jsx index c977114ae..1bff47ace 100644 --- a/app/assets/javascripts/components/heart.js.jsx +++ b/app/assets/javascripts/components/heart.js.jsx @@ -80,7 +80,7 @@ var Heart = React.createClass({
      return ( -
      + {heartWithCount} ); @@ -147,7 +147,7 @@ var Heart = React.createClass({ return (
      -
      +
      {heartWithCount}
      diff --git a/app/assets/javascripts/components/idea_progress_widget.js.jsx b/app/assets/javascripts/components/idea_progress_widget.js.jsx index 2e9e66c53..855628938 100644 --- a/app/assets/javascripts/components/idea_progress_widget.js.jsx +++ b/app/assets/javascripts/components/idea_progress_widget.js.jsx @@ -66,11 +66,11 @@ const IdeaProgressWidget = React.createClass({ return (
      -
      +
      {this.state.stages[this.state.activeStage]['cta'] || this.state.stages[this.state.activeStage]['name']}
      -
      +
        {stages}
      diff --git a/app/assets/javascripts/components/info_modal.js.jsx b/app/assets/javascripts/components/info_modal.js.jsx index 34aecf873..0dfcc0604 100644 --- a/app/assets/javascripts/components/info_modal.js.jsx +++ b/app/assets/javascripts/components/info_modal.js.jsx @@ -48,7 +48,7 @@ }, logo: function() { - return ; + return ; }, render: function() { @@ -88,7 +88,7 @@ var product = this.props.product; return ( -
      +

      {product.name}

      {this.logo()}

      diff --git a/app/assets/javascripts/components/invite_bounty_form.js.jsx b/app/assets/javascripts/components/invite_bounty_form.js.jsx index 81b4e3005..cce662d56 100644 --- a/app/assets/javascripts/components/invite_bounty_form.js.jsx +++ b/app/assets/javascripts/components/invite_bounty_form.js.jsx @@ -25,7 +25,7 @@ var FormGroup = require('./form_group.js.jsx'); return (

      -

      Ask a friend

      +

      Ask a friend

      Know somebody who could help with this? Anybody can help out, all you need to do is ask.

      diff --git a/app/assets/javascripts/components/invite_list.js.jsx b/app/assets/javascripts/components/invite_list.js.jsx index 724de6a62..3a3bd00bb 100644 --- a/app/assets/javascripts/components/invite_list.js.jsx +++ b/app/assets/javascripts/components/invite_list.js.jsx @@ -10,7 +10,7 @@ var ReactCSSTransitionGroup = React.addons.CSSTransitionGroup; }) return (
      -
        +
          {inviteNodes} diff --git a/app/assets/javascripts/components/new_repository_preview.js.jsx b/app/assets/javascripts/components/new_repository_preview.js.jsx index fb21a2aa3..dba4bb4f7 100644 --- a/app/assets/javascripts/components/new_repository_preview.js.jsx +++ b/app/assets/javascripts/components/new_repository_preview.js.jsx @@ -116,7 +116,7 @@
      -
      +
      diff --git a/app/assets/javascripts/components/news_feed/news_feed_item_bounty_timeline_item.js.jsx b/app/assets/javascripts/components/news_feed/news_feed_item_bounty_timeline_item.js.jsx index 51396511c..b505f1941 100644 --- a/app/assets/javascripts/components/news_feed/news_feed_item_bounty_timeline_item.js.jsx +++ b/app/assets/javascripts/components/news_feed/news_feed_item_bounty_timeline_item.js.jsx @@ -58,7 +58,7 @@ module.exports = React.createClass({
      -
        +
        • diff --git a/app/assets/javascripts/components/news_feed/news_feed_item_post.js.jsx b/app/assets/javascripts/components/news_feed/news_feed_item_post.js.jsx index 4420d214e..edc09439e 100644 --- a/app/assets/javascripts/components/news_feed/news_feed_item_post.js.jsx +++ b/app/assets/javascripts/components/news_feed/news_feed_item_post.js.jsx @@ -27,7 +27,7 @@ module.exports = React.createClass({
          -
          +
          {this.props.title} @@ -35,7 +35,7 @@ module.exports = React.createClass({
          {this.renderSummary()}
          -
          +
          {this.renderReadMore()}
          diff --git a/app/assets/javascripts/components/people_view.js.jsx b/app/assets/javascripts/components/people_view.js.jsx index 42d19d9dc..be2c47284 100644 --- a/app/assets/javascripts/components/people_view.js.jsx +++ b/app/assets/javascripts/components/people_view.js.jsx @@ -130,8 +130,8 @@ return (
          -

          -

            +

            +

              {this.skills(member)}
            diff --git a/app/assets/javascripts/components/posts/posts_index.js.jsx b/app/assets/javascripts/components/posts/posts_index.js.jsx index 8a210128e..852dcdf98 100644 --- a/app/assets/javascripts/components/posts/posts_index.js.jsx +++ b/app/assets/javascripts/components/posts/posts_index.js.jsx @@ -98,19 +98,19 @@ var PostsIndex = React.createClass({ return [
          • - all posts + all posts
          • ,
          • - announcements + announcements
          • ,
          • - archived posts + archived posts
          • ]; diff --git a/app/assets/javascripts/components/products/metrics_charts.js.jsx b/app/assets/javascripts/components/products/metrics_charts.js.jsx index 053631d7d..a48b6f132 100644 --- a/app/assets/javascripts/components/products/metrics_charts.js.jsx +++ b/app/assets/javascripts/components/products/metrics_charts.js.jsx @@ -52,7 +52,7 @@ var MetricsCharts = React.createClass({ renderAddMetrics() { return this.blurredImage(() =>
            -

            +

            Metrics setup guide

            Configuring Assembly metrics integration allows you to see and show off your products success with the world.

            @@ -69,7 +69,7 @@ var MetricsCharts = React.createClass({ renderEmptyState() { return this.blurredImage(() =>
            -

            +

            No metrics collected yet

            Once {this.state.product.name} is up and running its metrics will appear here

            diff --git a/app/assets/javascripts/components/products/product_activity.js.jsx b/app/assets/javascripts/components/products/product_activity.js.jsx index 8c2c604aa..6aa27eb88 100644 --- a/app/assets/javascripts/components/products/product_activity.js.jsx +++ b/app/assets/javascripts/components/products/product_activity.js.jsx @@ -120,7 +120,7 @@ const ProductActivity = React.createClass({ return (
          • - {tag + ' posts'} + {tag + ' posts'}
          • ); diff --git a/app/assets/javascripts/components/tag.js.jsx b/app/assets/javascripts/components/tag.js.jsx index 2272ac520..ec9db4681 100644 --- a/app/assets/javascripts/components/tag.js.jsx +++ b/app/assets/javascripts/components/tag.js.jsx @@ -8,7 +8,7 @@ var Tag = React.createClass({ render: function() { var tag = this.props.tag; return ( - + #{this.props.tag.name} ); diff --git a/app/assets/javascripts/lib/bootstrap-lightbox.js b/app/assets/javascripts/lib/bootstrap-lightbox.js index 40a97b5af..39d28c48d 100755 --- a/app/assets/javascripts/lib/bootstrap-lightbox.js +++ b/app/assets/javascripts/lib/bootstrap-lightbox.js @@ -45,7 +45,7 @@ { that.backdrop(function () { - var transition = $.support.transition && that.$element.hasClass('fade'); + var transition = $.support.transition && that.$element.hasClass('muted'); if (!that.$element.parent().length) { @@ -100,7 +100,7 @@ .attr('aria-hidden', true) .off('click.dismiss.lightbox'); - $.support.transition && this.$element.hasClass('fade') ? + $.support.transition && this.$element.hasClass('muted') ? this.$element .one($.support.transition.end, $.proxy(this.hideModal(slide), this)) .emulateTransitionEnd(300) : @@ -150,12 +150,12 @@ Lightbox.prototype.backdrop = function (callback) { var that = this - var animate = this.$element.hasClass('fade') ? 'fade' : '' + var animate = this.$element.hasClass('muted') ? 'muted' : '' if (this.isShown && this.options.backdrop) { var doAnimate = $.support.transition && animate; - this.$backdrop = $('