Merge pull request #74 from mrliptontea/update-packages
Spring cleaning
@@ -1,7 +1,7 @@
|
|||||||
dist: trusty
|
dist: trusty
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 6
|
- 8
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
|||||||
13
README.md
@@ -6,7 +6,7 @@ A free Redmine theme for modern browsers.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Compatible with Redmine 2.6+ and browsers: IE10+/Edge, latest Firefox and Google Chrome (others were not tested).
|
Compatible with Redmine 2.6+ and browsers: IE10+/Edge, latest Firefox and Google Chrome (others were not tested).
|
||||||
|
|
||||||
@@ -38,21 +38,17 @@ Also, [Redmine Time Tracker][redmine_time_tracker] and [Redmine People][redmine_
|
|||||||
|
|
||||||
If you want to customize PurpleMine to your needs, first, make sure that you have installed [node.js](http://nodejs.org/) and `npm` is available in your terminal.
|
If you want to customize PurpleMine to your needs, first, make sure that you have installed [node.js](http://nodejs.org/) and `npm` is available in your terminal.
|
||||||
|
|
||||||
If haven't yet, you need to install grunt:
|
|
||||||
|
|
||||||
npm install grunt-cli -g
|
|
||||||
|
|
||||||
Then, from the directory that contains PurpleMine run:
|
Then, from the directory that contains PurpleMine run:
|
||||||
|
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
Now all the dependencies should be ready to use. Run one more command:
|
Now all the dependencies should be ready to use. Run one more command:
|
||||||
|
|
||||||
grunt watch
|
npm run watch
|
||||||
|
|
||||||
And now the grunt is watching for changes in files placed in `src/` folder. Just change what you need, and it'll run SASS preprocessor automatically.
|
And now the grunt is watching for changes in files placed in `src/` folder. Just change what you need, and it'll run Sass preprocessor automatically.
|
||||||
|
|
||||||
Regrettably, optional file include is not possible in SASS, so I would recommend creating a new file, e.g. `src/sass/_custom-variables.scss` and importing it a the beginning of the `application.scss` file. That way all the variables with the `!default` flag could be overridden.
|
Regrettably, optional file include is not possible in Sass, so I would recommend creating a new file, e.g. `src/sass/_custom-variables.scss` and importing it a the beginning of the `application.scss` file. That way all the variables with the `!default` flag could be overridden.
|
||||||
|
|
||||||
The path `src/sass/_custom-variables.scss` is added to `.gitignore` so it should make upgrading PurpleMine with keeping your changes rather painless, given that the only thing you changed in PurpleMine's source was adding this one line with `@import "custom-variables";`.
|
The path `src/sass/_custom-variables.scss` is added to `.gitignore` so it should make upgrading PurpleMine with keeping your changes rather painless, given that the only thing you changed in PurpleMine's source was adding this one line with `@import "custom-variables";`.
|
||||||
|
|
||||||
@@ -75,6 +71,7 @@ Latest (master):
|
|||||||
* Fixed #54: long checkbox lists will be scrollable
|
* Fixed #54: long checkbox lists will be scrollable
|
||||||
* Fixed #62: anchors won't scroll the page
|
* Fixed #62: anchors won't scroll the page
|
||||||
* Fixed #69: fixed "remember me" checkbox layout on login page
|
* Fixed #69: fixed "remember me" checkbox layout on login page
|
||||||
|
* Updated dependencies
|
||||||
|
|
||||||
v1.8.0 (2016-11-20):
|
v1.8.0 (2016-11-20):
|
||||||
|
|
||||||
|
|||||||
2266
package-lock.json
generated
18
package.json
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "PurpleMine2",
|
"name": "PurpleMine2",
|
||||||
"description": "A free Redmine 2.5+ theme written in SCSS",
|
"description": "A free Redmine 2.6+ theme written in SCSS",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"redmine",
|
"redmine",
|
||||||
"theme",
|
"theme",
|
||||||
@@ -18,18 +18,20 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/mrliptontea/PurpleMine2",
|
"homepage": "https://github.com/mrliptontea/PurpleMine2",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "grunt",
|
||||||
|
"watch": "grunt watch",
|
||||||
"lint": "standard && scss-lint"
|
"lint": "standard && scss-lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"autoprefixer": "^6.5.3",
|
"autoprefixer": "^8.4.1",
|
||||||
"grunt": "^1.0.1",
|
"grunt": "^1.0.2",
|
||||||
"grunt-contrib-uglify": "^2.0.0",
|
"grunt-contrib-uglify": "^3.3.0",
|
||||||
"grunt-contrib-watch": "^1.0.0",
|
"grunt-contrib-watch": "^1.0.1",
|
||||||
"grunt-postcss": "^0.8.0",
|
"grunt-postcss": "^0.9.0",
|
||||||
"grunt-sass": "^1.0.0"
|
"grunt-sass": "^2.1.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"standard": "^8.5.0"
|
"standard": "^11.0.1"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"globals": [
|
"globals": [
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
.ui-multiselect{padding:2px 0 2px 4px;text-align:left}.ui-multiselect span.ui-icon{float:right}.ui-multiselect-single .ui-multiselect-checkboxes input{position:absolute !important;top:auto !important;left:-9999px}.ui-multiselect-single .ui-multiselect-checkboxes label{padding:5px !important}.ui-multiselect-header{margin-bottom:3px;padding:3px}.ui-multiselect-header ul{font-size:.92em}.ui-multiselect-header ul li{padding:0 10px 0 0;float:left}.ui-multiselect-header a{text-decoration:none}.ui-multiselect-header a:hover{text-decoration:underline}.ui-multiselect-header span.ui-icon{float:left}.ui-multiselect-header li.ui-multiselect-close{padding-right:0;float:right;text-align:right}.ui-multiselect-menu{box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);display:none;position:absolute;z-index:10000;padding:3px;text-align:left}.ui-multiselect-checkboxes{position:relative;padding-right:2px;overflow-y:scroll}.ui-multiselect-checkboxes input[type="checkbox"]{top:0;margin:3px 0 0 -20px;float:left}.ui-multiselect-checkboxes input[type="checkbox"]:focus{outline:none}.ui-multiselect-checkboxes label{display:block;padding:3px 1px;padding-left:26px;border:1px solid transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui-multiselect-checkboxes label input{position:relative;top:1px}.ui-multiselect-checkboxes li{clear:both;font-size:.92em}.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label{margin-bottom:2px;border-bottom:1px solid #ccc;font-weight:bold;text-align:center}.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a{display:block;margin:1px 0;padding:3px;text-decoration:none}* html .ui-multiselect-checkboxes label{border:0 none}
|
.ui-multiselect{padding:2px 0 2px 4px;text-align:left}.ui-multiselect span.ui-icon{float:right}.ui-multiselect-single .ui-multiselect-checkboxes input{position:absolute !important;top:auto !important;left:-9999px}.ui-multiselect-single .ui-multiselect-checkboxes label{padding:5px !important}.ui-multiselect-header{margin-bottom:3px;padding:3px}.ui-multiselect-header ul{font-size:.92em}.ui-multiselect-header ul li{padding:0 10px 0 0;float:left}.ui-multiselect-header a{text-decoration:none}.ui-multiselect-header a:hover{text-decoration:underline}.ui-multiselect-header span.ui-icon{float:left}.ui-multiselect-header li.ui-multiselect-close{padding-right:0;float:right;text-align:right}.ui-multiselect-menu{-webkit-box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);display:none;position:absolute;z-index:10000;padding:3px;text-align:left}.ui-multiselect-checkboxes{position:relative;padding-right:2px;overflow-y:scroll}.ui-multiselect-checkboxes input[type="checkbox"]{top:0;margin:3px 0 0 -20px;float:left}.ui-multiselect-checkboxes input[type="checkbox"]:focus{outline:none}.ui-multiselect-checkboxes label{display:block;padding:3px 1px;padding-left:26px;border:1px solid transparent;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui-multiselect-checkboxes label input{position:relative;top:1px}.ui-multiselect-checkboxes li{clear:both;font-size:.92em}.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label{margin-bottom:2px;border-bottom:1px solid #ccc;font-weight:bold;text-align:center}.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a{display:block;margin:1px 0;padding:3px;text-decoration:none}* html .ui-multiselect-checkboxes label{border:0 none}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
.qtip{position:absolute;top:-31000px;left:-31000px;width:auto;max-width:500px;outline:none}.ui-tooltip-content{box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);position:relative;padding:10px;overflow:hidden;border:1px solid #ccc;background-color:#fff;color:#555;font-size:.92em;text-align:left;word-wrap:break-word}.ui-tooltip-tip{border-color:#ccc;background-color:#fff}.ui-tooltip-tip{position:absolute;z-index:10;margin:0 auto;overflow:hidden;border:0 none;background:transparent}
|
.qtip{position:absolute;top:-31000px;left:-31000px;width:auto;max-width:500px;outline:none}.ui-tooltip-content{-webkit-box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);box-shadow:0 3px 6px rgba(0,0,0,0.16),0 3px 6px rgba(0,0,0,0.23);position:relative;padding:10px;overflow:hidden;border:1px solid #ccc;background-color:#fff;color:#555;font-size:.92em;text-align:left;word-wrap:break-word}.ui-tooltip-tip{border-color:#ccc;background-color:#fff}.ui-tooltip-tip{position:absolute;z-index:10;margin:0 auto;overflow:hidden;border:0 none;background:transparent}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 48 KiB |
BIN
screenshots/issues.png
Normal file
|
After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 151 KiB |
|
Before Width: | Height: | Size: 34 KiB |
@@ -1,4 +1,4 @@
|
|||||||
var PurpleMine = PurpleMine || {}
|
var PurpleMine = PurpleMine || {} // eslint-disable-line no-use-before-define
|
||||||
|
|
||||||
PurpleMine.HistoryTabs = (function () {
|
PurpleMine.HistoryTabs = (function () {
|
||||||
'use strict'
|
'use strict'
|
||||||
@@ -83,8 +83,8 @@ PurpleMine.HistoryTabs = (function () {
|
|||||||
$this.addClass('selected')
|
$this.addClass('selected')
|
||||||
|
|
||||||
instance.$history
|
instance.$history
|
||||||
.removeClass('hide-details')
|
.removeClass('hide-details')
|
||||||
.removeClass('hide-notes')
|
.removeClass('hide-notes')
|
||||||
|
|
||||||
if (tab === 'notes') {
|
if (tab === 'notes') {
|
||||||
instance.$history.addClass('hide-details')
|
instance.$history.addClass('hide-details')
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var PurpleMine = PurpleMine || {}
|
var PurpleMine = PurpleMine || {} // eslint-disable-line no-use-before-define
|
||||||
|
|
||||||
PurpleMine.MenuCollapse = (function () {
|
PurpleMine.MenuCollapse = (function () {
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
var PurpleMine = PurpleMine || {}
|
var PurpleMine = PurpleMine || {} // eslint-disable-line no-use-before-define
|
||||||
/* global Raphael: false, revisionGraph: true */
|
/* global Raphael: false, revisionGraph: true */
|
||||||
/* jshint camelcase: false */
|
|
||||||
/* jshint maxstatements: false */
|
|
||||||
/* jshint maxlen: 160 */
|
|
||||||
|
|
||||||
PurpleMine.RevisionGraph = function (holder, commitsHash, graphSpace) {
|
PurpleMine.RevisionGraph = function (holder, commitsHash, graphSpace) {
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var PurpleMine = PurpleMine || {}
|
var PurpleMine = PurpleMine || {} // eslint-disable-line no-use-before-define
|
||||||
|
|
||||||
PurpleMine.SidebarToggler = (function () {
|
PurpleMine.SidebarToggler = (function () {
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|||||||