Merge pull request #1607 from consul/index-design

Index design
This commit is contained in:
Juanjo Bazán
2017-06-08 13:58:04 +02:00
committed by GitHub
21 changed files with 106 additions and 181 deletions

View File

@@ -1106,10 +1106,6 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar {
// 09. Search
// ----------
.search-results h2 {
margin-bottom: 0;
}
.advanced-search {
float: left;
margin: $line-height 0;
@@ -1118,7 +1114,7 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar {
@include breakpoint(medium) {
float: right;
margin-bottom: 0;
margin-top: rem-calc(28);
margin-top: $line-height/4;
position: absolute;
right: 0;
z-index: 2;
@@ -1126,7 +1122,6 @@ img.avatar, img.admin-avatar, img.moderator-avatar, img.initialjs-avatar {
}
.advanced-search-form {
margin-top: $line-height;
select {
height: $line-height*2;

View File

@@ -16,14 +16,13 @@
@mixin votes {
border-top: 1px solid $border;
margin-top: $line-height;
padding: $line-height 0;
padding: $line-height/2 0;
position: relative;
@include breakpoint(medium) {
border-left: 1px solid $border;
border-top: 0;
margin-top: 0;
padding-top: $line-height*2;
}
.icon-like, .icon-unlike {
@@ -514,45 +513,17 @@
padding-bottom: rem-calc(12);
}
.label-debate, .label-proposal, .label-investment-project, .label-budget-investment {
background: none;
clear: both;
display: block;
font-size: rem-calc(12);
font-weight: bold;
line-height: $line-height;
padding-bottom: 0;
padding-left: 0;
padding-top: 0;
text-transform: uppercase;
}
.label-debate {
color: $debates;
}
.label-proposal {
color: $proposals-dark;
}
.label-investment-project {
color: $budget;
}
.label-budget-investment {
color: $budget;
}
h3 {
font-weight: bold;
margin: 0;
margin-top: $line-height/2;
a {
color: $text;
}
}
.debate-content, .proposal-content, .investment-project-content, .budget-investment-content {
.debate-content, .proposal-content,
.investment-project-content, .budget-investment-content {
margin: 0;
min-height: rem-calc(180);
position: relative;

View File

@@ -42,8 +42,6 @@ input[type="submit"] { display: none !important; }
.filters h2 { margin: 0 !important; font-size: 20px !important; line-height: 20px !important; width: auto !important; }
.search-results h2 { margin: 0 !important; font-size: 20px !important; line-height: 20px !important; }
.admin h2 { font-size: 20px !important; line-height: 20px !important; }
.select-order {