Removes unused scss

This commit is contained in:
Alberto Garcia Cabeza
2016-05-19 12:44:40 +02:00
parent 49c8145e76
commit a59cb3481e
3 changed files with 72 additions and 89 deletions

View File

@@ -83,8 +83,6 @@ $breakpoints: (
small: 0, small: 0,
medium: 640px, medium: 640px,
large: 1024px, large: 1024px,
xlarge: 1200px,
xxlarge: 1440px,
); );
$breakpoint-classes: (small medium large); $breakpoint-classes: (small medium large);
@@ -600,9 +598,6 @@ $small-font-size: rem-calc(14);
$tiny-font-size: rem-calc(10); $tiny-font-size: rem-calc(10);
$line-height: rem-calc(24); $line-height: rem-calc(24);
// 02. Colors
// - - - - - - - - - - - - - - - - - - - - - - - - -
$brand: #004A83; $brand: #004A83;
$body: #E9E9E9; $body: #E9E9E9;
$background: #EDEFF0; $background: #EDEFF0;
@@ -642,9 +637,6 @@ $footer-color: #171819;
$footer-link: #454A4C; $footer-link: #454A4C;
$footer-border: #BFC1C3; $footer-border: #BFC1C3;
// 04. Alerts
// - - - - - - - - - - - - - - - - - - - - - - - - -
$success-bg: #DFF0D8; $success-bg: #DFF0D8;
$success-border: #D6E9C6; $success-border: #D6E9C6;
$color-success: #3C763D; $color-success: #3C763D;

View File

@@ -10,17 +10,17 @@
// 08. User account // 08. User account
// 09. Search // 09. Search
// 10. Official levels // 10. Official levels
// 12. Tables // 11. Tables
// 13. Social // 12. Social
// 14. Pages // 13. Pages
// 15. Verification // 14. Verification
// 16. Comments // 15. Comments
// 17. Flags // 16. Flags
// 18. Activity // 17. Activity
// //
// 01. Global styles // 01. Global styles
// - - - - - - - - - - - - - - - - - - - - - - - - - // -----------------
*, html { *, html {
margin: 0; margin: 0;
@@ -255,7 +255,7 @@ a {
} }
// 02. Header // 02. Header
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------
header { header {
background: $brand; background: $brand;
@@ -267,13 +267,9 @@ header {
} }
.locale { .locale {
float: none; float: left;
height: $line-height*1.5; height: $line-height*1.5;
margin-left: $line-height/2;
@include breakpoint(small) {
float: left;
margin-left: $line-height/2;
}
} }
.external-links { .external-links {
@@ -281,7 +277,7 @@ header {
padding: rem-calc(6) 0; padding: rem-calc(6) 0;
text-align: center; text-align: center;
@include breakpoint(small) { @include breakpoint(medium) {
float: right; float: right;
} }
} }
@@ -295,7 +291,7 @@ header {
padding-bottom: 0; padding-bottom: 0;
padding-top: 0; padding-top: 0;
@include breakpoint(small) { @include breakpoint(medium) {
padding: 0; padding: 0;
} }
@@ -315,7 +311,7 @@ header {
&.menu > li { &.menu > li {
display: block; display: block;
@include breakpoint(small) { @include breakpoint(medium) {
display: table-cell; display: table-cell;
height: $line-height*3.5; height: $line-height*3.5;
} }
@@ -324,7 +320,7 @@ header {
color: white; color: white;
padding-left: 0; padding-left: 0;
@include breakpoint(small) { @include breakpoint(medium) {
font-size: $small-font-size; font-size: $small-font-size;
padding: rem-calc(11) rem-calc(16); padding: rem-calc(11) rem-calc(16);
} }
@@ -332,7 +328,7 @@ header {
&.button { &.button {
text-align: left; text-align: left;
@include breakpoint(small) { @include breakpoint(medium) {
background: white; background: white;
color: $brand; color: $brand;
text-align: center; text-align: center;
@@ -370,7 +366,7 @@ header {
.subnavigation { .subnavigation {
@include breakpoint(small) { @include breakpoint(medium) {
background: white; background: white;
padding-bottom: 0; padding-bottom: 0;
} }
@@ -380,7 +376,7 @@ header {
margin: 0; margin: 0;
li { li {
@include breakpoint(small) { @include breakpoint(medium) {
display: inline-block; display: inline-block;
margin-right: rem-calc(36); margin-right: rem-calc(36);
} }
@@ -393,7 +389,7 @@ header {
text-align: left; text-align: left;
width: 100%; width: 100%;
@include breakpoint(small) { @include breakpoint(medium) {
color: $text; color: $text;
display: block; display: block;
font-weight: bold; font-weight: bold;
@@ -409,7 +405,7 @@ header {
&.active { &.active {
color: white; color: white;
@include breakpoint(small) { @include breakpoint(medium) {
border-bottom: 2px solid $brand; border-bottom: 2px solid $brand;
color: $brand; color: $brand;
} }
@@ -421,7 +417,7 @@ header {
.input-group { .input-group {
padding-top: $line-height/4; padding-top: $line-height/4;
@include breakpoint(small) { @include breakpoint(medium) {
margin-bottom: 0; margin-bottom: 0;
} }
} }
@@ -466,7 +462,7 @@ header {
position: relative; position: relative;
text-align: left; text-align: left;
@include breakpoint(small) { @include breakpoint(medium) {
margin-right: $line-height*1.5; margin-right: $line-height*1.5;
} }
@@ -486,7 +482,7 @@ header {
} }
// 03. Footer // 03. Footer
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------
footer { footer {
color: $footer-color; color: $footer-color;
@@ -543,7 +539,7 @@ footer {
} }
// 04. Tags // 04. Tags
// - - - - - - - - - - - - - - - - - - - - - - - - - // --------
.tags a , .tag-cloud a, .categories a, .geozone a, .sidebar-links a { .tags a , .tag-cloud a, .categories a, .geozone a, .sidebar-links a {
background: #ececec; background: #ececec;
@@ -580,7 +576,7 @@ h3.sidebar-title {
} }
// 05. Auth pages // 05. Auth pages
// - - - - - - - - - - - - - - - - - - - - - - - - - // --------------
.auth-page { .auth-page {
background: $brand image-url("auth_bg.jpg"); background: $brand image-url("auth_bg.jpg");
@@ -596,7 +592,7 @@ h3.sidebar-title {
line-height: rem-calc(80); // Same as logo image height line-height: rem-calc(80); // Same as logo image height
text-align: center; text-align: center;
@include breakpoint(small) { @include breakpoint(medium) {
display: inline-block; display: inline-block;
text-align: left; text-align: left;
} }
@@ -617,7 +613,7 @@ h3.sidebar-title {
} }
// 06. Forms // 06. Forms
// - - - - - - - - - - - - - - - - - - - - - - - - - // ---------
form.locale-form { form.locale-form {
display: inline-block; display: inline-block;
@@ -749,7 +745,7 @@ form {
} }
// 07. Alerts // 07. Alerts
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------
.callout { .callout {
font-family: $font-sans; font-family: $font-sans;
@@ -812,7 +808,7 @@ label.error, label.error a {
} }
// 08. User account // 08. User account
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------------
.account { .account {
@@ -969,32 +965,27 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar {
} }
// 09. Search // 09. Search
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------
.search-form { .search-form h3 {
border-top: 1px solid $votes-border;
h3 { display: inline-block;
border-top: 1px solid $votes-border; font-size: rem-calc(16);
display: inline-block; margin: -1px 0 $line-height/2;
font-size: rem-calc(16); padding-top: $line-height/4;
margin: -1px 0 $line-height/2; text-transform: uppercase;
padding-top: $line-height/4;
text-transform: uppercase;
}
} }
.search-results { .search-results h2 {
margin-bottom: 0;
h2 {
margin-bottom: 0;
}
} }
.advanced-search { .advanced-search {
float: left; float: left;
margin: $line-height 0; margin: $line-height 0;
position: inherit;
@include breakpoint(small) { @include breakpoint(medium) {
float: right; float: right;
margin-bottom: 0; margin-bottom: 0;
margin-top: rem-calc(28); margin-top: rem-calc(28);
@@ -1011,15 +1002,15 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar {
height: $line-height*2; height: $line-height*2;
} }
@include breakpoint(medium down) { @include breakpoint(medium) {
.column { & > .column {
padding: 0; padding: 0;
} }
} }
} }
// 10. Officials levels // 10. Officials levels
// - - - - - - - - - - - - - - - - - - - - - - - - - // --------------------
[class^="level-"] { [class^="level-"] {
color: white; color: white;
@@ -1049,8 +1040,8 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar {
background: #F08A24; background: #F08A24;
} }
// 12. Tables // 11. Tables
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------
table { table {
border: $border; border: $border;
@@ -1083,8 +1074,8 @@ table {
} }
} }
// 13. Social // 12. Social
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------
.button.button-twitter, .button.button-twitter,
.button.button-facebook, .button.button-facebook,
@@ -1301,8 +1292,8 @@ table {
} }
} }
// 14. Pages // 13. Pages
// - - - - - - - - - - - - - - - - - - - - - - - - - // ---------
.more-information { .more-information {
@@ -1341,7 +1332,7 @@ table {
right: 0; right: 0;
top: 24px; top: 24px;
@include breakpoint(small) { @include breakpoint(medium) {
content: 'c'; content: 'c';
} }
} }
@@ -1349,12 +1340,12 @@ table {
} }
} }
// 15. Verification // 14. Verification
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------------
.verification { .verification {
@include breakpoint(small) { @include breakpoint(medium) {
.left + .left { .left + .left {
margin-left: $line-height/2; margin-left: $line-height/2;
} }
@@ -1366,7 +1357,7 @@ table {
float: left; float: left;
width: 30%; width: 30%;
@include breakpoint(small) { @include breakpoint(medium) {
width: 25%; width: 25%;
} }
} }
@@ -1375,7 +1366,7 @@ table {
.progress { .progress {
height: $line-height*3; height: $line-height*3;
@include breakpoint(small) { @include breakpoint(medium) {
height: $line-height*2; height: $line-height*2;
} }
@@ -1392,7 +1383,7 @@ table {
text-transform: uppercase; text-transform: uppercase;
vertical-align: top; vertical-align: top;
@include breakpoint(small) { @include breakpoint(medium) {
line-height: $line-height*2; line-height: $line-height*2;
padding: 0; padding: 0;
} }
@@ -1400,7 +1391,7 @@ table {
.number { .number {
display: block; display: block;
@include breakpoint(small) { @include breakpoint(medium) {
background-color: white; background-color: white;
border-radius: rem-calc(30); border-radius: rem-calc(30);
color: #43AC6A; color: #43AC6A;
@@ -1500,8 +1491,8 @@ table {
} }
} }
// 16. Comments // 15. Comments
// - - - - - - - - - - - - - - - - - - - - - - - - - // ------------
.comments { .comments {
background: $white; background: $white;
@@ -1642,7 +1633,7 @@ table {
float: none; float: none;
margin-top: 0; margin-top: 0;
@include breakpoint(small) { @include breakpoint(medium) {
float: right; float: right;
margin-top: rem-calc(-24); margin-top: rem-calc(-24);
} }
@@ -1651,14 +1642,14 @@ table {
padding-right: $line-height/2; padding-right: $line-height/2;
float: none; float: none;
@include breakpoint(small) { @include breakpoint(medium) {
float: right; float: right;
} }
} }
} }
// 17. Flags // 16. Flags
// - - - - - - - - - - - - - - - - - - - - - - - - - // ---------
.flag-content { .flag-content {
@@ -1685,8 +1676,8 @@ table {
color: $text-medium; color: $text-medium;
} }
// 18. Activity // 17. Activity
// - - - - - - - - - - - - - - - - - - - - - - - - - // ------------
.activity { .activity {
margin-bottom: $line-height*2; margin-bottom: $line-height*2;

View File

@@ -1,4 +1,4 @@
// Table of Contents - Styles for debates and proposals // Table of Contents
// //
// 01. Votes and supports // 01. Votes and supports
// 02. New participation // 02. New participation
@@ -8,7 +8,7 @@
// //
// 01. Votes and supports // 01. Votes and supports
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------------------
@mixin votes { @mixin votes {
background: $votes-bg; background: $votes-bg;
@@ -272,7 +272,7 @@
} }
// 02. New participation // 02. New participation
// - - - - - - - - - - - - - - - - - - - - - - - - - // ---------------------
.debate-new, .debate-edit, .debate-new, .debate-edit,
.proposal-new, .proposal-edit, .proposal-new, .proposal-edit,
@@ -335,7 +335,7 @@
} }
// 03. Show participation // 03. Show participation
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------------------
.debate-show, .proposal-show, .investment-project-show { .debate-show, .proposal-show, .investment-project-show {
@@ -550,7 +550,7 @@
} }
// 04. List participation // 04. List participation
// - - - - - - - - - - - - - - - - - - - - - - - - - // ----------------------
.debates-list, .proposals-list, .investment-projects-list { .debates-list, .proposals-list, .investment-projects-list {
@@ -924,7 +924,7 @@
} }
// 05. Featured // 05. Featured
// - - - - - - - - - - - - - - - - - - - - - - - - - // ------------
.featured-debates, .featured-proposals { .featured-debates, .featured-proposals {
padding: $line-height/2 0; padding: $line-height/2 0;