Remove unused CSS

stable
Xavier Julián 2016-04-25 10:51:44 +02:00 committed by Juanfran
parent c982181c7b
commit 32fda584c1
23 changed files with 14 additions and 443 deletions

View File

@ -186,9 +186,6 @@
fill: $gray-light; fill: $gray-light;
margin-right: .25rem; margin-right: .25rem;
} }
.svg-eye-closed {
display: none;
}
} }
.statistic { .statistic {
@extend %small; @extend %small;

View File

@ -80,9 +80,6 @@
fill: $gray-light; fill: $gray-light;
margin-right: .2rem; margin-right: .2rem;
} }
.svg-eye-closed {
display: none;
}
} }
.statistic { .statistic {
@extend %small; @extend %small;

View File

@ -123,29 +123,6 @@
display: block; display: block;
} }
} }
.profile-organizations {
border-bottom: 1px solid $whitish;
border-top: 1px solid $whitish;
margin-bottom: 1rem;
padding: 1rem 0;
h3 {
@extend %bold;
margin-bottom: .5rem;
}
.profile-organizations-wrapper {
display: flex;
justify-content: space-between;
}
.organization {
background: $gray-light;
border-radius: 5px;
height: 45px;
margin-right: .2rem;
width: 45px;
}
}
.profile-quote { .profile-quote {
@extend %light; @extend %light;
@extend %large; @extend %large;

View File

@ -20,63 +20,3 @@
} }
} }
} }
.profile-contact-single {
border-bottom: 1px solid $whitish;
display: flex;
flex-wrap: wrap;
padding: .8rem 1rem;
.profile-contact-picture {
flex-grow: 0;
margin-right: 1rem;
max-width: 54px;
img {
border-radius: .2rem;
width: 100%;
}
}
.profile-contact-data {
flex: 1;
h1 {
@extend %text;
@extend %large;
align-items: center;
display: flex;
line-height: 1.6;
margin-bottom: 0;
text-transform: none;
span {
@extend %text;
@extend %small;
background: $whitish;
color: $gray;
margin-left: 1rem;
padding: .1rem .3rem;
}
}
p {
color: $gray;
margin-bottom: 0;
}
.extra-info {
@extend %light;
color: $gray;
}
.position {
margin-right: .3rem;
}
}
.profile-project-stats {
display: flex;
flex-grow: 0;
margin-left: auto;
width: 100px;
div {
color: $gray-light;
margin-right: .5rem;
.icon {
margin-right: .2rem;
vertical-align: center;
}
}
}
}

View File

@ -103,14 +103,7 @@ a.button-gray {
color: $white; color: $white;
} }
} }
.button-block {
background: $white;
color: $red;
&:hover {
background: $red-light;
color: $white;
}
}
.button-bulk { .button-bulk {
@extend %button; @extend %button;
background: $primary; background: $primary;

View File

@ -147,12 +147,6 @@
bottom: .2rem; bottom: .2rem;
right: .5rem; right: .5rem;
} }
.icon-drag-h {
@extend %xlarge;
bottom: .2rem;
cursor: move;
right: 45%;
}
.task-points { .task-points {
@extend %small; @extend %small;
color: darken($card-hover, 15%); color: darken($card-hover, 15%);
@ -215,19 +209,10 @@
.task-points { .task-points {
display: none; display: none;
} }
.icon-edit,
.icon-drag-h {
top: 1.4rem;
}
.icon-edit { .icon-edit {
bottom: .2rem; bottom: .2rem;
right: 1rem; right: 1rem;
} top: 1.4rem;
.icon-drag-h {
@extend %medium;
cursor: move;
right: .1rem;
transform: rotate(90deg);
} }
.kanban-tag { .kanban-tag {
border-top: .2rem solid; border-top: .2rem solid;

View File

@ -36,8 +36,7 @@
.list-itemtype-track, .list-itemtype-track,
.list-itemtype-project-image, .list-itemtype-project-image,
.list-itemtype-project-name, .list-itemtype-project-name,
.list-itemtype-project-description, .list-itemtype-project-description {
.list-itemtype-project-private {
opacity: .4; opacity: .4;
} }
} }
@ -71,13 +70,6 @@
width: 2rem; width: 2rem;
} }
} }
.list-itemtype-project-tags {
align-self: flex-end;
display: flex;
flex: 3;
flex-wrap: wrap;
margin-top: .5rem;
}
.tag { .tag {
align-self: flex-end; align-self: flex-end;
margin: 0 .25rem .25rem 0; margin: 0 .25rem .25rem 0;
@ -139,8 +131,3 @@
margin-top: .25rem; margin-top: .25rem;
} }
} }
.list-itemtype-timeline {
@include list-itemtype-common;
}

View File

@ -8,8 +8,7 @@
margin-right: .4rem; margin-right: .4rem;
} }
a, a,
.active span, .active span {
.dots {
background: $gray-light; background: $gray-light;
color: $white; color: $white;
padding: .5rem 1rem; padding: .5rem 1rem;
@ -27,27 +26,4 @@
background: $primary-light; background: $primary-light;
} }
} }
.dots {
background: transparent;
color: $gray-light;
}
}
.v-pagination-list {
overflow: hidden;
}
.v-pagination-next,
.v-pagination-previous {
background-color: $gray;
color: $whitish;
display: block;
padding: .1rem 0;
text-align: center;
visibility: hidden;
width: 100%;
&:hover {
background-color: $blackish;
transition: background .3s linear;
}
} }

View File

@ -40,8 +40,7 @@ $summary-background: $grayer;
opacity: 1; opacity: 1;
} }
&:hover { &:hover {
.graph, .graph {
.color-line {
fill: $primary-light; fill: $primary-light;
transition: fill .2s; transition: fill .2s;
} }
@ -50,10 +49,6 @@ $summary-background: $grayer;
} }
} }
&.active { &.active {
.white-line,
.color-line {
display: none;
}
.graph { .graph {
fill: $primary; fill: $primary;
} }
@ -69,18 +64,10 @@ $summary-background: $grayer;
transition: all .2s; transition: all .2s;
width: 100%; width: 100%;
} }
.graph, .graph {
.color-line {
fill: darken($gray-light, 20%); fill: darken($gray-light, 20%);
transition: fill .2s; transition: fill .2s;
} }
.white-line {
fill: $summary-background;
}
.white-line,
.color-line {
display: block;
}
} }
} }
@ -136,9 +123,6 @@ $summary-background: $grayer;
margin: 0; margin: 0;
} }
} }
.summary-stats-divider {
margin-right: 2rem;
}
.icon { .icon {
fill: currentColor; fill: currentColor;
height: 1.5rem; height: 1.5rem;

View File

@ -6,8 +6,7 @@
margin: .2rem; margin: .2rem;
position: relative; position: relative;
&:hover { &:hover {
.icon-edit, .icon-edit {
.icon-drag-h {
display: block; display: block;
fill: $card-dark; fill: $card-dark;
opacity: 1; opacity: 1;

View File

@ -29,9 +29,6 @@
fill: currentColor; fill: currentColor;
margin-right: .25rem; margin-right: .25rem;
} }
.svg-eye-closed {
display: none;
}
} }
.statistic { .statistic {
@extend %small; @extend %small;

View File

@ -12,27 +12,15 @@
fieldset { fieldset {
border-bottom: 1px solid $whitish; border-bottom: 1px solid $whitish;
margin-bottom: 1rem; margin-bottom: 1rem;
padding-bottom: 1rem;
} }
.contrib-input { input {
flex: 1; margin-bottom: 1rem;
}
.contrib-test {
align-items: center;
display: flex;
flex-basis: 7.5rem;
justify-content: center;
margin-left: .5rem;
text-align: center;
} }
label { label {
@extend %text; @extend %text;
display: block; display: block;
margin-bottom: .25rem; margin-bottom: .25rem;
} }
.contrib-form-wrapper {
display: flex;
}
.submit-button { .submit-button {
display: block; display: block;
text-align: center; text-align: center;
@ -48,67 +36,18 @@
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0;
cursor: pointer; cursor: pointer;
display: flex; display: flex;
margin-bottom: 1rem;
padding: 0 1rem; padding: 0 1rem;
} }
.help-copy {
@extend %small;
opacity: 0;
&.visible {
opacity: 1;
transition: opacity .2s linear;
}
}
} }
.check-item { .check-item {
align-items: center; align-items: center;
// border-bottom: 1px solid $whitish;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 1rem; margin-top: 1rem;
&:last-child { &:last-child {
border-bottom: 0; border-bottom: 0;
}
}
.help {
margin-top: 2rem;
h3 {
font-family: opensans-semibold;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
ol {
padding: 0 0 0 2rem;
span {
font-family: opensans-semibold;
}
}
.img {
margin-bottom: 1rem;
}
.alt-image {
@extend %small;
font-style: italic;
}
code {
@extend %small;
background: $whitish;
direction: ltr;
display: block;
font-family: 'courier new', 'monospace';
line-height: 1.4rem;
margin-bottom: 1rem;
padding: .5rem;
unicode-bidi: embed;
white-space: pre;
width: 100%;
}
.code-info {
padding-left: 1rem;
li {
margin-bottom: .5rem;
}
span {
font-family: opensans-semibold;
}
}
} }
} }

View File

@ -6,13 +6,13 @@
} }
input, input,
textarea { textarea {
@extend %title; @extend %text;
} }
fieldset { fieldset {
margin-bottom: 1rem; margin-bottom: 1rem;
} }
label { label {
@extend %title; @extend %text;
display: block; display: block;
margin-bottom: .2rem; margin-bottom: .2rem;
} }
@ -46,46 +46,4 @@
} }
} }
} }
.help {
margin-top: 2rem;
h3 {
font-family: opensans-semibold;
margin-bottom: 1rem;
}
ol {
padding: 0 0 0 2rem;
span {
font-family: opensans-semibold;
}
}
.img {
margin-bottom: 1rem;
}
.alt-image {
@extend %small;
font-style: italic;
}
code {
@extend %small;
background: $whitish;
direction: ltr;
display: block;
font-family: 'courier new', 'monospace';
line-height: 1.4rem;
margin-bottom: 1rem;
padding: .5rem;
unicode-bidi: embed;
white-space: pre;
width: 100%;
}
.code-info {
padding-left: 1rem;
li {
margin-bottom: .5rem;
}
span {
font-family: opensans-semibold;
}
}
}
} }

View File

@ -1,29 +1,3 @@
.change-password-text { .change-password-text {
color: $grayer;
text-align: center; text-align: center;
} }
.change-password-form-container {
.token-change-password {
position: relative;
}
input:focus {
+.get-token {
opacity: 0;
transition: opacity .5s linear;
}
}
.get-token {
@extend %small;
color: $gray-light;
opacity: 1;
position: absolute;
right: 1rem;
top: .5rem;
transition: all .3s linear;
&:hover {
color: $grayer;
transition: color .3s linear;
}
}
}

View File

@ -23,10 +23,4 @@
transition: color .3s linear; transition: color .3s linear;
} }
} }
.remember-me {
vertical-align: top;
+label {
cursor: pointer;
}
}
} }

View File

@ -18,7 +18,6 @@
width: 100%; width: 100%;
} }
.backlog-table-title, .backlog-table-title,
.backlog-table-subtitle,
.row { .row {
&:hover { &:hover {
background: transparent; background: transparent;
@ -41,7 +40,6 @@
flex-basis: 125px; flex-basis: 125px;
flex-grow: 0; flex-grow: 0;
} }
} }
.votes { .votes {
color: $gray; color: $gray;
@ -191,7 +189,6 @@
display: none; display: none;
} }
} }
.row-selected,
.is-checked { .is-checked {
background: lighten($primary, 60%); background: lighten($primary, 60%);
transition: background .2s ease-in; transition: background .2s ease-in;

View File

@ -97,9 +97,6 @@
color: $gray-light; color: $gray-light;
flex-flow: 1; flex-flow: 1;
} }
.sprint-points {
flex-grow: 1;
}
ul { ul {
margin: 0; margin: 0;
} }
@ -224,7 +221,6 @@
.tags-block, .tags-block,
.us-settings, .us-settings,
.status, .status,
.icon-drag-v,
.popover, .popover,
input { input {
display: none; display: none;

View File

@ -157,12 +157,6 @@ $column-margin: 0 10px 0 0;
margin-bottom: .5rem; margin-bottom: .5rem;
min-height: 10rem; min-height: 10rem;
width: 100%; width: 100%;
&:hover {
.new-task {
opacity: 1;
transition: opacity .3s linear;
}
}
&.blocked { &.blocked {
.taskboard-userstory-box { .taskboard-userstory-box {
background: rgba($red, .6); background: rgba($red, .6);
@ -228,10 +222,6 @@ $column-margin: 0 10px 0 0;
.taskboard-userstory-box { .taskboard-userstory-box {
position: relative; position: relative;
.tag-list {
display: none;
margin-bottom: 1rem;
}
.us-title { .us-title {
@extend %large; @extend %large;
@extend %title; @extend %title;
@ -246,20 +236,3 @@ $column-margin: 0 10px 0 0;
} }
} }
} }
.points-list {
a {
color: $primary;
margin-left: .5rem;
&:hover {
span {
opacity: 1;
transition: opacity .2s linear;
}
}
}
span {
opacity: 0;
transition: opacity .2s linear;
}
}

View File

@ -138,17 +138,6 @@
transition: background .2s ease-in; transition: background .2s ease-in;
} }
} }
.more-comments {
@extend %small;
border-bottom: 1px solid $gray-light;
color: $gray-light;
display: block;
padding: 1rem;
.prev-comments-num {
color: $primary;
margin-left: .5rem;
}
}
.comment-list { .comment-list {
&.activeanimation { &.activeanimation {
.comment-single.ng-enter:last-child, .comment-single.ng-enter:last-child,
@ -287,14 +276,3 @@
} }
} }
} }
.more-activity {
@extend %small;
border-bottom: 1px solid $gray-light;
color: $gray-light;
display: block;
padding: 1rem;
.prev-activity-num {
color: $primary;
margin-left: .5rem;
}
}

View File

@ -17,10 +17,6 @@
text-align: center; text-align: center;
} }
} }
.more-info {
@extend %small;
color: $primary;
}
.template-selector-title { .template-selector-title {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

View File

@ -1,58 +0,0 @@
.create-project {
@extend %triangled-bg;
align-content: center;
align-items: center;
bottom: 0;
justify-content: center;
left: 0;
position: fixed;
right: 0;
top: 0;
z-index: 999;
fieldset {
margin-bottom: 1rem;
}
.create-project-container {
flex-basis: 400px;
flex-grow: 0;
}
h1 {
color: $white;
text-align: center;
}
.logo,
.tagline {
margin-bottom: 1rem;
text-align: center;
}
.tagline {
@extend %xlarge;
@extend %title;
color: $white;
line-height: 2rem;
text-transform: uppercase;
}
form {
margin-bottom: 2rem;
}
input {
background: $white;
@include placeholder {
color: $gray-light;
}
}
.button {
color: $white;
display: block;
margin-bottom: .5rem;
text-align: center;
&:hover {
background: $primary-light;
}
}
a {
&:hover {
color: $white;
}
}
}

View File

@ -33,9 +33,6 @@
.private { .private {
@include svg-size(1.1rem); @include svg-size(1.1rem);
} }
.like-watch-container {
margin-left: auto;
}
.track-buttons-container { .track-buttons-container {
display: flex; display: flex;
} }
@ -91,8 +88,7 @@
flex-basis: 220px; flex-basis: 220px;
width: 220px; width: 220px;
} }
.involved-team, .involved-team {
.involved-organization {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-bottom: 1rem; margin-bottom: 1rem;

View File

@ -6,7 +6,7 @@
} }
.row { .row {
&:hover { &:hover {
background: lighten($primary, 60%); background: lighten($primary, 65%);
transition: background .2s ease-in; transition: background .2s ease-in;
} }
.icon { .icon {
@ -20,10 +20,6 @@
} }
} }
} }
.row-selected {
background: lighten($primary, 60%);
transition: background .2s ease-in;
}
.title { .title {
@extend %medium; @extend %medium;
@extend %bold; @extend %bold;