Compare commits

...

13 Commits

Author SHA1 Message Date
mrliptontea
41143cf15f Update package versions 2021-05-22 16:23:58 +01:00
mrliptontea
745962541b Release v2.14.0 2021-01-27 18:00:53 +00:00
Grzegorz Rajchman
665ff99d15 Merge pull request #220 from liaham/master
Fix sorting behavior on enumeration page
2021-01-27 17:58:26 +00:00
Liane Hampe
b823dda2d9 Fix sorting behavior layout independent
The respective css styling is moved out of the case distinction between
grid and flexbox layout to be indpendent of the layout choice.
2021-01-10 15:26:59 +01:00
Liane Hampe
bf14f9fa3c Fix sorting behavior on enumeration page
Sorting a list item on administration/enumerations page causes for the
tables at second and third position on the page an unexpected behavior
when trying to sort an element by drag & drop.

That is, the distance between the dragged element and its placeholder
increases that much that it was difficult to position the list item as
wished.
2021-01-10 15:03:55 +01:00
Grzegorz Rajchman
58c45cf28f Merge pull request #217 from mrliptontea/dependabot/npm_and_yarn/ini-1.3.7
Bump ini from 1.3.5 to 1.3.7
2020-12-12 12:35:41 +00:00
dependabot[bot]
0dc89601b4 Bump ini from 1.3.5 to 1.3.7
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 07:20:36 +00:00
Grzegorz Rajchman
df3bf34032 Merge pull request #213 from geekbrother/master
Increase top menu elements margin
2020-10-14 21:56:07 +01:00
Max Kalashnikov
acd262667a Fix margin between top menu elements. 2020-10-14 11:41:24 +03:00
Max Kalashnikov
052fdbc2cc Fixing top menu items margin. 2020-10-14 11:37:36 +03:00
Max Kalashnikov
3a541692fa Fix top menu list margins. 2020-10-14 11:32:06 +03:00
mrliptontea
d1684a8d99 Release v2.13.0 2020-09-26 14:00:33 +01:00
Grzegorz Rajchman
6bdbd2de8a Merge pull request #210 from mrliptontea/replace-node-sass-with-sass
Replace node-sass with sass
2020-09-26 13:57:59 +01:00
24 changed files with 2138 additions and 2763 deletions

319
CHANGELOG.md Normal file
View File

@@ -0,0 +1,319 @@
v2.14.0 (2021-01-27):
* Merged #220: fixed drag & drop behavior.
v2.13.0 (2020-09-26):
* Replaced node-sass with sass.
* Resolved issues with `inline-svg` function in Node 14.x.
v2.12.1 (2020-08-11):
* Fixed #204 - missing context menu icons in Easy WBS plugin.
v2.12.0 (2020-08-01):
* Fixed #196 and #199: text wrapping in certain column types.
* Merged #203: fixed pagination overlapping wiki content.
v2.11.0 (2020-05-08):
* Fixed #179: full screen mode issues when using redmine_wysiwyg_editor plugin.
* Fixed #177: changed styling for icon-only buttons to resolve weird behavior on hover.
* Added `$icon-width` variable.
* Added margin in some places like after buttons, avatars.
* Changed tooltip background to black.
* Changed top menu styles.
* Restored `$color-priorities` variable, `false` by default.
* Added `parse-length($value, $side)` function for extracting length/width from margin/padding/border.
* Fixed checkbox cell padding when issue table borders are enabled.
* Added table icon to jstoolbar styles.
* Refactored icons code.
* Improved styles for [RedmineUP](https://www.redmineup.com/pages/plugins) plugins (Agile, Checklists, CRM, Tags).
* Improved vertical alignment of certain form elements.
* Improved styles for sortable elements.
* Added new `.inline-flex` class.
* Improved styles for [Redmine Banner](https://github.com/akiko-pusu/redmine_banner) plugin.
v2.10.2 (2020-04-09):
* Fixed #175: couldn't edit note when it's URL target.
* Improved styling of some inline edit forms.
v2.10.1 (2020-04-06):
* Fixed #160: highlight color in jQuery UI menu, most notably in checklist plugin.
v2.10.0 (2020-04-05):
* Fixed #172 Collapsed/expended icons for completed versions.
* Fixed #171 "Display" label in Gantt option.
* Fixed #170 radio buttons in projects options.
* Fixed #169 styles in the spent time tab.
* Fixed #164: apply responsive overrides more generally
* Fixed #159: wrapping long text in issue attributes.
* Fixed #150: styling for query totals and expander in Agile plugin.
* Fixed #148: full screen view for Dashboard plugin.
* Fixed a "timeline" positioning in issue notes/changes.
* Changed lightness of shades 50 and 950.
* Changed loader styles.
* Changed rouge syntax highlighter color scheme.
v2.9.1 (2020-02-22):
* Merged fix #155: $.load function removed from jQuery.
* Fixed badge positioning in roadmap screen.
v2.9.0 (2020-01-30):
* Fixed #141: improved styling for issue edit form.
* Fixed #142: TOC assumes `left` by default, also added new variables to control how it looks.
* Fixed #143: `$main-menu-bg-hover` is now being used.
* Resolved #144: added `$main-menu-bg-active` variable.
* Resolved #145: added `$table-list-header-bg` variable.
* Fixed #147: corrected forum edit attached files icon.
* Fixed #153: improved styling for `label.block`.
* Added styling for clear query button.
* Improved responsive sidebar menu layout.
v2.8.0 (2019-08-13):
* Resolved #132: fixed spacing for headers on roadmap pages.
* Merged fix #136: broken layout with large image attachment.
v2.7.0 (2019-06-13):
* Resolved #124: added support for [issue-id](http://projects.andriylesyuk.com/projects/issue-id/) plugin.
v2.6.0 (2019-06-13):
* Resolved #121: added support for [redmine_wiki_page_tree](https://github.com/ledsun/redmine_wiki_page_tree) plugin.
v2.5.0 (2019-06-05):
* Fixed #117, #118 and added many improvements to the responsive layout.
v2.4.0 (2019-06-02):
* Synchronized most application styles with Redmine's default theme.
* Fixed #115: color overdue date in issue lists.
v2.3.1 (2019-05-09):
* Fixed #112: improved highlight contrast in text diffs.
v2.3.0 (2019-05-09):
* Fixed #107: nested lists in the sidebar via [Additionals](https://www.redmine.org/plugins/additionals) plugin.
v2.2.0 (2019-04-09):
* Fixed #101, #102: tooltip positioning
v2.1.1 (2019-03-23):
* Fixed sidebar toggler style when fixed layout is enabled
* Fixed contextual dropdown padding in mobile view
v1.11.0 (2019-03-22):
* Backported fixes from v2:
* Fixed #89: [RM+ custom menu](http://rmplus.pro/en/redmine/plugins/custom_menu) breaking the layout
* Fixed #90: regression in some sidebar layouts
* Fixed #93: Agile chart expanding indefinitely when Additional "Go to top" link is enabled
* Fixed #94: subtasks indentation
* Fixed styling of some flash messages
* Fixed horizontal scrollbar appearing when sidebar is on the right
* Fixed footer being mispositioned in Agile charts
* Fixed positioning of admin menu icons for some plugins
* Improved support for [Redmine Tags](https://www.redmineup.com/pages/plugins/tags) plugin
* Added separator line between news on the news list
* Improved Redmine 4.0 compatibility
* Updated Font Awesome icons to 4.7.0
v2.1.0 (2019-03-22):
* Added CSS grid layout support (off by default because of IE support)
* Fixed styling of some flash messages
* Fixed horizontal scrollbar appearing when sidebar is on the right
* Fixed footer being mispositioned in Agile charts
* Improved support for [Redmine Tags](https://www.redmineup.com/pages/plugins/tags) plugin
* Fixed positioning of admin menu icons for some plugins
* Added separator line between news on the news list
* Fixed #93: Agile chart expanding indefinitely when Additional "Go to top" link is enabled
* Fixed #94: subtasks indentation
* Improved progress bar styling, avatar positioning, WYSIWYG button styling, wiki preview font sizes
v2.0.2 (2019-03-20):
* Fixed #89: [RM+ custom menu](http://rmplus.pro/en/redmine/plugins/custom_menu) breaking the layout
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
* Added priority icons
* Removed `$color-priorities` setting and styles
* Improved Redmine 4.0 compatibility
* Updated Font Awesome icons to 4.7.0
v1.10.0 (2019-03-12):
* Fixed #86: added support for redmine_hearts plugin
v1.9.0 (2019-03-01):
* Fixed #42: override some styles from [RM+](http://rmplus.pro) plugins
* Merged #43: fixes for Redmine 3.3.2.devel
* Support for responsive menu and further changes for Redmine 3.3.2.devel (fixes #26)
* Improved styles for custom flash messages in wiki content (e.g. for [WikiNG](http://www.redmine.org/plugins/wiking) plugin)
* Introduce project tiles on projects list page (enabled by default, can be switched off by setting `$use-project-tiles` to `false`)
* Fixed #44: adjust width of the label column on the login form
* Merged #49: German translations
* Fixed #50: printed content on second page onwards was missing in Firefox
* Fixed #51: a plugin dropdown in top menu could be too narrow
* Fixed #52: delete watcher icon in the sidebar was missing
* Fixed #54: long checkbox lists will be scrollable
* Fixed #62: anchors won't scroll the page
* Fixed #69: fixed "remember me" checkbox layout on login page
* Fixed #78: files not visible on list in wiki when there is a lot of them
* Updated dependencies
* Fixed #81: top watchers checkboxes were not visible on Firefox
* Removed `checkbox` and `radio` mixins in favour of `check`
* Fixed #83: editor tabs layout in Redmine 4.0
v1.8.0 (2016-11-20):
* Fixed #19: missing text wrapping for long text custom fields
* Fixed #20: applied Font Awesome font-family for icons in Time Tracker overview
* Fixed duplicated pencil icon for Description in issue form in Redmine 3.1.2+
* Fixed #21: added styling for compatibility with layout changes in Redmine 3.2.0
* Fixed #23: set width for progress bars
* Fixed #25: proper styles for pagination
* Fixed #28: correct icon will be displayed for users that cannot edit notes in journal
* Fixed #30: styles will now compile with latest Sass
* Fixed #32, #33: improve @shawndibble's styles for new main menu styles in Redmine 3.3
* Various small visual tweaks
* Fixed #34: project breadcrumbs in the header should wrap nicely
* Fixed #35: `.icon-only` class should now display only icons, buttons with icons should de displayed correctly with Font-Awesome disabled
* Fixed #36: npm dependencies can be installed on production environments + update grunt to its latest version
* Fixed #37: added support for drag'n'drop re-ordering in issue statuses, roles, and trackers settings
* Fixed #38: corrected z-index for dropdown new item menu on backlogs page (thanks to @futaz, see PR #39)
* Changed indentation to 2 spaces (to match with Redmine's coding style)
* Introduced [autoprefixer](https://github.com/postcss/autoprefixer) via [PostCSS](http://postcss.org)
* Updated [scss-lint](https://github.com/brigade/scss-lint) rules
* Added [JavaScript Standard Style](http://standardjs.com)
v1.7.2 (2015-10-12):
* Fixed `.pagination` float in project members settings
* Lists' cells are aligned to center by default (as in Redmine's default theme)
v1.7.1 (2015-10-10):
+ Improved styling for [Stuff To Do][stuff_to_do] plugin
v1.7.0 (2015-09-25):
* Added styles for optgroup (Firefox only)
* Fixed #13: #header was missing clearfix and was breaking the layout is some cases
* Coloring issue's title instead of link in Gantt diagram for overdue issues
* Updated npm packages: grunt-sass from 0.18.0 to 1.0.0 and grunt-contrib-uglify 0.7.0 to 0.9.1
* Use flexbox layout by default (can be changed by setting `$flexbox-layout` to `false`)
* Fixed animation issue when showing sidebar
* Slightly modified buttons' style
* Few visual tweaks: nicer shadows, improved datepickers layout
+ Configurable list borders and highlighting of hovered and even/odd rows
+ Introduce `$pagination-padding-` variables and make pagination buttons' height equal to buttons by default
* Fixed #16: remove `white-space: nowrap` from external links to prevent breaking the page with flexbox layout
* Fixed colored trackers in tooltips in Backlogs plugin
* Fixed broken codebutton modal after making buttons wider
* Changed the license to MIT
v1.6.0 (2015-06-10):
* Fixed #8: Setting `$top-menu-collapse` to `true` will enable script allowing to toggle if top menu should be collapsed (no wrapping) or expanded (wrapped, with auto height)
+ Header matching current URL fragment will have `#` prepended
+ Introduced `$font-weight-normal` and `$font-weight-bold` variables to give better control on the appearance of text with custom fonts
* Fixed #9: Added `$main-menu-collapse` and applied the same logic as in #8
* Fixed #12: Removed `display: block` from issue's subject link to allow context menu to popup upon right click next to subject
* Resolved #11: Company logo can be added to the header
v1.5.0 (2015-04-15):
* Fixed #5: Added default style for colored issue links.
* Introduced `$tracker-colors-map` and removed `$tracker-X-bg` variables.
See d220db1 comments for more details.
* Fixed #6: Added default padding for table cells.
v1.4.1 (2015-04-14):
* Fixed #3: Closed tasks will be more appreciable.
v1.4.0 (2015-04-10):
+ Introduced option `$wiki-page-more-vertical-space` (by default `true`) to improve wiki pages' readability even more
* Fixed bottom margin of `pre` tag
+ Added a few helper classes from Bootstrap
* WYSIWYG's icons will squeeze a little bit on smaller screens
* Images in headers will be aligned to the middle vertically
+ Introduced `text-normal` class for resetting font's weight
+ Added class `toc-active-prev` that will "highlight" TOC as "active".
* Fixed #2: Make sure that `.sort` with Font Awesome icons won't have background image
* Fixed attachments div's layout for wiki pages
For more details, see [release v1.4.0](https://github.com/mrliptontea/PurpleMine2/releases/tag/v1.4.0)
v1.3.0 (2015-04-01):
* Backlogs: make it possible to click on empty field
* Corrected issue form columns widths so they will be equal in all fieldsets
* Changesets will look similar to issue's journal
+ Improved revision page layout and added Font Awesome icons
+ Improved file content view
* Fixed #1: Font Awesome icons will no longer break plugins' icons
+ Introduced styles for [People][redmine_crm_people] plugin
* Enhanced styles for activities list
* Regular buttons (e.g. `Cancel`) will look like links in dialog windows
* Fixed look of collapsible arrow in Firefox
+ Overrode Redmine's revision graph function to make it look better
+ Animated collapsible fieldsets
+ Custom image based icons changed to base64 embedded data
v1.2.0 (2015-03-03):
* Fixed .warning style
+ Coloring status on issue page (it'll look like label)
* Fixed master backlog sub-menu accessibility
+ Changed font weight to normal for sub-projects in project list
* Fixed watch task path for .js
- Removed unnecessary classes from .sidebar-toggler
* Fixed external link icon, when URI contains the word 'edit'
* Fixed wiki page headers links font-size
+ Changed some trackers default colors
+ Bolded user name on issue page if it's current user
* Issue's journal appearance changed once again
+ Some improvements in wiki formatting
+ Introduced HistoryTabs for filtering issue journals
* Improved issue page styles and adjusted default priority colors
* Backlogs: added delay before hiding backlog menu
* Changed ancestor project name in top to equal font size, but different weight
* Fixed context menu position regression introduced by sidebar toggle
v1.1.0 (2015-02-15):
+ Changed issue's journal appearance
+ jQuery UI menus look improved
+ Removed box-shadow from boxes
+ Bumped grunt-sass version
+ Toggling sidebar visibility
+ Recompressed images
+ Changelog added
v1.0.0 (2015-02-06):
Initial version

322
README.md
View File

@@ -1,6 +1,6 @@
# PurpleMine 2
A free Redmine theme for modern browsers.
A free Redmine 3.0+ theme written in SCSS.
![The MIT License](https://img.shields.io/badge/license-MIT-584492.svg) [![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) ![Run linters](https://github.com/mrliptontea/PurpleMine2/workflows/Run%20linters/badge.svg) [![Issues](https://img.shields.io/github/issues/mrliptontea/PurpleMine2.svg)](https://github.com/mrliptontea/PurpleMine2/issues)
@@ -8,8 +8,6 @@ A free Redmine theme for modern browsers.
![Screenshot](https://github.com/mrliptontea/PurpleMine2/raw/master/screenshots/issues.png)
Compatible with Redmine 3.0+ and browsers: IE10+/Edge, latest Firefox and Google Chrome (others were not tested).
It's written in [SCSS]. It uses [normalize.css] and benefits from some parts of [Bootstrap][bootstrap-sass] like mixins, structure, and stuff.
## Main features
@@ -18,7 +16,7 @@ It's written in [SCSS]. It uses [normalize.css] and benefits from some parts of
* Github-like wiki content look,
* Sidebar moved to the left for better ergonomy,
* Coloring trackers links (on lists, issue pages and even in the wiki content),
* Highlighting issues priority on the list and on the issue page,
* Jira-inspired priority icons,
* Toggling sidebar visibility,
* Easy to customize via variables.
@@ -56,321 +54,7 @@ If you need to customize styles for [Redmine Backlogs][redmine_backlogs] remembe
## Changelog
Latest (master):
* Replaced node-sass with sass.
* Resolved issues with `inline-svg` function in Node 14.x.
v2.12.1 (2020-08-11):
* Fixed #204 - missing context menu icons in Easy WBS plugin.
v2.12.0 (2020-08-01):
* Fixed #196 and #199: text wrapping in certain column types.
* Merged #203: fixed pagination overlapping wiki content.
v2.11.0 (2020-05-08):
* Fixed #179: full screen mode issues when using redmine_wysiwyg_editor plugin.
* Fixed #177: changed styling for icon-only buttons to resolve weird behavior on hover.
* Added `$icon-width` variable.
* Added margin in some places like after buttons, avatars.
* Changed tooltip background to black.
* Changed top menu styles.
* Restored `$color-priorities` variable, `false` by default.
* Added `parse-length($value, $side)` function for extracting length/width from margin/padding/border.
* Fixed checkbox cell padding when issue table borders are enabled.
* Added table icon to jstoolbar styles.
* Refactored icons code.
* Improved styles for [RedmineUP](https://www.redmineup.com/pages/plugins) plugins (Agile, Checklists, CRM, Tags).
* Improved vertical alignment of certain form elements.
* Improved styles for sortable elements.
* Added new `.inline-flex` class.
* Improved styles for [Redmine Banner](https://github.com/akiko-pusu/redmine_banner) plugin.
v2.10.2 (2020-04-09):
* Fixed #175: couldn't edit note when it's URL target.
* Improved styling of some inline edit forms.
v2.10.1 (2020-04-06):
* Fixed #160: highlight color in jQuery UI menu, most notably in checklist plugin.
v2.10.0 (2020-04-05):
* Fixed #172 Collapsed/expended icons for completed versions.
* Fixed #171 "Display" label in Gantt option.
* Fixed #170 radio buttons in projects options.
* Fixed #169 styles in the spent time tab.
* Fixed #164: apply responsive overrides more generally
* Fixed #159: wrapping long text in issue attributes.
* Fixed #150: styling for query totals and expander in Agile plugin.
* Fixed #148: full screen view for Dashboard plugin.
* Fixed a "timeline" positioning in issue notes/changes.
* Changed lightness of shades 50 and 950.
* Changed loader styles.
* Changed rouge syntax highlighter color scheme.
v2.9.1 (2020-02-22):
* Merged fix #155: $.load function removed from jQuery.
* Fixed badge positioning in roadmap screen.
v2.9.0 (2020-01-30):
* Fixed #141: improved styling for issue edit form.
* Fixed #142: TOC assumes `left` by default, also added new variables to control how it looks.
* Fixed #143: `$main-menu-bg-hover` is now being used.
* Resolved #144: added `$main-menu-bg-active` variable.
* Resolved #145: added `$table-list-header-bg` variable.
* Fixed #147: corrected forum edit attached files icon.
* Fixed #153: improved styling for `label.block`.
* Added styling for clear query button.
* Improved responsive sidebar menu layout.
v2.8.0 (2019-08-13):
* Resolved #132: fixed spacing for headers on roadmap pages.
* Merged fix #136: broken layout with large image attachment.
v2.7.0 (2019-06-13):
* Resolved #124: added support for [issue-id](http://projects.andriylesyuk.com/projects/issue-id/) plugin.
v2.6.0 (2019-06-13):
* Resolved #121: added support for [redmine_wiki_page_tree](https://github.com/ledsun/redmine_wiki_page_tree) plugin.
v2.5.0 (2019-06-05):
* Fixed #117, #118 and added many improvements to the responsive layout.
v2.4.0 (2019-06-02):
* Synchronized most application styles with Redmine's default theme.
* Fixed #115: color overdue date in issue lists.
v2.3.1 (2019-05-09):
* Fixed #112: improved highlight contrast in text diffs.
v2.3.0 (2019-05-09):
* Fixed #107: nested lists in the sidebar via [Additionals](https://www.redmine.org/plugins/additionals) plugin.
v2.2.0 (2019-04-09):
* Fixed #101, #102: tooltip positioning
v2.1.1 (2019-03-23):
* Fixed sidebar toggler style when fixed layout is enabled
* Fixed contextual dropdown padding in mobile view
v1.11.0 (2019-03-22):
* Backported fixes from v2:
* Fixed #89: [RM+ custom menu](http://rmplus.pro/en/redmine/plugins/custom_menu) breaking the layout
* Fixed #90: regression in some sidebar layouts
* Fixed #93: Agile chart expanding indefinitely when Additional "Go to top" link is enabled
* Fixed #94: subtasks indentation
* Fixed styling of some flash messages
* Fixed horizontal scrollbar appearing when sidebar is on the right
* Fixed footer being mispositioned in Agile charts
* Fixed positioning of admin menu icons for some plugins
* Improved support for [Redmine Tags](https://www.redmineup.com/pages/plugins/tags) plugin
* Added separator line between news on the news list
* Improved Redmine 4.0 compatibility
* Updated Font Awesome icons to 4.7.0
v2.1.0 (2019-03-22):
* Added CSS grid layout support (off by default because of IE support)
* Fixed styling of some flash messages
* Fixed horizontal scrollbar appearing when sidebar is on the right
* Fixed footer being mispositioned in Agile charts
* Improved support for [Redmine Tags](https://www.redmineup.com/pages/plugins/tags) plugin
* Fixed positioning of admin menu icons for some plugins
* Added separator line between news on the news list
* Fixed #93: Agile chart expanding indefinitely when Additional "Go to top" link is enabled
* Fixed #94: subtasks indentation
* Improved progress bar styling, avatar positioning, WYSIWYG button styling, wiki preview font sizes
v2.0.2 (2019-03-20):
* Fixed #89: [RM+ custom menu](http://rmplus.pro/en/redmine/plugins/custom_menu) breaking the layout
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
* Added priority icons
* Removed `$color-priorities` setting and styles
* Improved Redmine 4.0 compatibility
* Updated Font Awesome icons to 4.7.0
v1.10.0 (2019-03-12):
* Fixed #86: added support for redmine_hearts plugin
v1.9.0 (2019-03-01):
* Fixed #42: override some styles from [RM+](http://rmplus.pro) plugins
* Merged #43: fixes for Redmine 3.3.2.devel
* Support for responsive menu and further changes for Redmine 3.3.2.devel (fixes #26)
* Improved styles for custom flash messages in wiki content (e.g. for [WikiNG](http://www.redmine.org/plugins/wiking) plugin)
* Introduce project tiles on projects list page (enabled by default, can be switched off by setting `$use-project-tiles` to `false`)
* Fixed #44: adjust width of the label column on the login form
* Merged #49: German translations
* Fixed #50: printed content on second page onwards was missing in Firefox
* Fixed #51: a plugin dropdown in top menu could be too narrow
* Fixed #52: delete watcher icon in the sidebar was missing
* Fixed #54: long checkbox lists will be scrollable
* Fixed #62: anchors won't scroll the page
* Fixed #69: fixed "remember me" checkbox layout on login page
* Fixed #78: files not visible on list in wiki when there is a lot of them
* Updated dependencies
* Fixed #81: top watchers checkboxes were not visible on Firefox
* Removed `checkbox` and `radio` mixins in favour of `check`
* Fixed #83: editor tabs layout in Redmine 4.0
v1.8.0 (2016-11-20):
* Fixed #19: missing text wrapping for long text custom fields
* Fixed #20: applied Font Awesome font-family for icons in Time Tracker overview
* Fixed duplicated pencil icon for Description in issue form in Redmine 3.1.2+
* Fixed #21: added styling for compatibility with layout changes in Redmine 3.2.0
* Fixed #23: set width for progress bars
* Fixed #25: proper styles for pagination
* Fixed #28: correct icon will be displayed for users that cannot edit notes in journal
* Fixed #30: styles will now compile with latest Sass
* Fixed #32, #33: improve @shawndibble's styles for new main menu styles in Redmine 3.3
* Various small visual tweaks
* Fixed #34: project breadcrumbs in the header should wrap nicely
* Fixed #35: `.icon-only` class should now display only icons, buttons with icons should de displayed correctly with Font-Awesome disabled
* Fixed #36: npm dependencies can be installed on production environments + update grunt to its latest version
* Fixed #37: added support for drag'n'drop re-ordering in issue statuses, roles, and trackers settings
* Fixed #38: corrected z-index for dropdown new item menu on backlogs page (thanks to @futaz, see PR #39)
* Changed indentation to 2 spaces (to match with Redmine's coding style)
* Introduced [autoprefixer](https://github.com/postcss/autoprefixer) via [PostCSS](http://postcss.org)
* Updated [scss-lint](https://github.com/brigade/scss-lint) rules
* Added [JavaScript Standard Style](http://standardjs.com)
v1.7.2 (2015-10-12):
* Fixed `.pagination` float in project members settings
* Lists' cells are aligned to center by default (as in Redmine's default theme)
v1.7.1 (2015-10-10):
+ Improved styling for [Stuff To Do][stuff_to_do] plugin
v1.7.0 (2015-09-25):
* Added styles for optgroup (Firefox only)
* Fixed #13: #header was missing clearfix and was breaking the layout is some cases
* Coloring issue's title instead of link in Gantt diagram for overdue issues
* Updated npm packages: grunt-sass from 0.18.0 to 1.0.0 and grunt-contrib-uglify 0.7.0 to 0.9.1
* Use flexbox layout by default (can be changed by setting `$flexbox-layout` to `false`)
* Fixed animation issue when showing sidebar
* Slightly modified buttons' style
* Few visual tweaks: nicer shadows, improved datepickers layout
+ Configurable list borders and highlighting of hovered and even/odd rows
+ Introduce `$pagination-padding-` variables and make pagination buttons' height equal to buttons by default
* Fixed #16: remove `white-space: nowrap` from external links to prevent breaking the page with flexbox layout
* Fixed colored trackers in tooltips in Backlogs plugin
* Fixed broken codebutton modal after making buttons wider
* Changed the license to MIT
v1.6.0 (2015-06-10):
* Fixed #8: Setting `$top-menu-collapse` to `true` will enable script allowing to toggle if top menu should be collapsed (no wrapping) or expanded (wrapped, with auto height)
+ Header matching current URL fragment will have `#` prepended
+ Introduced `$font-weight-normal` and `$font-weight-bold` variables to give better control on the appearance of text with custom fonts
* Fixed #9: Added `$main-menu-collapse` and applied the same logic as in #8
* Fixed #12: Removed `display: block` from issue's subject link to allow context menu to popup upon right click next to subject
* Resolved #11: Company logo can be added to the header
v1.5.0 (2015-04-15):
* Fixed #5: Added default style for colored issue links.
* Introduced `$tracker-colors-map` and removed `$tracker-X-bg` variables.
See d220db1 comments for more details.
* Fixed #6: Added default padding for table cells.
v1.4.1 (2015-04-14):
* Fixed #3: Closed tasks will be more appreciable.
v1.4.0 (2015-04-10):
+ Introduced option `$wiki-page-more-vertical-space` (by default `true`) to improve wiki pages' readability even more
* Fixed bottom margin of `pre` tag
+ Added a few helper classes from Bootstrap
* WYSIWYG's icons will squeeze a little bit on smaller screens
* Images in headers will be aligned to the middle vertically
+ Introduced `text-normal` class for resetting font's weight
+ Added class `toc-active-prev` that will "highlight" TOC as "active".
* Fixed #2: Make sure that `.sort` with Font Awesome icons won't have background image
* Fixed attachments div's layout for wiki pages
For more details, see [release v1.4.0](https://github.com/mrliptontea/PurpleMine2/releases/tag/v1.4.0)
v1.3.0 (2015-04-01):
* Backlogs: make it possible to click on empty field
* Corrected issue form columns widths so they will be equal in all fieldsets
* Changesets will look similar to issue's journal
+ Improved revision page layout and added Font Awesome icons
+ Improved file content view
* Fixed #1: Font Awesome icons will no longer break plugins' icons
+ Introduced styles for [People][redmine_crm_people] plugin
* Enhanced styles for activities list
* Regular buttons (e.g. `Cancel`) will look like links in dialog windows
* Fixed look of collapsible arrow in Firefox
+ Overrode Redmine's revision graph function to make it look better
+ Animated collapsible fieldsets
+ Custom image based icons changed to base64 embedded data
v1.2.0 (2015-03-03):
* Fixed .warning style
+ Coloring status on issue page (it'll look like label)
* Fixed master backlog sub-menu accessibility
+ Changed font weight to normal for sub-projects in project list
* Fixed watch task path for .js
- Removed unnecessary classes from .sidebar-toggler
* Fixed external link icon, when URI contains the word 'edit'
* Fixed wiki page headers links font-size
+ Changed some trackers default colors
+ Bolded user name on issue page if it's current user
* Issue's journal appearance changed once again
+ Some improvements in wiki formatting
+ Introduced HistoryTabs for filtering issue journals
* Improved issue page styles and adjusted default priority colors
* Backlogs: added delay before hiding backlog menu
* Changed ancestor project name in top to equal font size, but different weight
* Fixed context menu position regression introduced by sidebar toggle
v1.1.0 (2015-02-15):
+ Changed issue's journal appearance
+ jQuery UI menus look improved
+ Removed box-shadow from boxes
+ Bumped grunt-sass version
+ Toggling sidebar visibility
+ Recompressed images
+ Changelog added
v1.0.0 (2015-02-06):
Initial version
[Changelog](./CHANGELOG.md).
[SCSS]: http://sass-lang.com/
[normalize.css]: https://github.com/necolas/normalize.css

File diff suppressed because one or more lines are too long

4037
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -27,25 +27,25 @@
"dependencies": {
"@liquid-js/sass-inline-svg": "^2.0.0",
"autoprefixer": "^9.8.6",
"grunt": "^1.3.0",
"grunt-contrib-uglify": "^5.0.0",
"grunt": "^1.4.0",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-postcss": "^0.9.0",
"grunt-sass": "^3.1.0",
"sass": "^1.26.11"
"sass": "^1.34.0"
},
"devDependencies": {
"eslint": "^7.9.0",
"eslint": "^7.27.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"stylelint": "^13.7.2",
"eslint-plugin-promise": "^4.3.1",
"eslint-plugin-standard": "^4.1.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"stylelint": "^13.13.1",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.18.0"
"stylelint-scss": "^3.19.0"
},
"browserslist": [
"last 2 versions",

View File

@@ -1,3 +1,5 @@
@use "sass:math";
//
// Variables
// --------------------------------------------------
@@ -60,7 +62,7 @@ $shade-map: (
@function shade($color, $shade: 500) {
$mixer: if($shade < 500, $white, $black);
$saturation: if($shade < 500, 0, ($shade - 500) / 20);
$saturation: if($shade < 500, 0, math.div($shade - 500, 20));
@return saturate(mix($mixer, $color, map-get($shade-map, $shade)), $saturation);
}
@@ -575,7 +577,7 @@ $logo-image-width: 60px !default;
$logo-image-height: 40px !default;
$logo-position-horizontal: $header-padding-vertical !default;
$logo-position-vertical: center !default;
$logo-space: floor($header-padding-vertical / 2) !default;
$logo-space: floor($header-padding-vertical * .5) !default;
$main-menu-bg: $gray-100 !default;
$main-menu-bg-hover: $gray-100 !default;

View File

@@ -90,7 +90,7 @@ h4 {
}
p {
margin: 0 0 ($line-height-computed / 2);
margin: 0 0 ($line-height-computed * .5);
}
small {
@@ -113,7 +113,7 @@ table {
form {
p {
margin-bottom: ($line-height-computed / 2);
margin-bottom: ($line-height-computed * .5);
&:last-child {
margin-bottom: 0;
@@ -125,7 +125,7 @@ table {
ul,
ol {
margin-top: 0;
margin-bottom: ($line-height-computed / 2);
margin-bottom: ($line-height-computed * .5);
padding-left: 1.5em;
ul,
@@ -164,14 +164,14 @@ hr {
border-top: 1px solid $hr-border;
li & {
margin-top: $line-height-computed / 2;
margin-bottom: $line-height-computed / 2;
margin-top: $line-height-computed * .5;
margin-bottom: $line-height-computed * .5;
}
}
blockquote {
margin: 0 0 $line-height-computed;
padding: floor($line-height-computed / 4) $padding-large-horizontal;
padding: floor($line-height-computed * .25) $padding-large-horizontal;
border-left: 4px solid $blockquote-border-color;
> :first-child {

View File

@@ -63,7 +63,7 @@ form {
//
form[action*="repository/diff"] {
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
@@ -151,7 +151,7 @@ p.buttons,
.edit_time_entry,
.edit_membership {
input[type="submit"] + a {
margin-left: ceil($btn-padding-horizontal-small / 2);
margin-left: ceil($btn-padding-horizontal-small * .5);
}
}
@@ -164,7 +164,7 @@ form {
button,
select {
~ a {
margin-left: ceil($btn-padding-horizontal-small / 2);
margin-left: ceil($btn-padding-horizontal-small * .5);
line-height: $input-height-base;
}
}
@@ -227,7 +227,7 @@ p.buttons {
label {
display: block;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
line-height: initial;
}
}

View File

@@ -28,6 +28,7 @@
#content {
padding: $padding-side;
overflow-x: auto; // needed for drag & drop of enumerations
@if $css-grid-layout {
grid-area: content;
@@ -106,7 +107,7 @@
ul {
&:nth-child(n) {
margin: 0 0 ($line-height-computed / 2);
margin: 0 0 ($line-height-computed * .5);
padding: 0;
@if $sidebar-position == "left" {
@@ -172,7 +173,7 @@
> a.icon-only {
position: absolute;
top: $sidebar-padding-vertical;
right: $sidebar-padding-horizontal / 2;
right: $sidebar-padding-horizontal * .5;
line-height: $line-height-computed;
&::before {
@@ -195,8 +196,8 @@
li {
> a:not(.icon-only) {
padding-right: $sidebar-padding-horizontal / 2;
padding-left: $sidebar-padding-horizontal / 2;
padding-right: $sidebar-padding-horizontal * .5;
padding-left: $sidebar-padding-horizontal * .5;
@if $sidebar-position == "right" {
margin-left: 0;
@@ -204,7 +205,7 @@
}
.pages-hierarchy {
margin-left: $sidebar-padding-horizontal / 2 + 3px;
margin-left: $sidebar-padding-horizontal * .5 + 3px;
}
}
}
@@ -244,7 +245,7 @@
}
.page-tree__list {
margin-left: $sidebar-padding-horizontal / 2 + 3px;
margin-left: $sidebar-padding-horizontal * .5 + 3px;
}
summary {
@@ -262,8 +263,8 @@
li {
> a:not(.icon-only) {
padding-right: $sidebar-padding-horizontal / 2;
padding-left: $sidebar-padding-horizontal / 2;
padding-right: $sidebar-padding-horizontal * .5;
padding-left: $sidebar-padding-horizontal * .5;
@if $sidebar-position == "right" {
margin-left: 0;
@@ -297,8 +298,8 @@
&::before {
content: "";
position: absolute;
top: ($sidebar-padding-vertical + 1px) + ($line-height-computed - 16px) / 2;
left: $sidebar-padding-horizontal / 2 + 6px;
top: ($sidebar-padding-vertical + 1px) + ($line-height-computed - 16px) * .5;
left: $sidebar-padding-horizontal * .5 + 6px;
width: 16px;
height: 16px;
background-image: inline-svg("chevron-right.svg", (path: (fill: $btn-default-icon-color)));

View File

@@ -190,12 +190,12 @@ img {
}
.splitcontentleft {
padding-right: ($padding-side / 2);
padding-right: ($padding-side * .5);
float: left;
}
.splitcontentright {
padding-left: ($padding-side / 2);
padding-left: ($padding-side * .5);
float: right;
}
@@ -275,7 +275,7 @@ img {
//
p.subtitle {
margin-top: ($line-height-computed / -2);
margin-top: ($line-height-computed * -.5);
margin-bottom: $line-height-computed;
font-style: italic;
}
@@ -360,13 +360,13 @@ a.close-icon {
#list-left {
width: 50%;
padding-right: ($padding-side / 2);
padding-right: ($padding-side * .5);
float: left;
}
#list-right {
width: 50%;
padding-left: ($padding-side / 2);
padding-left: ($padding-side * .5);
float: right;
}
}
@@ -468,16 +468,16 @@ ul.projects {
&.root {
display: flex;
flex-wrap: wrap;
margin-right: -($padding-side / 2);
margin-left: -($padding-side / 2);
margin-right: -($padding-side * .5);
margin-left: -($padding-side * .5);
> li {
display: block;
box-sizing: border-box;
flex: 0 1 auto;
width: 100%;
margin-right: $padding-side / 2;
margin-left: $padding-side / 2;
margin-right: $padding-side * .5;
margin-left: $padding-side * .5;
padding: $panel-body-padding;
border: 1px solid $panel-border;
border-radius: $border-radius-base;
@@ -500,7 +500,7 @@ ul.projects {
}
li.child {
margin-top: $line-height-computed / 2;
margin-top: $line-height-computed * .5;
}
a.project {
@@ -680,7 +680,7 @@ div#version-summary {
left: 50%;
box-sizing: border-box;
width: 200px;
margin: (($padding-large-vertical * 2 + 1px * 2 + $line-height-computed) / -2) (200px / -2);
margin: (($padding-large-vertical * 2 + 1px * 2 + $line-height-computed) * -.5) (200px * -.5);
padding: $padding-large-vertical $padding-large-horizontal;
border: 1px solid $highlight-border;
border-radius: $border-radius-base;
@@ -699,7 +699,7 @@ div#version-summary {
box-sizing: border-box;
width: $line-height-computed;
height: $line-height-computed;
margin-right: $line-height-computed / 2;
margin-right: $line-height-computed * .5;
animation: spin 1s linear infinite;
border: 3px solid rgba($highlight-text, .3);
border-radius: 50%;
@@ -765,7 +765,7 @@ div.table-list.boards {
.controller-messages.action-show {
h2 {
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
.message {
@@ -871,14 +871,14 @@ div.table-list.boards {
.news.box {
p > a:not(:last-child) {
display: inline-block;
margin-bottom: floor($line-height-computed / 4);
margin-bottom: floor($line-height-computed * .25);
font-size: $font-size-h4;
}
.summary,
.author {
display: block;
margin-bottom: floor($line-height-computed / 4);
margin-bottom: floor($line-height-computed * .25);
+ br {
display: none;
@@ -893,7 +893,7 @@ div.table-list.boards {
#edit-news + p {
em {
display: block;
margin-bottom: floor($line-height-computed / 4);
margin-bottom: floor($line-height-computed * .25);
+ br {
display: none;
@@ -903,7 +903,7 @@ div.table-list.boards {
.news.box .summary,
#edit-news + p em {
padding: floor($line-height-computed / 4) $padding-base-horizontal;
padding: floor($line-height-computed * .25) $padding-base-horizontal;
border-left: 4px solid $blockquote-border-color;
}
@@ -914,7 +914,7 @@ div.table-list.boards {
header {
h3 {
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
> a {
font-weight: $font-weight-bold;
@@ -942,7 +942,7 @@ div.table-list.boards {
#comments {
> h4 {
margin-top: $line-height-computed;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
}

View File

@@ -12,7 +12,7 @@ form {
> input,
> select {
margin-right: 5px;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
}
@@ -228,7 +228,7 @@ select:-moz-focusring {
fieldset {
min-width: 0;
margin: 0;
padding: ($line-height-computed / 2) 0;
padding: ($line-height-computed * .5) 0;
border: 0 none;
border-top: 1px solid $legend-border-color;
@@ -297,7 +297,7 @@ em.info {
p {
@extend %clearfix;
margin: 0 0 ($line-height-computed / 2);
margin: 0 0 ($line-height-computed * .5);
padding-left: $label-width + $label-space;
clear: left;
line-height: $input-height-base;
@@ -435,7 +435,7 @@ label[for="issue_description"] + a {
//
label[for="closed"] {
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
@@ -481,7 +481,7 @@ label[for="closed"] {
//
.jstEditor {
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
//== User form
@@ -505,13 +505,13 @@ label[for="closed"] {
.attachments_fields {
> span {
display: block;
margin-bottom: $line-height-computed / 4;
margin-bottom: $line-height-computed * .25;
}
input {
width: 21.5em;
margin-right: .5em;
margin-bottom: $line-height-computed / 4;
margin-bottom: $line-height-computed * .25;
&.filename {
padding-left: $input-padding-horizontal + 16px;
@@ -621,7 +621,7 @@ label[for="closed"] {
#watchers_inputs {
display: block;
max-height: $check-list-max-height;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
overflow: auto;
label {
@@ -757,7 +757,7 @@ fieldset#filters {
.query_sort_criteria_count {
display: inline-block;
min-width: 1em;
margin-bottom: $line-height-computed / 4;
margin-bottom: $line-height-computed * .25;
line-height: $input-height-base;
}

View File

@@ -27,7 +27,7 @@
width: $issue-gravatar-size;
height: $issue-gravatar-size;
margin-right: 10px;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
float: left;
&:nth-child(2) {
@@ -47,7 +47,7 @@
width: $issue-gravatar-size;
height: $issue-gravatar-size;
margin-right: 10px;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
float: left;
}
@@ -373,7 +373,7 @@ div.thumbnails {
}
.issues {
margin: ($line-height-computed / 2) 0 0;
margin: ($line-height-computed * .5) 0 0;
tr {
background-color: transparent;
@@ -406,7 +406,7 @@ div.thumbnails {
display: none;
dt {
margin: 0 0 ($line-height-computed / 4);
margin: 0 0 ($line-height-computed * .25);
}
dd {
@@ -671,7 +671,7 @@ div.thumbnails {
> label {
display: inline-block;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
line-height: $line-height-base;
}
@@ -757,7 +757,7 @@ span.private {
}
div.changeset {
margin-top: $line-height-computed / 2 + 2px * 2;
margin-top: $line-height-computed * .5 + 2px * 2;
padding: 0;
overflow: hidden;
border: 1px solid $bubble-border;

View File

@@ -252,7 +252,7 @@ tr.issue {
> span {
display: block;
margin-bottom: $line-height-computed / 4;
margin-bottom: $line-height-computed * .25;
padding: $table-cell-padding;
font-weight: $font-weight-bold;
}
@@ -323,7 +323,7 @@ td.last_updated_by {
}
.sample-data {
margin: $line-height-computed / 2;
margin: $line-height-computed * .5;
margin-bottom: $line-height-computed;
border: 1px solid $table-border-color;
@@ -494,7 +494,7 @@ tr.entry {
right: 5px;
bottom: 0;
left: 5px;
height: calc(50% - 2px / 2);
height: calc(50% - 2px * .5);
transform: rotate(-4deg);
transition: border-color $transition-time;
border-top: 2px solid rgba($tracker-default-text, .95);

View File

@@ -6,7 +6,7 @@
#sidebar .sidebar-additionals {
ul,
ol {
margin: 0 0 ($line-height-computed / 2);
margin: 0 0 ($line-height-computed * .5);
padding-left: 1.5em;
ul,
@@ -174,7 +174,7 @@
p,
ul,
ol {
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
&:last-child {
margin-bottom: 0;
@@ -207,7 +207,7 @@
> .heart-link-with-count {
display: block;
position: relative;
margin: -($line-height-computed / 2 + 1px) ($bubble-padding-horizontal - $padding-small-vertical) 0;
margin: -($line-height-computed * .5 + 1px) ($bubble-padding-horizontal - $padding-small-vertical) 0;
float: right;
border: 0;
background-color: $body-bg;
@@ -252,7 +252,7 @@
> a:first-child {
margin-right: 0;
margin-left: 4px;
padding-right: floor($btn-padding-horizontal-small / 2);
padding-right: floor($btn-padding-horizontal-small * .5);
border-top-right-radius: 0;
border-bottom-right-radius: 0;
@@ -323,7 +323,7 @@ h2 {
}
.live_search {
margin-left: $padding-side / 2;
margin-left: $padding-side * .5;
}
.tags {
@@ -596,7 +596,7 @@ div.add-note {
position: absolute;
top: 50%;
left: 8px;
margin: ($fa-font-size-base / -2) 0 0;
margin: ($fa-font-size-base * -.5) 0 0;
}
}
}
@@ -755,8 +755,8 @@ span.tag-label-color {
margin: 0;
form > input {
width: $quick-search-width / 2;
min-width: $quick-search-width / 2;
width: $quick-search-width * .5;
min-width: $quick-search-width * .5;
}
a {

View File

@@ -30,13 +30,13 @@ table.progress {
border: 0 none;
&:first-child {
border-top-left-radius: $progress-height / 2;
border-bottom-left-radius: $progress-height / 2;
border-top-left-radius: $progress-height * .5;
border-bottom-left-radius: $progress-height * .5;
}
&:last-child {
border-top-right-radius: $progress-height / 2;
border-bottom-right-radius: $progress-height / 2;
border-top-right-radius: $progress-height * .5;
border-bottom-right-radius: $progress-height * .5;
}
&.done {

View File

@@ -116,7 +116,7 @@ body {
&__search {
height: $responsive-header-height;
padding: ($padding-side / 2);
padding: ($padding-side * .5);
line-height: normal;
input[type="text"] {
@@ -249,13 +249,13 @@ body {
#watchers {
.contextual {
padding-top: $line-height-computed / 2;
padding-bottom: $line-height-computed / 2;
padding-top: $line-height-computed * .5;
padding-bottom: $line-height-computed * .5;
}
.watchers {
li {
margin: ($line-height-computed / 2) 0 0;
margin: ($line-height-computed * .5) 0 0;
padding: 0;
img.gravatar {
@@ -451,7 +451,7 @@ body {
.query-columns {
span {
display: block;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
.buttons {

View File

@@ -105,7 +105,7 @@
input,
select {
margin-right: 5px;
margin-bottom: $line-height-computed / 2;
margin-bottom: $line-height-computed * .5;
}
label {

View File

@@ -84,7 +84,7 @@ $tabs-height: $line-height-computed + $tab-padding-vertical * 2 + 1px + 1px;
}
&.disabled {
opacity: $icon-opacity / 2;
opacity: $icon-opacity * .5;
}
}

View File

@@ -76,7 +76,7 @@
}
li {
margin: 0 .5em 0 0;
margin: 0 .8em 0 0;
padding: 0;
float: left;
list-style-type: none;
@@ -104,7 +104,7 @@
> ul > li {
margin-right: 0;
margin-left: .5em;
margin-left: .8em;
}
}
@@ -159,7 +159,7 @@
#quick-search {
#header & {
margin-top: floor(($header-title-line-height + $header-padding-vertical * 2 - $input-height-base) / 2) - 1px;
margin-top: floor(($header-title-line-height + $header-padding-vertical * 2 - $input-height-base) * .5) - 1px;
margin-right: $header-padding-horizontal;
float: right;
color: $header-text;
@@ -203,7 +203,7 @@
.drdn-trigger {
z-index: 1003;
height: auto;
padding-bottom: $header-padding-horizontal / 2;
padding-bottom: $header-padding-horizontal * .5;
border-color: $quick-search-dropdown-bg;
background-color: $quick-search-dropdown-bg;
@@ -223,7 +223,7 @@
&::after {
content: $fa-var-caret-down;
position: absolute;
top: ($font-size-base / 2);
top: ($font-size-base * .5);
right: $input-padding-horizontal;
}
}
@@ -233,7 +233,7 @@
background: $quick-search-dropdown-bg;
> .quick-search {
padding: $header-padding-horizontal / 2;
padding: $header-padding-horizontal * .5;
> input {
width: 100%;

View File

@@ -344,7 +344,7 @@ p.footnote {
display: block;
width: 300px;
margin-top: $line-height-computed;
padding-top: $line-height-computed / 2;
padding-top: $line-height-computed * .5;
border-top: 1px solid $gray-400;
}
@@ -408,7 +408,7 @@ p.footnote {
display: inline-block;
padding: $padding-base-vertical $padding-base-horizontal;
border: 1px solid $btn-default-border;
border-radius: ceil($font-size-base + ($padding-base-vertical + 1px) * 2) / 2;
border-radius: ceil($font-size-base + ($padding-base-vertical + 1px) * 2) * .5;
background-color: $body-bg;
line-height: 1;
white-space: nowrap;

View File

@@ -1,3 +1,5 @@
@use "sass:math";
// Variables
// --------------------------
@@ -8,7 +10,7 @@ $fa-css-prefix: fa !default;
$fa-version: "4.7.0" !default;
$fa-border-color: #eee !default;
$fa-inverse: #fff !default;
$fa-li-width: (30em / 14) !default;
$fa-li-width: math.div(30em, 14) !default;
$fa-var-500px: "\f26e";
$fa-var-address-book: "\f2b9";

View File

@@ -256,8 +256,8 @@ ul.ui-sortable {
.ui-tooltip {
.ui-tooltip-content {
hr {
margin-top: $line-height-computed / 2;
margin-bottom: $line-height-computed / 2;
margin-top: $line-height-computed * .5;
margin-bottom: $line-height-computed * .5;
border: 0;
border-top: 1px solid $hr-border;
}

View File

@@ -51,17 +51,17 @@ $story-sp-input-width: 50px;
//
#backlogs_container {
padding: ($padding-side / 2) ($padding-side / 4);
padding: ($padding-side * .5) ($padding-side * .25);
.backlogs-panel-inner {
padding: 0 ($padding-side / 4);
padding: 0 ($padding-side * .25);
}
@media screen and (min-width: $screen-md-min) {
padding: $padding-side ($padding-side / 2);
padding: $padding-side ($padding-side * .5);
.backlogs-panel-inner {
padding: 0 ($padding-side / 2);
padding: 0 ($padding-side * .5);
}
}
@@ -158,7 +158,7 @@ $story-sp-input-width: 50px;
@include nice-shadow(1);
display: block;
position: relative;
margin: 0 0 ($padding-side / 2);
margin: 0 0 ($padding-side * .5);
border-radius: $border-radius-large $border-radius-large 0 0;
background-color: $gray-100;
@@ -243,7 +243,7 @@ $story-sp-input-width: 50px;
}
.editing {
$editor-padding: (($header-line-height - $input-height-base) / 2);
$editor-padding: (($header-line-height - $input-height-base) * .5);
.editors {
display: block;
@@ -823,7 +823,7 @@ $story-sp-input-width: 50px;
//
#show_completed_sprints {
margin-left: $padding-side / 2;
margin-left: $padding-side * .5;
color: $gray-950;
cursor: pointer;
}

File diff suppressed because one or more lines are too long