Filters module
parent
2920759dac
commit
915552328f
|
@ -1,24 +1,26 @@
|
||||||
extends layout
|
extends layout
|
||||||
|
|
||||||
block head
|
block head
|
||||||
title Taiga Project management web application with scrum in mind!
|
title Taiga Project management web application with scrum in mind!
|
||||||
|
|
||||||
block content
|
block content
|
||||||
section.main.backlog
|
sidebar.menu-secondary.extrabar
|
||||||
include views/components/mainTitle
|
include views/modules/filters
|
||||||
include views/components/summary
|
section.main.backlog
|
||||||
include views/modules/burndown
|
include views/components/mainTitle
|
||||||
div.backlog-menu
|
include views/components/summary
|
||||||
a.trans-button(href="", title="Move to Current Sprint")
|
include views/modules/burndown
|
||||||
span.icon.icon-move
|
div.backlog-menu
|
||||||
span.text Move to current Sprint
|
a.trans-button(href="", title="Move to Current Sprint")
|
||||||
a.trans-button(href="", title="Show Filters")
|
span.icon.icon-move
|
||||||
span.icon.icon-filter
|
span.text Move to current Sprint
|
||||||
span.text Show Filters
|
a.trans-button(href="", title="Show Filters")
|
||||||
a.trans-button(href="", title="Show Tags")
|
span.icon.icon-filter
|
||||||
span.icon.icon-tag
|
span.text Show Filters
|
||||||
span.text Show Tags
|
a.trans-button(href="", title="Show Tags")
|
||||||
include views/components/addnewus
|
span.icon.icon-tag
|
||||||
include views/modules/backlog-table
|
span.text Show Tags
|
||||||
sidebar.menu-secondary.sidebar
|
include views/components/addnewus
|
||||||
include views/modules/sprints
|
include views/modules/backlog-table
|
||||||
|
sidebar.menu-secondary.sidebar
|
||||||
|
include views/modules/sprints
|
||||||
|
|
|
@ -9,6 +9,6 @@ html(lang="en")
|
||||||
link(rel="stylesheet", href="styles/main.css")
|
link(rel="stylesheet", href="styles/main.css")
|
||||||
block head
|
block head
|
||||||
body
|
body
|
||||||
|
include views/modules/nav
|
||||||
div.wrapper
|
div.wrapper
|
||||||
include views/modules/nav
|
|
||||||
block content
|
block content
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
.single-filter {
|
||||||
|
display: block;
|
||||||
|
margin-bottom: .5em;
|
||||||
|
font-family: 'ostrichSans';
|
||||||
|
@extend .large;
|
||||||
|
height: 32px;
|
||||||
|
opacity: .5;
|
||||||
|
@include clearfix;
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
&:hover {
|
||||||
|
opacity: 1;
|
||||||
|
@include transition (opacity .2s linear);
|
||||||
|
color: $grayer;
|
||||||
|
}
|
||||||
|
.name, .number {
|
||||||
|
padding: 8px 10px;
|
||||||
|
}
|
||||||
|
.name {
|
||||||
|
background: darken($whitish, 10%); /* Fallback */
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.number {
|
||||||
|
background: darken($whitish, 20%); /* Fallback */
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
}
|
||||||
|
}
|
|
@ -24,6 +24,21 @@
|
||||||
color: $freshTaiga;
|
color: $freshTaiga;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.number {
|
||||||
|
font-family: 'DroidSans-Bold';
|
||||||
|
@extend .xlarge;
|
||||||
|
float: left;
|
||||||
|
margin-right: .2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.description {
|
||||||
|
font-family: 'DroidSans';
|
||||||
|
@extend .small;
|
||||||
|
float: left;
|
||||||
|
line-height: .9rem;
|
||||||
|
position: relative;
|
||||||
|
top: -6px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.summary-progress-bar {
|
.summary-progress-bar {
|
||||||
|
@ -43,19 +58,3 @@
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.number {
|
|
||||||
font-family: 'DroidSans-Bold';
|
|
||||||
@extend .xlarge;
|
|
||||||
float: left;
|
|
||||||
margin-right: .2rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
|
||||||
font-family: 'DroidSans';
|
|
||||||
@extend .small;
|
|
||||||
float: left;
|
|
||||||
line-height: .9rem;
|
|
||||||
position: relative;
|
|
||||||
top: -6px;
|
|
||||||
}
|
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
fieldset{
|
||||||
|
width: 100%;
|
||||||
|
border: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
position: relative;
|
||||||
|
.icon {
|
||||||
|
position: absolute;
|
||||||
|
top: 6px;
|
||||||
|
right: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="text"], input[type="email"], textarea{
|
||||||
|
font-family: 'ostrichSans';
|
||||||
|
@extend .large;
|
||||||
|
padding: 5px;
|
||||||
|
height: 32px;
|
||||||
|
background: $grayLight;
|
||||||
|
width: 100%;
|
||||||
|
border: 0;
|
||||||
|
margin: 0;
|
||||||
|
color: $grayer;
|
||||||
|
@include placeholder {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
}
|
|
@ -21,23 +21,26 @@ body {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-content: stretch;
|
align-content: stretch;
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
|
padding-left: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-secondary {
|
.menu-secondary {
|
||||||
width: 200px;
|
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-basis: 200px;
|
flex-basis: 260px;
|
||||||
padding: 2em 1em;
|
padding: 2em 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.extrabar {
|
||||||
|
background: $whitish;
|
||||||
|
/* display: none; */
|
||||||
|
}
|
||||||
|
|
||||||
.main {
|
.main {
|
||||||
width: 600px;
|
|
||||||
flex-grow: 8;
|
flex-grow: 8;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-basis: 200px;
|
flex-basis: 600px;
|
||||||
padding: 2em;
|
padding: 2em;
|
||||||
padding-left: calc(2em + 90px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
|
|
|
@ -16,6 +16,7 @@ $prefix-for-spec: true;
|
||||||
@import 'dependencies/typography';
|
@import 'dependencies/typography';
|
||||||
@import 'dependencies/elements';
|
@import 'dependencies/elements';
|
||||||
@import 'dependencies/mixins';
|
@import 'dependencies/mixins';
|
||||||
|
@import 'dependencies/forms';
|
||||||
|
|
||||||
//Components
|
//Components
|
||||||
@import 'components/buttons';
|
@import 'components/buttons';
|
||||||
|
@ -23,6 +24,7 @@ $prefix-for-spec: true;
|
||||||
@import 'components/summary';
|
@import 'components/summary';
|
||||||
@import 'components/popover';
|
@import 'components/popover';
|
||||||
@import 'components/tag';
|
@import 'components/tag';
|
||||||
|
@import 'components/filter';
|
||||||
|
|
||||||
//Layout
|
//Layout
|
||||||
@import 'layout/base';
|
@import 'layout/base';
|
||||||
|
@ -34,6 +36,7 @@ $prefix-for-spec: true;
|
||||||
@import 'modules/sprints';
|
@import 'modules/sprints';
|
||||||
@import 'modules/burndown';
|
@import 'modules/burndown';
|
||||||
@import 'modules/backlog-table';
|
@import 'modules/backlog-table';
|
||||||
|
@import 'modules/filters';
|
||||||
|
|
||||||
// Responsive
|
// Responsive
|
||||||
@import 'responsive/mobile';
|
@import 'responsive/mobile';
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
.filters {
|
||||||
|
form {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.filter-list {
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
a.single-filter(href="", title="filter")
|
||||||
|
span.name filter
|
||||||
|
span.number 23
|
|
@ -0,0 +1,10 @@
|
||||||
|
section.filters
|
||||||
|
header
|
||||||
|
h1 filters
|
||||||
|
form
|
||||||
|
fieldset
|
||||||
|
input(type="text", placeholder="Filter Filters")
|
||||||
|
a.icon.icon-search(href="", title="search")
|
||||||
|
div.filter-list
|
||||||
|
- for (var x = 0; x < 10; x++)
|
||||||
|
include ../components/filter
|
Loading…
Reference in New Issue