Fix high-contrast styles and ally
parent
c47955b4d0
commit
4fea795b30
|
@ -11,7 +11,10 @@ section.home-project-list(ng-if="vm.projects.size")
|
||||||
title="{{tag.get('name')}}"
|
title="{{tag.get('name')}}"
|
||||||
tg-repeat="tag in project.get('colorized_tags') track by tag.get('name')"
|
tg-repeat="tag in project.get('colorized_tags') track by tag.get('name')"
|
||||||
)
|
)
|
||||||
.project-card-inner(href="#", tg-nav="project:project=project.get('slug')")
|
.project-card-inner(
|
||||||
|
href="#"
|
||||||
|
tg-nav="project:project=project.get('slug')"
|
||||||
|
)
|
||||||
.project-card-header
|
.project-card-header
|
||||||
a.project-card-logo(
|
a.project-card-logo(
|
||||||
href="#"
|
href="#"
|
||||||
|
@ -22,7 +25,7 @@ section.home-project-list(ng-if="vm.projects.size")
|
||||||
tg-project-logo-small-src="::project"
|
tg-project-logo-small-src="::project"
|
||||||
alt="{{::project.get('name')}}"
|
alt="{{::project.get('name')}}"
|
||||||
)
|
)
|
||||||
h2.project-card-name
|
h3.project-card-name
|
||||||
a.project-title(
|
a.project-title(
|
||||||
href="#"
|
href="#"
|
||||||
tg-nav="project:project=project.get('slug')"
|
tg-nav="project:project=project.get('slug')"
|
||||||
|
@ -85,11 +88,16 @@ section.home-project-list(ng-if="vm.projects.size")
|
||||||
section.projects-empty(ng-if="vm.projects != undefined && vm.projects.size === 0")
|
section.projects-empty(ng-if="vm.projects != undefined && vm.projects.size === 0")
|
||||||
tg-svg(svg-icon="icon-project")
|
tg-svg(svg-icon="icon-project")
|
||||||
p(translate="HOME.EMPTY_PROJECT_LIST")
|
p(translate="HOME.EMPTY_PROJECT_LIST")
|
||||||
a.create-project-button.button-green(href="#", ng-click="vm.newProject()",
|
a.create-project-button.button-green(
|
||||||
title="{{'PROJECT.NAVIGATION.TITLE_CREATE_PROJECT' | translate}}",
|
href="#"
|
||||||
translate="PROJECT.NAVIGATION.ACTION_CREATE_PROJECT")
|
ng-click="vm.newProject()"
|
||||||
|
title="{{'PROJECT.NAVIGATION.TITLE_CREATE_PROJECT' | translate}}"
|
||||||
|
translate="PROJECT.NAVIGATION.ACTION_CREATE_PROJECT"
|
||||||
|
)
|
||||||
span(tg-import-project-button)
|
span(tg-import-project-button)
|
||||||
a.import-project-button.button-blackish(href="#",
|
a.import-project-button.button-blackish(
|
||||||
title="{{'PROJECT.NAVIGATION.TITLE_IMPORT_PROJECT' | translate}}",
|
href="#"
|
||||||
translate="PROJECT.NAVIGATION.ACTION_IMPORT_PROJECT")
|
title="{{'PROJECT.NAVIGATION.TITLE_IMPORT_PROJECT' | translate}}"
|
||||||
|
translate="PROJECT.NAVIGATION.ACTION_IMPORT_PROJECT"
|
||||||
|
)
|
||||||
input.import-file.hidden(type="file")
|
input.import-file.hidden(type="file")
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
section.working-on-container
|
|
||||||
|
|
||||||
header
|
|
||||||
h1
|
h1
|
||||||
span.green {{"HOME.DASHBOARD" | translate}}
|
span.green {{"HOME.DASHBOARD" | translate}}
|
||||||
|
|
||||||
|
section.working-on-container
|
||||||
.title-bar.working-on-title(translate="HOME.WORKING_ON_SECTION")
|
header
|
||||||
|
h1.title-bar.working-on-title(translate="HOME.WORKING_ON_SECTION")
|
||||||
|
|
||||||
.working-on(ng-if="vm.assignedTo.size")
|
.working-on(ng-if="vm.assignedTo.size")
|
||||||
.duty-single(
|
.duty-single(
|
||||||
|
@ -17,7 +15,8 @@ section.working-on-container
|
||||||
include empty.jade
|
include empty.jade
|
||||||
|
|
||||||
section.watching-container
|
section.watching-container
|
||||||
.title-bar.watching-title(translate="HOME.WATCHING_SECTION")
|
header
|
||||||
|
h1.title-bar.watching-title(translate="HOME.WATCHING_SECTION")
|
||||||
|
|
||||||
.watching(ng-if="vm.watching.size")
|
.watching(ng-if="vm.watching.size")
|
||||||
.duty-single(
|
.duty-single(
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
// Default body color and background
|
// Default body color and background
|
||||||
body {
|
body {
|
||||||
background: $white; // fallback
|
background: $white; // fallback
|
||||||
color: $grayer;
|
color: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Main
|
// Main
|
||||||
|
@ -128,6 +128,11 @@ cite {
|
||||||
.summary {
|
.summary {
|
||||||
background: $grayer;
|
background: $grayer;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
.stats {
|
||||||
|
svg {
|
||||||
|
fill: $white;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -145,7 +150,7 @@ cite {
|
||||||
:hover {
|
:hover {
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
svg path {
|
svg {
|
||||||
fill: $white;
|
fill: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -169,6 +174,89 @@ tg-project-menu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//** HOME
|
||||||
|
//******************************
|
||||||
|
|
||||||
|
.home-project-list {
|
||||||
|
li {
|
||||||
|
border: 1px solid $black;
|
||||||
|
}
|
||||||
|
p {
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//** WORKING ON
|
||||||
|
//******************************
|
||||||
|
.working-on-container {
|
||||||
|
.list-itemtype-ticket {
|
||||||
|
.ticket-status,
|
||||||
|
.ticket-status,
|
||||||
|
.ticket-type,
|
||||||
|
.ticket-project {
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//** PROJECT PAGE
|
||||||
|
//******************************
|
||||||
|
|
||||||
|
.single-project {
|
||||||
|
.title {
|
||||||
|
background: $whitish;
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.watch-options {
|
||||||
|
a{
|
||||||
|
&.active {
|
||||||
|
color: $primary;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//** SCRUM
|
||||||
|
//******************************
|
||||||
|
|
||||||
|
.summary {
|
||||||
|
.data {
|
||||||
|
.number {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//*****************************
|
||||||
|
//** WIKI
|
||||||
|
//******************************
|
||||||
|
|
||||||
|
.wiki-summary {
|
||||||
|
.username {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.drag-drop-help {
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wiki-content {
|
||||||
|
&.editable {
|
||||||
|
&:hover {
|
||||||
|
.wysiwyg {
|
||||||
|
background: $white;
|
||||||
|
border: 1px solid;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//*****************************
|
//*****************************
|
||||||
//** TASKBOARD
|
//** TASKBOARD
|
||||||
|
@ -222,11 +310,6 @@ tg-project-menu {
|
||||||
color: $black;
|
color: $black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.points-per-role > li:first-child {
|
|
||||||
background: $black;
|
|
||||||
}
|
|
||||||
|
|
||||||
//*****************************
|
//*****************************
|
||||||
//** TICKET DETAIL
|
//** TICKET DETAIL
|
||||||
//******************************
|
//******************************
|
||||||
|
@ -274,6 +357,15 @@ tg-project-menu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.us-story-main-data {
|
||||||
|
.us-title {
|
||||||
|
background: $white;
|
||||||
|
.us-name {
|
||||||
|
color: $black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//*****************************
|
//*****************************
|
||||||
//** LOGIN
|
//** LOGIN
|
||||||
//******************************
|
//******************************
|
||||||
|
@ -285,18 +377,7 @@ tg-project-menu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//*****************************
|
|
||||||
//** HOME
|
|
||||||
//******************************
|
|
||||||
|
|
||||||
.home-project-list {
|
|
||||||
li {
|
|
||||||
border: 1px solid $black;
|
|
||||||
}
|
|
||||||
p {
|
|
||||||
color: $black;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
//*****************************
|
//*****************************
|
||||||
//** PROFILE
|
//** PROFILE
|
||||||
|
@ -336,7 +417,6 @@ tg-project-menu {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
label {
|
label {
|
||||||
color: $black;
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ $blackish: #212121;
|
||||||
$grayer: #212121;
|
$grayer: #212121;
|
||||||
$gray: #757575;
|
$gray: #757575;
|
||||||
$gray-light: #757575;
|
$gray-light: #757575;
|
||||||
$whitish: #757575;
|
$whitish: #c1c1c1;
|
||||||
$white: #fff;
|
$white: #fff;
|
||||||
|
|
||||||
// Primary colors
|
// Primary colors
|
||||||
|
|
Loading…
Reference in New Issue