Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/sass/components/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,7 @@ blockquote {
.clear {
@extend %clearfix;
}

.inline-block {
display: inline-block;
}
3 changes: 3 additions & 0 deletions src/sass/components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ p.buttons {
line-height: initial;
}
}
}

#list-definition,
.query-columns {
.buttons {
vertical-align: middle;

Expand Down
3 changes: 3 additions & 0 deletions src/sass/components/_calendar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,7 @@ p.cal.legend {
span {
display: block;
}
svg + span {
display: inline-block;
}
}
1 change: 1 addition & 0 deletions src/sass/components/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
}

> h3:first-child,
#sidebar-wrapper > h3:first-child,
> form:first-child > h3 {
margin-top: $line-height-computed * .25;
}
Expand Down
6 changes: 6 additions & 0 deletions src/sass/components/_context-menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@

&.submenu {
background-image: inline-svg("chevron-right.svg", (path: (fill: $btn-default-icon-color)));
background-repeat: no-repeat;
background-position: right;

+ span.icon-only {
display: none;
}
}
}
}
Expand Down
8 changes: 8 additions & 0 deletions src/sass/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// --------------------------------------------------

form {
.filter > div,
#list-definition > div div,
td {
padding: $table-condensed-cell-padding;
}
Expand Down Expand Up @@ -676,6 +678,7 @@ fieldset#filters {
}
}

div,
td {
&.field {
padding-right: $table-cell-padding * 2;
Expand Down Expand Up @@ -715,6 +718,11 @@ fieldset#filters {
}
}

div.filter {
display: flex;
align-items: center;
}

div.add-filter {
padding-top: $table-condensed-cell-padding;

Expand Down
23 changes: 23 additions & 0 deletions src/sass/components/_icons.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Hide Redmine 6 new SVG icons
svg.s12,
svg.s14,
svg.s18,
svg.s20 {
display: none;
}

%fa-icon {
&::before {
@include fa-icon;
Expand Down Expand Up @@ -886,6 +894,21 @@ div.wiki {
}
}

.flyout-menu__search {
form {
&::after {
content: $fa-var-search;
display: block;
position: absolute;
top: 50%;
left: .5em;
transform: translateY(-50%);
color: $text-color;
font-family: FontAwesome;
}
}
}


//== Hacks and overrides for Font Awesome
//
Expand Down
20 changes: 20 additions & 0 deletions src/sass/components/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -774,3 +774,23 @@ table.list.enumerations {
font-weight: $font-weight-bold;
}
}


//== Definition lists
//

#list-definition {
> div {
display: flex;
flex-wrap: wrap;
align-items: center;

.query-columns label {
display: block;
}

.field {
width: 4.85rem;
}
}
}
24 changes: 17 additions & 7 deletions src/sass/components/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ body {
}
}

.flyout-menu__sidebar {
> div {
padding-left: 0;
}
}

#header {
height: $responsive-header-height;
background-color: $header-bg;

#project-jump {
Expand Down Expand Up @@ -98,6 +105,10 @@ body {
width: 200px;
}

.sidebar-toggler {
display: none;
}

.mobile-toggle-button {
width: $responsive-header-height;
height: $responsive-header-height;
Expand All @@ -113,7 +124,7 @@ body {
color: $flyout-menu-text;

.search-magnifier {
left: 18px;
display: none;
}

&__search {
Expand Down Expand Up @@ -212,8 +223,13 @@ body {
}

form {
position: relative;
padding-left: 0;

label {
display: inline-block;
}

> ul {
margin-left: 0;

Expand Down Expand Up @@ -289,12 +305,6 @@ body {
}
}

.search-magnifier {
&--flyout {
line-height: normal;
}
}

.splitcontentleft {
margin-bottom: $line-height-computed;
padding-right: 0;
Expand Down
2 changes: 1 addition & 1 deletion stylesheets/application.css

Large diffs are not rendered by default.