Compare commits

...

3 Commits
v2.0 ... v2.0.1

Author SHA1 Message Date
Grzegorz Rajchman
d429f35dfc Merge pull request #91 from mrliptontea/issue-90-misaligned-delete-icon-in-watchers-list
Resolve regression in sidebar layouts
2019-03-18 22:20:05 +00:00
mrliptontea
8dab6dc92b Remove reduntant abbr style 2019-03-18 22:13:37 +00:00
mrliptontea
25ba736e7d Resolve regression in sidebar layouts
Fixes #90
2019-03-17 22:40:26 +00:00
6 changed files with 94 additions and 74 deletions

View File

@@ -56,6 +56,11 @@ If you need to customize styles for [Redmine Backlogs][redmine_backlogs] remembe
## Changelog
v2.0.1 (2019-03-17):
* Fixed #90: regression in some sidebar layouts
* Removed reduntant `abbr[title]` styles
v2.0 (2019-03-13):
* Refreshed, modernized look & feel

View File

@@ -2,8 +2,8 @@
// Admin
// --------------------------------------------------
#main #admin-menu {
ul {
#admin-menu {
ul:nth-child(n) {
li {
list-style-type: none;
@@ -14,9 +14,8 @@
}
}
}
}
#main #admin-index > #admin-menu {
#admin-index > & {
ul {
margin: 0;
padding: 0;
@@ -31,6 +30,7 @@
padding-left: 5px + 20px;
background-position: 0 center;
}
}
}

View File

@@ -149,11 +149,6 @@ hr {
border-top: 1px solid $hr-border;
}
abbr[title] {
border-bottom: 1px dotted $abbr-border-color;
cursor: help;
}
blockquote {
margin: 0 0 $line-height-computed;
padding: floor($line-height-computed / 4) $padding-large-horizontal;

View File

@@ -28,7 +28,7 @@
// Sidebar
// --------------------------------------------------
#main #sidebar {
#sidebar {
padding: $padding-side $sidebar-padding-horizontal;
@if $flexbox-layout {
@@ -58,6 +58,19 @@
}
}
.nosidebar & {
margin: 0;
padding: 0;
border: 0 none;
@if $flexbox-layout {
flex: 0 0 auto;
} @else {
width: 0;
float: none;
}
}
h3 {
margin-top: $line-height-computed * 1.5;
}
@@ -68,6 +81,7 @@
}
ul {
&:nth-child(n) {
margin: 0 0 ($line-height-computed / 2);
padding: 0;
@@ -76,7 +90,9 @@
} @else {
margin-left: -($sidebar-padding-horizontal);
}
}
&:not(.watchers) {
li {
margin: 0;
padding: 0;
@@ -121,18 +137,17 @@
}
}
}
}
}
#main.nosidebar #sidebar {
margin: 0;
padding: 0;
border: 0 none;
// Special treatment for anchor tags directly under sidebar tag
> a {
padding: $sidebar-padding-vertical $sidebar-padding-horizontal;
@if $flexbox-layout {
flex: 0 0 auto;
@if $sidebar-position == "left" {
padding-left: $sidebar-padding-horizontal + 3px;
} @else {
width: 0;
float: none;
padding-right: $sidebar-padding-horizontal + 3px;
}
}
}

View File

@@ -201,10 +201,15 @@ a.collapsible.collapsed,
background: transparent;
}
> .icon-only {
&::before {
line-height: inherit;
}
}
> .delete {
float: right;
opacity: $icon-opacity;
vertical-align: middle;
&:hover {
opacity: $icon-hover-opacity;

File diff suppressed because one or more lines are too long