Merge pull request #227 from mrliptontea/update-for-redmine-four-two-one
Update styles for Redmine 4.2.1
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
|
Latest (master):
|
||||||
|
|
||||||
|
* Update styles for Redmine 4.2
|
||||||
|
|
||||||
v2.14.0 (2021-01-27):
|
v2.14.0 (2021-01-27):
|
||||||
|
|
||||||
* Merged #220: fixed drag & drop behavior.
|
* Merged #220: fixed drag & drop behavior.
|
||||||
|
|||||||
@@ -52,3 +52,8 @@ tr.group .count,
|
|||||||
border-color: $green;
|
border-color: $green;
|
||||||
color: $green;
|
color: $green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.badge-issues-count {
|
||||||
|
border-color: $gray-400;
|
||||||
|
background-color: $gray-100;
|
||||||
|
}
|
||||||
|
|||||||
@@ -176,6 +176,10 @@ form {
|
|||||||
|
|
||||||
p.buttons {
|
p.buttons {
|
||||||
margin-bottom: $line-height-computed;
|
margin-bottom: $line-height-computed;
|
||||||
|
|
||||||
|
a {
|
||||||
|
line-height: $line-height-base;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,32 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.contextual {
|
.contextual {
|
||||||
.drdn {
|
.drdn-items {
|
||||||
|
padding: 3px;
|
||||||
|
|
||||||
|
a,
|
||||||
|
span {
|
||||||
|
padding-top: $pagination-padding-vertical;
|
||||||
|
padding-bottom: $pagination-padding-vertical;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: $border-radius-small;
|
||||||
|
color: $pagination-color;
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
border-color: $pagination-hover-border;
|
||||||
|
background-color: $pagination-hover-bg;
|
||||||
|
color: $pagination-hover-color;
|
||||||
|
text-decoration: none;
|
||||||
|
|
||||||
|
&.icon-del {
|
||||||
|
color: map-get(map-get($icon-color-map, danger), normal);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:not(.journal-actions) > .drdn {
|
||||||
&.expanded {
|
&.expanded {
|
||||||
> .drdn-trigger {
|
> .drdn-trigger {
|
||||||
border-color: $pagination-active-border;
|
border-color: $pagination-active-border;
|
||||||
@@ -85,7 +110,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&-trigger {
|
.drdn-trigger {
|
||||||
padding: $btn-padding-vertical $btn-padding-horizontal-small;
|
padding: $btn-padding-vertical $btn-padding-horizontal-small;
|
||||||
border: 1px solid $pagination-border;
|
border: 1px solid $pagination-border;
|
||||||
border-radius: $border-radius-base;
|
border-radius: $border-radius-base;
|
||||||
@@ -105,25 +130,20 @@
|
|||||||
color: $pagination-hover-color;
|
color: $pagination-hover-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
&-items {
|
}
|
||||||
padding: 3px;
|
|
||||||
|
.journal-actions {
|
||||||
a,
|
.drdn-trigger {
|
||||||
span {
|
color: map-get(map-get($icon-color-map, default), normal);
|
||||||
padding-top: $pagination-padding-vertical;
|
}
|
||||||
padding-bottom: $pagination-padding-vertical;
|
|
||||||
border: 1px solid transparent;
|
.drdn-trigger:hover,
|
||||||
border-radius: $border-radius-small;
|
.drdn.expanded .drdn-trigger {
|
||||||
color: $pagination-color;
|
color: map-get(map-get($icon-color-map, default), hover);
|
||||||
|
}
|
||||||
&:hover {
|
|
||||||
border-color: $pagination-hover-border;
|
.drdn-content {
|
||||||
background-color: $pagination-hover-bg;
|
top: $input-height-base;
|
||||||
color: $pagination-hover-color;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -461,6 +461,10 @@ ul.projects {
|
|||||||
li {
|
li {
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.archived {
|
||||||
|
color: $gray-600;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#projects-index ul.projects {
|
#projects-index ul.projects {
|
||||||
@@ -513,6 +517,14 @@ ul.projects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.projects {
|
||||||
|
.name {
|
||||||
|
a + span.icon {
|
||||||
|
margin-left: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#custom_field_tracker_ids {
|
#custom_field_tracker_ids {
|
||||||
label {
|
label {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|||||||
@@ -49,6 +49,11 @@ table.gantt-table {
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.last_gantt_selected_column .gantt_selected_column_container,
|
||||||
|
.gantt_subjects_container .gantt_subjects * {
|
||||||
|
z-index: 10;
|
||||||
|
}
|
||||||
|
|
||||||
.gantt_subjects_column {
|
.gantt_subjects_column {
|
||||||
.gantt_hdr {
|
.gantt_hdr {
|
||||||
border-left: 1px solid $gray-500 !important; // stylelint-disable-line declaration-no-important
|
border-left: 1px solid $gray-500 !important; // stylelint-disable-line declaration-no-important
|
||||||
|
|||||||
@@ -104,6 +104,8 @@ $icon-map: (
|
|||||||
icon-toggle-minus: $fa-var-minus-square,
|
icon-toggle-minus: $fa-var-minus-square,
|
||||||
icon-clear-query: $fa-var-times,
|
icon-clear-query: $fa-var-times,
|
||||||
icon-import: $fa-var-cloud-upload,
|
icon-import: $fa-var-cloud-upload,
|
||||||
|
icon-bookmarked-project: $fa-var-tag,
|
||||||
|
icon-copy-link: $fa-var-clipboard,
|
||||||
|
|
||||||
// Plugin icons
|
// Plugin icons
|
||||||
icon-call: $fa-var-phone,
|
icon-call: $fa-var-phone,
|
||||||
@@ -179,6 +181,10 @@ a.icon:empty {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.icon + span.icon {
|
||||||
|
margin-left: $padding-small-vertical;
|
||||||
|
}
|
||||||
|
|
||||||
$icons-selector: ();
|
$icons-selector: ();
|
||||||
@each $class, $icon in $icon-map {
|
@each $class, $icon in $icon-map {
|
||||||
$icons-selector: append($icons-selector, unquote(".#{$class}"), "comma");
|
$icons-selector: append($icons-selector, unquote(".#{$class}"), "comma");
|
||||||
@@ -191,6 +197,8 @@ $icons-selector: ();
|
|||||||
color: $orange;
|
color: $orange;
|
||||||
} @else if $class == "icon-heart" {
|
} @else if $class == "icon-heart" {
|
||||||
color: $pink;
|
color: $pink;
|
||||||
|
} @else if $class == "icon-bookmarked-project" {
|
||||||
|
color: $blue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -586,13 +594,48 @@ dt {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.my-project {
|
a.project {
|
||||||
|
$svg-star: inline-svg("icon-star.svg", (path: (fill: $orange)));
|
||||||
|
$svg-tag: inline-svg("icon-tag.svg", (path: (fill: $blue)));
|
||||||
|
|
||||||
|
&.icon {
|
||||||
|
padding-left: 0;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: "";
|
||||||
|
display: none;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&.my-project,
|
||||||
|
&.icon-user,
|
||||||
|
&.icon-bookmarked-project {
|
||||||
|
padding-right: $icon-width;
|
||||||
|
background-image: $svg-star;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: bottom .2em right 0, bottom .2em right $icon-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.icon-bookmarked-project {
|
||||||
|
background-image: $svg-tag;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.icon-user.icon-bookmarked-project {
|
||||||
|
padding-right: $icon-width * 2;
|
||||||
|
background-image: $svg-tag, $svg-star;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
span.my-project {
|
||||||
@extend %fa-icon;
|
@extend %fa-icon;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: $fa-var-star;
|
content: $fa-var-star;
|
||||||
color: $yellow;
|
width: $icon-width;
|
||||||
font-size: $font-size-small;
|
margin-right: 0;
|
||||||
|
color: $orange;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -894,6 +937,12 @@ div.wiki {
|
|||||||
> a {
|
> a {
|
||||||
@extend %fa-icon;
|
@extend %fa-icon;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
width: $icon-width;
|
||||||
|
margin-right: 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
&:not([class*="icon"]) {
|
&:not([class*="icon"]) {
|
||||||
&::before {
|
&::before {
|
||||||
content: $fa-var-comment;
|
content: $fa-var-comment;
|
||||||
|
|||||||
@@ -297,7 +297,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div.fileover {
|
div.fileover,
|
||||||
|
p.custom-field-filedroplistner.fileover {
|
||||||
background-color: $highlight-bg;
|
background-color: $highlight-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -383,6 +384,10 @@ div.thumbnails {
|
|||||||
border-bottom: 0 none;
|
border-bottom: 0 none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.subject {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
td.checkbox {
|
td.checkbox {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -535,14 +540,6 @@ div.thumbnails {
|
|||||||
padding: $bubble-padding-vertical $bubble-padding-horizontal;
|
padding: $bubble-padding-vertical $bubble-padding-horizontal;
|
||||||
font-size: $font-size-list;
|
font-size: $font-size-list;
|
||||||
|
|
||||||
a {
|
|
||||||
opacity: $icon-opacity;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
opacity: $icon-hover-opacity;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
> a.journal-link {
|
> a.journal-link {
|
||||||
padding-left: $issue-attribute-padding-h;
|
padding-left: $issue-attribute-padding-h;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@@ -550,6 +547,7 @@ div.thumbnails {
|
|||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -721,7 +719,16 @@ div.thumbnails {
|
|||||||
clear: left;
|
clear: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.journal-actions > a,
|
||||||
|
.journal-actions .drdn-trigger {
|
||||||
|
margin: -3px 3px;
|
||||||
|
padding-top: 3px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
.journal-link {
|
.journal-link {
|
||||||
|
margin: -3px -3px -3px 0;
|
||||||
|
padding: 3px;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,22 +43,22 @@
|
|||||||
|
|
||||||
a,
|
a,
|
||||||
button {
|
button {
|
||||||
&.ui-state-default {
|
&.ui-button {
|
||||||
border-color: $header-bg;
|
border-color: $header-bg;
|
||||||
background: $header-bg;
|
background: $header-bg;
|
||||||
|
box-shadow: none;
|
||||||
color: $header-text;
|
color: $header-text;
|
||||||
}
|
|
||||||
|
|
||||||
&.ui-state-hover,
|
|
||||||
&.ui-state-focus {
|
|
||||||
border-color: darken($header-bg, 12%);
|
|
||||||
background: darken($header-bg, 10%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-icon {
|
.ui-icon {
|
||||||
background-image: url("../../../stylesheets/jquery/images/ui-icons_ffffff_256x240.png");
|
background-image: url("../../../stylesheets/jquery/images/ui-icons_ffffff_256x240.png");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.ui-button:hover {
|
||||||
|
border-color: darken($header-bg, 12%);
|
||||||
|
background: darken($header-bg, 10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -245,3 +245,16 @@ div.jstElements {
|
|||||||
&::before { content: $fa-var-question-circle; }
|
&::before { content: $fa-var-question-circle; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
.table-generator {
|
||||||
|
td {
|
||||||
|
border-color: $tab-border;
|
||||||
|
}
|
||||||
|
|
||||||
|
td.selected-cell,
|
||||||
|
td:hover {
|
||||||
|
background-color: $brand-primary;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -108,6 +108,7 @@ table.list {
|
|||||||
&.last_notes,
|
&.last_notes,
|
||||||
&.last_updated_by,
|
&.last_updated_by,
|
||||||
&.name,
|
&.name,
|
||||||
|
&.parent-subject,
|
||||||
&.priority,
|
&.priority,
|
||||||
&.relations,
|
&.relations,
|
||||||
&.roles,
|
&.roles,
|
||||||
|
|||||||
@@ -91,3 +91,21 @@
|
|||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: right $input-padding-horizontal center;
|
background-position: right $input-padding-horizontal center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//
|
||||||
|
// Two-factor authentication
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
.controller-twofa {
|
||||||
|
.splitcontentleft {
|
||||||
|
width: auto;
|
||||||
|
padding-right: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.twofa_backup_codes {
|
||||||
|
margin-left: 0;
|
||||||
|
padding: 0;
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
1
svg/icon-star.svg
Normal file
1
svg/icon-star.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg width="16" height="16" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="red" d="M1728 647q0 22-26 48l-363 354 86 500q1 7 1 20 0 21-10.5 35.5t-30.5 14.5q-19 0-40-12l-449-236-449 236q-22 12-40 12-21 0-31.5-14.5t-10.5-35.5q0-6 2-20l86-500-364-354q-25-27-25-48 0-37 56-46l502-73 225-455q19-41 49-41t49 41l225 455 502 73q56 9 56 46z"/></svg>
|
||||||
|
After Width: | Height: | Size: 363 B |
1
svg/icon-tag.svg
Normal file
1
svg/icon-tag.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg width="16" height="16" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path fill="red" d="M576 448q0-53-37.5-90.5t-90.5-37.5-90.5 37.5-37.5 90.5 37.5 90.5 90.5 37.5 90.5-37.5 37.5-90.5zm1067 576q0 53-37 90l-491 492q-39 37-91 37-53 0-90-37l-715-716q-38-37-64.5-101t-26.5-117v-416q0-52 38-90t90-38h416q53 0 117 26.5t102 64.5l715 714q37 39 37 91z"/></svg>
|
||||||
|
After Width: | Height: | Size: 369 B |
Reference in New Issue
Block a user