Use stylelint
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -3,3 +3,4 @@
|
|||||||
/src/sass/_custom-variables.scss
|
/src/sass/_custom-variables.scss
|
||||||
/.sublime-grunt.cache
|
/.sublime-grunt.cache
|
||||||
/images/logo
|
/images/logo
|
||||||
|
/.stylelintcache
|
||||||
|
|||||||
178
.scss-lint.yml
178
.scss-lint.yml
@@ -1,178 +0,0 @@
|
|||||||
scss_files: "src/sass/**/*.scss"
|
|
||||||
|
|
||||||
exclude: 'src/sass/lib/**'
|
|
||||||
|
|
||||||
linters:
|
|
||||||
BangFormat:
|
|
||||||
enabled: true
|
|
||||||
space_before_bang: true
|
|
||||||
space_after_bang: false
|
|
||||||
|
|
||||||
BorderZero:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
ColorKeyword:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
ColorVariable:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
Comment:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
DebugStatement:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
DeclarationOrder:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
DuplicateProperty:
|
|
||||||
enabled: true
|
|
||||||
ignore_consecutive:
|
|
||||||
- word-break
|
|
||||||
|
|
||||||
ElsePlacement:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
EmptyLineBetweenBlocks:
|
|
||||||
enabled: true
|
|
||||||
ignore_single_line_blocks: true
|
|
||||||
|
|
||||||
EmptyRule:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
FinalNewline:
|
|
||||||
enabled: true
|
|
||||||
present: true
|
|
||||||
|
|
||||||
HexLength:
|
|
||||||
enabled: true
|
|
||||||
style: short
|
|
||||||
|
|
||||||
HexNotation:
|
|
||||||
enabled: true
|
|
||||||
style: lowercase
|
|
||||||
|
|
||||||
HexValidation:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
IdSelector:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
ImportantRule:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
ImportPath:
|
|
||||||
enabled: true
|
|
||||||
leading_underscore: false
|
|
||||||
filename_extension: false
|
|
||||||
|
|
||||||
Indentation:
|
|
||||||
enabled: true
|
|
||||||
character: space
|
|
||||||
width: 2
|
|
||||||
|
|
||||||
LeadingZero:
|
|
||||||
enabled: true
|
|
||||||
style: exclude_zero
|
|
||||||
|
|
||||||
MergeableSelector:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
NestingDepth:
|
|
||||||
enabled: true
|
|
||||||
max_depth: 7
|
|
||||||
|
|
||||||
PlaceholderInExtend:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
PropertySortOrder:
|
|
||||||
enabled: true
|
|
||||||
order: smacss
|
|
||||||
ignore_unspecified: true
|
|
||||||
|
|
||||||
PropertySpelling:
|
|
||||||
enabled: true
|
|
||||||
extra_properties: []
|
|
||||||
|
|
||||||
PseudoElement:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
QualifyingElement:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
SelectorDepth:
|
|
||||||
enabled: true
|
|
||||||
max_depth: 5
|
|
||||||
|
|
||||||
SelectorFormat:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
Shorthand:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
SingleLinePerProperty:
|
|
||||||
enabled: true
|
|
||||||
allow_single_line_rule_sets: true
|
|
||||||
|
|
||||||
SingleLinePerSelector:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
SpaceAfterComma:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
SpaceAfterPropertyColon:
|
|
||||||
enabled: true
|
|
||||||
style: at_least_one_space
|
|
||||||
|
|
||||||
SpaceAfterPropertyName:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
SpaceAfterVariableName:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
SpaceAroundOperator:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
SpaceBeforeBrace:
|
|
||||||
enabled: true
|
|
||||||
style: space
|
|
||||||
allow_single_line_padding: true
|
|
||||||
|
|
||||||
SpaceBetweenParens:
|
|
||||||
enabled: true
|
|
||||||
spaces: 0
|
|
||||||
|
|
||||||
StringQuotes:
|
|
||||||
enabled: true
|
|
||||||
style: double_quotes
|
|
||||||
|
|
||||||
TrailingSemicolon:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
TrailingWhitespace:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
TrailingZero:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
TransitionAll:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
UnnecessaryMantissa:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
UnnecessaryParentReference:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
UrlFormat:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
UrlQuotes:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
VendorPrefix:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
ZeroUnit:
|
|
||||||
enabled: true
|
|
||||||
498
.stylelintrc.js
Normal file
498
.stylelintrc.js
Normal file
@@ -0,0 +1,498 @@
|
|||||||
|
module.exports = {
|
||||||
|
'ignoreFiles': [
|
||||||
|
'src/sass/lib/**'
|
||||||
|
],
|
||||||
|
'plugins': [
|
||||||
|
'stylelint-order',
|
||||||
|
'stylelint-scss'
|
||||||
|
],
|
||||||
|
'rules': {
|
||||||
|
'at-rule-name-case': 'lower',
|
||||||
|
'at-rule-name-space-after': 'always-single-line',
|
||||||
|
'at-rule-no-vendor-prefix': true,
|
||||||
|
'at-rule-semicolon-newline-after': 'always',
|
||||||
|
'at-rule-semicolon-space-before': 'never',
|
||||||
|
'block-closing-brace-empty-line-before': 'never',
|
||||||
|
'block-closing-brace-newline-after': [
|
||||||
|
'always',
|
||||||
|
{
|
||||||
|
'ignoreAtRules': [
|
||||||
|
'if',
|
||||||
|
'else'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'block-closing-brace-newline-before': 'always-multi-line',
|
||||||
|
'block-closing-brace-space-before': 'always-single-line',
|
||||||
|
'block-no-empty': true,
|
||||||
|
'block-opening-brace-newline-after': 'always-multi-line',
|
||||||
|
'block-opening-brace-space-after': 'always-single-line',
|
||||||
|
'block-opening-brace-space-before': 'always-multi-line',
|
||||||
|
'color-hex-case': 'lower',
|
||||||
|
'color-hex-length': 'short',
|
||||||
|
'color-no-invalid-hex': true,
|
||||||
|
'comment-no-empty': true,
|
||||||
|
'comment-whitespace-inside': 'always',
|
||||||
|
'custom-property-pattern': /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,
|
||||||
|
'declaration-bang-space-after': 'never',
|
||||||
|
'declaration-bang-space-before': 'always',
|
||||||
|
'declaration-block-no-duplicate-properties': [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
'ignoreProperties': [
|
||||||
|
'word-break',
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'declaration-block-no-redundant-longhand-properties': true,
|
||||||
|
'declaration-block-no-shorthand-property-overrides': true,
|
||||||
|
'declaration-block-semicolon-newline-after': 'always-multi-line',
|
||||||
|
'declaration-block-semicolon-space-after': 'always-single-line',
|
||||||
|
'declaration-block-semicolon-space-before': 'never',
|
||||||
|
'declaration-block-trailing-semicolon': 'always',
|
||||||
|
'declaration-colon-space-after': 'always-single-line',
|
||||||
|
'declaration-colon-space-before': 'never',
|
||||||
|
'declaration-no-important': true,
|
||||||
|
'font-family-no-duplicate-names': true,
|
||||||
|
'function-calc-no-unspaced-operator': true,
|
||||||
|
'function-comma-newline-after': 'always-multi-line',
|
||||||
|
'function-comma-newline-before': 'never-multi-line',
|
||||||
|
'function-comma-space-after': 'always-single-line',
|
||||||
|
'function-comma-space-before': 'never',
|
||||||
|
'function-linear-gradient-no-nonstandard-direction': true,
|
||||||
|
'function-max-empty-lines': 1,
|
||||||
|
'function-name-case': 'lower',
|
||||||
|
'function-parentheses-newline-inside': 'always-multi-line',
|
||||||
|
'function-parentheses-space-inside': 'never-single-line',
|
||||||
|
'function-url-no-scheme-relative': true,
|
||||||
|
'function-url-quotes': 'always',
|
||||||
|
'function-whitespace-after': 'always',
|
||||||
|
'indentation': 2,
|
||||||
|
'keyframe-declaration-no-important': true,
|
||||||
|
'length-zero-no-unit': true,
|
||||||
|
'max-nesting-depth': 7,
|
||||||
|
'media-feature-colon-space-after': 'always',
|
||||||
|
'media-feature-colon-space-before': 'never',
|
||||||
|
'media-feature-name-case': 'lower',
|
||||||
|
'media-feature-parentheses-space-inside': 'never',
|
||||||
|
'media-feature-range-operator-space-after': 'always',
|
||||||
|
'media-feature-range-operator-space-before': 'always',
|
||||||
|
'media-query-list-comma-newline-after': 'always-multi-line',
|
||||||
|
'media-query-list-comma-newline-before': 'never-multi-line',
|
||||||
|
'media-query-list-comma-space-after': 'always-single-line',
|
||||||
|
'media-query-list-comma-space-before': 'never',
|
||||||
|
'no-duplicate-at-import-rules': true,
|
||||||
|
'no-eol-whitespace': true,
|
||||||
|
'no-extra-semicolons': true,
|
||||||
|
'no-missing-end-of-source-newline': true,
|
||||||
|
'number-leading-zero': 'never',
|
||||||
|
'number-no-trailing-zeros': true,
|
||||||
|
'property-case': 'lower',
|
||||||
|
'property-no-unknown': true,
|
||||||
|
'property-no-vendor-prefix': true,
|
||||||
|
'selector-attribute-brackets-space-inside': 'never',
|
||||||
|
'selector-attribute-operator-space-after': 'never',
|
||||||
|
'selector-attribute-operator-space-before': 'never',
|
||||||
|
'selector-attribute-quotes': 'always',
|
||||||
|
'selector-combinator-space-after': 'always',
|
||||||
|
'selector-combinator-space-before': 'always',
|
||||||
|
'selector-descendant-combinator-no-non-space': true,
|
||||||
|
'selector-list-comma-newline-after': 'always',
|
||||||
|
'selector-list-comma-newline-before': 'never-multi-line',
|
||||||
|
'selector-list-comma-space-before': 'never',
|
||||||
|
'selector-max-compound-selectors': 5,
|
||||||
|
'selector-max-empty-lines': 0,
|
||||||
|
'selector-max-universal': 1,
|
||||||
|
'selector-no-qualifying-type': [
|
||||||
|
true,
|
||||||
|
{
|
||||||
|
'ignore': [
|
||||||
|
'attribute',
|
||||||
|
'class',
|
||||||
|
'id'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
'selector-pseudo-class-case': 'lower',
|
||||||
|
'selector-pseudo-class-parentheses-space-inside': 'never',
|
||||||
|
'selector-pseudo-element-case': 'lower',
|
||||||
|
'selector-pseudo-element-colon-notation': 'double',
|
||||||
|
'selector-type-case': 'lower',
|
||||||
|
'shorthand-property-no-redundant-values': true,
|
||||||
|
'string-no-newline': true,
|
||||||
|
'string-quotes': 'double',
|
||||||
|
'unit-case': 'lower',
|
||||||
|
'unit-no-unknown': true,
|
||||||
|
'value-list-comma-newline-before': 'never-multi-line',
|
||||||
|
'value-list-comma-space-after': 'always-single-line',
|
||||||
|
'value-list-comma-space-before': 'never',
|
||||||
|
'value-list-max-empty-lines': 1,
|
||||||
|
'value-no-vendor-prefix': true,
|
||||||
|
|
||||||
|
'order/order': [
|
||||||
|
[
|
||||||
|
'custom-properties',
|
||||||
|
'dollar-variables',
|
||||||
|
'declarations',
|
||||||
|
'rules'
|
||||||
|
]
|
||||||
|
],
|
||||||
|
'order/properties-order': [
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'content',
|
||||||
|
'quotes'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'display',
|
||||||
|
'visibility'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'position',
|
||||||
|
'z-index',
|
||||||
|
'top',
|
||||||
|
'right',
|
||||||
|
'bottom',
|
||||||
|
'left'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'box-sizing'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'grid',
|
||||||
|
'grid-area',
|
||||||
|
'grid-auto-columns',
|
||||||
|
'grid-auto-flow',
|
||||||
|
'grid-auto-rows',
|
||||||
|
'grid-column',
|
||||||
|
'grid-column-end',
|
||||||
|
'grid-column-gap',
|
||||||
|
'grid-column-start',
|
||||||
|
'grid-gap',
|
||||||
|
'grid-row',
|
||||||
|
'grid-row-end',
|
||||||
|
'grid-row-gap',
|
||||||
|
'grid-row-start',
|
||||||
|
'grid-template',
|
||||||
|
'grid-template-areas',
|
||||||
|
'grid-template-columns',
|
||||||
|
'grid-template-rows'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'flex',
|
||||||
|
'flex-basis',
|
||||||
|
'flex-direction',
|
||||||
|
'flex-flow',
|
||||||
|
'flex-grow',
|
||||||
|
'flex-shrink',
|
||||||
|
'flex-wrap',
|
||||||
|
'box-decoration-break',
|
||||||
|
'align-content',
|
||||||
|
'align-items',
|
||||||
|
'align-self',
|
||||||
|
'justify-content',
|
||||||
|
'order'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'width',
|
||||||
|
'min-width',
|
||||||
|
'max-width',
|
||||||
|
'height',
|
||||||
|
'min-height',
|
||||||
|
'max-height'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'margin',
|
||||||
|
'margin-top',
|
||||||
|
'margin-right',
|
||||||
|
'margin-bottom',
|
||||||
|
'margin-left'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'padding',
|
||||||
|
'padding-top',
|
||||||
|
'padding-right',
|
||||||
|
'padding-bottom',
|
||||||
|
'padding-left'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'float',
|
||||||
|
'clear'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'overflow',
|
||||||
|
'overflow-x',
|
||||||
|
'overflow-y'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'clip',
|
||||||
|
'zoom'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'columns',
|
||||||
|
'column-gap',
|
||||||
|
'column-fill',
|
||||||
|
'column-rule',
|
||||||
|
'column-span',
|
||||||
|
'column-count',
|
||||||
|
'column-width'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'table-layout',
|
||||||
|
'empty-cells',
|
||||||
|
'caption-side',
|
||||||
|
'border-spacing',
|
||||||
|
'border-collapse'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'list-style',
|
||||||
|
'list-style-position',
|
||||||
|
'list-style-type',
|
||||||
|
'list-style-image'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'transform',
|
||||||
|
'transform-origin',
|
||||||
|
'transform-style',
|
||||||
|
'backface-visibility',
|
||||||
|
'perspective',
|
||||||
|
'perspective-origin'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'transition',
|
||||||
|
'transition-property',
|
||||||
|
'transition-duration',
|
||||||
|
'transition-timing-function',
|
||||||
|
'transition-delay'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'animation',
|
||||||
|
'animation-name',
|
||||||
|
'animation-duration',
|
||||||
|
'animation-play-state',
|
||||||
|
'animation-timing-function',
|
||||||
|
'animation-delay',
|
||||||
|
'animation-iteration-count',
|
||||||
|
'animation-direction'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'border',
|
||||||
|
'border-top',
|
||||||
|
'border-right',
|
||||||
|
'border-bottom',
|
||||||
|
'border-left',
|
||||||
|
'border-width',
|
||||||
|
'border-top-width',
|
||||||
|
'border-right-width',
|
||||||
|
'border-bottom-width',
|
||||||
|
'border-left-width'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'border-style',
|
||||||
|
'border-top-style',
|
||||||
|
'border-right-style',
|
||||||
|
'border-bottom-style',
|
||||||
|
'border-left-style'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'border-radius',
|
||||||
|
'border-top-left-radius',
|
||||||
|
'border-top-right-radius',
|
||||||
|
'border-bottom-left-radius',
|
||||||
|
'border-bottom-right-radius'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'border-color',
|
||||||
|
'border-top-color',
|
||||||
|
'border-right-color',
|
||||||
|
'border-bottom-color',
|
||||||
|
'border-left-color'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'outline',
|
||||||
|
'outline-color',
|
||||||
|
'outline-offset',
|
||||||
|
'outline-style',
|
||||||
|
'outline-width'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'stroke-width',
|
||||||
|
'stroke-linecap',
|
||||||
|
'stroke-dasharray',
|
||||||
|
'stroke-dashoffset',
|
||||||
|
'stroke'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'opacity'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'background',
|
||||||
|
'background-color',
|
||||||
|
'background-image',
|
||||||
|
'background-repeat',
|
||||||
|
'background-position',
|
||||||
|
'background-size',
|
||||||
|
'box-shadow',
|
||||||
|
'fill'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'color'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'font',
|
||||||
|
'font-family',
|
||||||
|
'font-size',
|
||||||
|
'font-size-adjust',
|
||||||
|
'font-stretch',
|
||||||
|
'font-effect',
|
||||||
|
'font-style',
|
||||||
|
'font-variant',
|
||||||
|
'font-weight'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'font-emphasize',
|
||||||
|
'font-emphasize-position',
|
||||||
|
'font-emphasize-style'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'letter-spacing',
|
||||||
|
'line-height',
|
||||||
|
'word-spacing'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'text-align',
|
||||||
|
'text-align-last',
|
||||||
|
'text-decoration',
|
||||||
|
'text-indent',
|
||||||
|
'text-justify',
|
||||||
|
'text-overflow',
|
||||||
|
'text-overflow-ellipsis',
|
||||||
|
'text-overflow-mode',
|
||||||
|
'text-rendering',
|
||||||
|
'text-outline',
|
||||||
|
'text-shadow',
|
||||||
|
'text-transform',
|
||||||
|
'text-wrap',
|
||||||
|
'word-wrap',
|
||||||
|
'word-break'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'text-emphasis',
|
||||||
|
'text-emphasis-color',
|
||||||
|
'text-emphasis-style',
|
||||||
|
'text-emphasis-position'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'vertical-align',
|
||||||
|
'white-space',
|
||||||
|
'hyphens'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'src'
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'properties': [
|
||||||
|
'tab-size',
|
||||||
|
'counter-reset',
|
||||||
|
'counter-increment',
|
||||||
|
'resize',
|
||||||
|
'cursor',
|
||||||
|
'pointer-events',
|
||||||
|
'speak',
|
||||||
|
'user-select',
|
||||||
|
'nav-index',
|
||||||
|
'nav-up',
|
||||||
|
'nav-right',
|
||||||
|
'nav-down',
|
||||||
|
'nav-left'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
'scss/at-else-closing-brace-newline-after': 'always-last-in-chain',
|
||||||
|
'scss/at-else-closing-brace-space-after': 'always-intermediate',
|
||||||
|
'scss/at-else-empty-line-before': 'never',
|
||||||
|
'scss/at-else-if-parentheses-space-before': 'always',
|
||||||
|
'scss/at-function-parentheses-space-before': 'never',
|
||||||
|
'scss/at-function-pattern': /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,
|
||||||
|
'scss/at-if-closing-brace-newline-after': 'always-last-in-chain',
|
||||||
|
'scss/at-if-closing-brace-space-after': 'always-intermediate',
|
||||||
|
'scss/at-import-no-partial-leading-underscore': true,
|
||||||
|
'scss/at-mixin-argumentless-call-parentheses': 'never',
|
||||||
|
'scss/at-mixin-parentheses-space-before': 'never',
|
||||||
|
'scss/at-mixin-pattern': /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,
|
||||||
|
'scss/declaration-nested-properties-no-divided-groups': true,
|
||||||
|
'scss/dollar-variable-colon-space-before': 'never',
|
||||||
|
'scss/dollar-variable-pattern': /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,
|
||||||
|
'scss/operator-no-unspaced': true,
|
||||||
|
'scss/percent-placeholder-pattern': /^[a-z][a-z0-9]*(-[a-z0-9]+)*$/,
|
||||||
|
'scss/selector-no-redundant-nesting-selector': true,
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -1,15 +1,11 @@
|
|||||||
dist: trusty
|
dist: xenial
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 8
|
- 10
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
before_install:
|
|
||||||
- rvm install 2.2
|
|
||||||
- rvm use 2.2 --fuzzy
|
|
||||||
install:
|
install:
|
||||||
- gem install scss_lint
|
|
||||||
- npm install
|
- npm install
|
||||||
script:
|
script:
|
||||||
- npm run lint --silent
|
- npm run lint --silent
|
||||||
|
|||||||
2826
package-lock.json
generated
2826
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,7 @@
|
|||||||
"build": "grunt",
|
"build": "grunt",
|
||||||
"watch": "grunt watch",
|
"watch": "grunt watch",
|
||||||
"lint:js": "standard",
|
"lint:js": "standard",
|
||||||
"lint:sass": "scss-lint",
|
"lint:sass": "stylelint src/sass/**/*.scss",
|
||||||
"lint": "npm run -S lint:js && npm run -S lint:sass"
|
"lint": "npm run -S lint:js && npm run -S lint:sass"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -35,7 +35,10 @@
|
|||||||
"sass-inline-svg": "^1.2.0"
|
"sass-inline-svg": "^1.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"standard": "^12.0.1"
|
"standard": "^12.0.1",
|
||||||
|
"stylelint": "^10.0.1",
|
||||||
|
"stylelint-order": "^3.0.0",
|
||||||
|
"stylelint-scss": "^3.6.1"
|
||||||
},
|
},
|
||||||
"standard": {
|
"standard": {
|
||||||
"globals": [
|
"globals": [
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
.qtip{position:absolute;top:-31000px;left:-31000px;width:auto;max-width:500px;outline:none}.ui-tooltip-content{-webkit-box-shadow:0 5px 8px -2px rgba(0,0,0,0.25),0 1px 2px rgba(0,0,0,0.3);box-shadow:0 5px 8px -2px rgba(0,0,0,0.25),0 1px 2px rgba(0,0,0,0.3);position:relative;padding:10px;overflow:hidden;border:1px solid #d1d3e0;background-color:#fff;color:#3e425a;font-size:.92em;text-align:left;word-wrap:break-word}.ui-tooltip-tip{border-color:#d1d3e0;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 5px 8px -2px rgba(0,0,0,0.25),0 1px 2px rgba(0,0,0,0.3);box-shadow:0 5px 8px -2px rgba(0,0,0,0.25),0 1px 2px rgba(0,0,0,0.3);position:relative;padding:10px;overflow:hidden;border:1px solid #d1d3e0;background-color:#fff;color:#3e425a;font-size:.92em;text-align:left;word-wrap:break-word}.ui-tooltip-tip{position:absolute;z-index:10;margin:0 auto;overflow:hidden;border:0 none;border-color:#d1d3e0;background:transparent;background-color:#fff}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -2,6 +2,7 @@
|
|||||||
// Variables
|
// Variables
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
// stylelint-disable indentation
|
||||||
|
|
||||||
//== Some key attributes
|
//== Some key attributes
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -147,13 +147,13 @@ samp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
hr {
|
hr {
|
||||||
margin-top: $line-height-computed;
|
margin-top: $line-height-computed;
|
||||||
margin-bottom: $line-height-computed;
|
margin-bottom: $line-height-computed;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-top: 1px solid $hr-border;
|
border-top: 1px solid $hr-border;
|
||||||
|
|
||||||
li & {
|
li & {
|
||||||
margin-top: $line-height-computed / 2;
|
margin-top: $line-height-computed / 2;
|
||||||
margin-bottom: $line-height-computed / 2;
|
margin-bottom: $line-height-computed / 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -163,11 +163,11 @@ blockquote {
|
|||||||
padding: floor($line-height-computed / 4) $padding-large-horizontal;
|
padding: floor($line-height-computed / 4) $padding-large-horizontal;
|
||||||
border-left: 4px solid $blockquote-border-color;
|
border-left: 4px solid $blockquote-border-color;
|
||||||
|
|
||||||
>:first-child {
|
> :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
>:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,9 +9,10 @@ button {
|
|||||||
@include button-size($btn-padding-vertical, $btn-padding-horizontal, $font-size-base, $line-height-base, $border-radius-base);
|
@include button-size($btn-padding-vertical, $btn-padding-horizontal, $font-size-base, $line-height-base, $border-radius-base);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
transition: border-color $transition-time ease-in-out,
|
transition:
|
||||||
background-color $transition-time ease-in-out,
|
border-color $transition-time ease-in-out,
|
||||||
box-shadow $transition-time ease-in-out;
|
background-color $transition-time ease-in-out,
|
||||||
|
box-shadow $transition-time ease-in-out;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
font-weight: $btn-font-weight;
|
font-weight: $btn-font-weight;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@@ -19,7 +20,7 @@ button {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border); // scss-lint:disable DeclarationOrder
|
@include button-variant($btn-primary-color, $btn-primary-bg, $btn-primary-border);
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
@@ -99,9 +100,10 @@ p.buttons,
|
|||||||
margin-right: 1px;
|
margin-right: 1px;
|
||||||
margin-left: 1px;
|
margin-left: 1px;
|
||||||
padding: $btn-padding-vertical $btn-padding-horizontal-small;
|
padding: $btn-padding-vertical $btn-padding-horizontal-small;
|
||||||
transition: border-color $transition-time ease-in-out,
|
transition:
|
||||||
background-color $transition-time ease-in-out,
|
border-color $transition-time ease-in-out,
|
||||||
color $transition-time ease-in-out;
|
background-color $transition-time ease-in-out,
|
||||||
|
color $transition-time ease-in-out;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
border-radius: $border-radius-base;
|
border-radius: $border-radius-base;
|
||||||
font-size: $font-size-base;
|
font-size: $font-size-base;
|
||||||
@@ -181,7 +183,7 @@ p.buttons {
|
|||||||
|
|
||||||
.query-columns {
|
.query-columns {
|
||||||
select {
|
select {
|
||||||
width: auto !important; // scss-lint:disable ImportantRule
|
width: auto !important; // stylelint-disable-line declaration-no-important
|
||||||
min-width: 130px;
|
min-width: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -211,7 +213,7 @@ p.buttons {
|
|||||||
margin-bottom: 4px;
|
margin-bottom: 4px;
|
||||||
padding-right: 1px;
|
padding-right: 1px;
|
||||||
padding-left: 1px;
|
padding-left: 1px;
|
||||||
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border); // scss-lint:disable DeclarationOrder
|
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -235,7 +237,7 @@ a[data-expands],
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border); // scss-lint:disable DeclarationOrder
|
@include button-variant($btn-default-color, $btn-default-bg, $btn-default-border);
|
||||||
}
|
}
|
||||||
|
|
||||||
a[data-expands] {
|
a[data-expands] {
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.debug {
|
.debug {
|
||||||
// scss-lint:disable ImportantRule
|
// stylelint-disable declaration-no-important
|
||||||
background: #00f !important;
|
background: #00f !important;
|
||||||
color: #fff !important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,12 +4,14 @@
|
|||||||
grid-template-rows: auto 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
|
|
||||||
@if $sidebar-position == "left" {
|
@if $sidebar-position == "left" {
|
||||||
grid-template-areas: "sidebar content"
|
grid-template-areas:
|
||||||
"footer footer";
|
"sidebar content"
|
||||||
|
"footer footer";
|
||||||
grid-template-columns: auto 1fr;
|
grid-template-columns: auto 1fr;
|
||||||
} @else {
|
} @else {
|
||||||
grid-template-areas: "content sidebar"
|
grid-template-areas:
|
||||||
"footer footer";
|
"content sidebar"
|
||||||
|
"footer footer";
|
||||||
grid-template-columns: 1fr auto;
|
grid-template-columns: 1fr auto;
|
||||||
}
|
}
|
||||||
} @else if $flexbox-layout {
|
} @else if $flexbox-layout {
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
.context-menu-selection {
|
.context-menu-selection {
|
||||||
&,
|
&,
|
||||||
> td {
|
> td {
|
||||||
background-color: $brand-primary !important; // scss-lint:disable ImportantRule
|
background-color: $brand-primary !important; // stylelint-disable-line declaration-no-important
|
||||||
color: $brand-text !important; // scss-lint:disable ImportantRule
|
color: $brand-text !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
> ul,
|
> ul,
|
||||||
> ul > li > ul {
|
> ul > li > ul {
|
||||||
@include nice-shadow(2);
|
@include nice-shadow(2);
|
||||||
border: 0 none !important; // scss-lint:disable ImportantRule
|
border: 0 none !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
|||||||
@@ -25,9 +25,9 @@ a.collapsible,
|
|||||||
height: 0;
|
height: 0;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
transform: rotate(0);
|
transform: rotate(0);
|
||||||
border-top: 6px solid;
|
border-top: 6px solid;
|
||||||
border-right: 4px solid transparent;
|
border-right: 4px solid transparent;
|
||||||
border-left: 4px solid transparent;
|
border-left: 4px solid transparent;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
|
||||||
@if $collapsible-animation-time > 0 {
|
@if $collapsible-animation-time > 0 {
|
||||||
@@ -51,7 +51,7 @@ a.collapsible.collapsed,
|
|||||||
transition: max-height $collapsible-animation-time ease-out;
|
transition: max-height $collapsible-animation-time ease-out;
|
||||||
|
|
||||||
> div {
|
> div {
|
||||||
display: block !important; // scss-lint:disable ImportantRule
|
display: block !important; // stylelint-disable-line declaration-no-important
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
transition: visibility 0s 0s, opacity $collapsible-animation-time;
|
transition: visibility 0s 0s, opacity $collapsible-animation-time;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
@@ -136,7 +136,7 @@ a.collapsible.collapsed,
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:last-child,
|
&:last-child,
|
||||||
>:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -283,7 +283,7 @@ p.subtitle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.ui-sortable-placeholder {
|
&.ui-sortable-placeholder {
|
||||||
visibility: visible !important; // scss-lint:disable ImportantRule
|
visibility: visible !important; // stylelint-disable-line declaration-no-important
|
||||||
outline: 1px dashed $highlight-border;
|
outline: 1px dashed $highlight-border;
|
||||||
background: $highlight-bg;
|
background: $highlight-bg;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,21 +23,21 @@
|
|||||||
line-height: $line-height-computed;
|
line-height: $line-height-computed;
|
||||||
}
|
}
|
||||||
|
|
||||||
>:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin flash($color, $background, $border, $link, $icon) {
|
@mixin flash($color, $background, $border, $link, $icon) {
|
||||||
color: $color;
|
|
||||||
background-color: $background;
|
|
||||||
border-color: $border;
|
border-color: $border;
|
||||||
|
background-color: $background;
|
||||||
|
color: $color;
|
||||||
|
|
||||||
@if $icon == "true" {
|
@if $icon == "true" {
|
||||||
$icon: $fa-var-check;
|
$icon: $fa-var-check;
|
||||||
} @elseif $icon == "warning" {
|
} @else if $icon == "warning" {
|
||||||
$icon: $fa-var-warning;
|
$icon: $fa-var-warning;
|
||||||
} @elseif $icon == "exclamation" {
|
} @else if $icon == "exclamation" {
|
||||||
$icon: $fa-var-exclamation-circle;
|
$icon: $fa-var-exclamation-circle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -76,8 +76,9 @@ input[type="password"] {
|
|||||||
@extend %form-field;
|
@extend %form-field;
|
||||||
@include form-control-focus;
|
@include form-control-focus;
|
||||||
@include placeholder;
|
@include placeholder;
|
||||||
transition: border-color $transition-time ease-in-out,
|
transition:
|
||||||
box-shadow $transition-time ease-in-out;
|
border-color $transition-time ease-in-out,
|
||||||
|
box-shadow $transition-time ease-in-out;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
|
||||||
&[disabled],
|
&[disabled],
|
||||||
@@ -101,7 +102,7 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
input[type="search"] {
|
input[type="search"] {
|
||||||
-webkit-appearance: none;
|
-webkit-appearance: none; // stylelint-disable-line property-no-vendor-prefix
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="radio"],
|
input[type="radio"],
|
||||||
@@ -159,7 +160,7 @@ select {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.bool_cf {
|
&.bool_cf {
|
||||||
width: auto !important; // scss-lint:disable ImportantRule
|
width: auto !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,7 +171,7 @@ select {
|
|||||||
|
|
||||||
// Mozilla Firefox
|
// Mozilla Firefox
|
||||||
|
|
||||||
@-moz-document url-prefix() {
|
@-moz-document url-prefix("") {
|
||||||
select {
|
select {
|
||||||
&[multiple] {
|
&[multiple] {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -380,7 +381,7 @@ label.block {
|
|||||||
//== Hack: align description edit icon with label
|
//== Hack: align description edit icon with label
|
||||||
//
|
//
|
||||||
|
|
||||||
label[for=issue_description] + a {
|
label[for="issue_description"] + a {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: $input-padding-vertical + 1px;
|
margin-top: $input-padding-vertical + 1px;
|
||||||
|
|
||||||
@@ -558,7 +559,7 @@ label[for="closed"] {
|
|||||||
|
|
||||||
#issue_is_private_wrap,
|
#issue_is_private_wrap,
|
||||||
#all_attributes > p[style] {
|
#all_attributes > p[style] {
|
||||||
margin-right: 0 !important; // scss-lint:disable ImportantRule
|
margin-right: 0 !important; // stylelint-disable-line declaration-no-important
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
float: right;
|
float: right;
|
||||||
@@ -569,7 +570,7 @@ label[for="closed"] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: inline-block !important; // scss-lint:disable ImportantRule
|
display: inline-block !important; // stylelint-disable-line declaration-no-important
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ table.list .buttons > a::before {
|
|||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
@at-root a#{&} {
|
@at-root a#{&} {
|
||||||
// scss-lint:disable ImportantRule
|
// stylelint-disable declaration-no-important
|
||||||
display: inline;
|
display: inline;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
|
|||||||
@@ -4,5 +4,5 @@
|
|||||||
|
|
||||||
// ACI = AutoComplete Indicator
|
// ACI = AutoComplete Indicator
|
||||||
%image-aci {
|
%image-aci {
|
||||||
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAKBAMAAAAnY0GXAAAAD1BMVEUAAACzs7Ozs7Ozs7Ozs7NJvZFvAAAABHRSTlMA5kpJG2qUMwAAABtJREFUCNdjIBMYCkMRDIg4QhBuAUUhKCIPAAAlaQNk5qF21gAAAABJRU5ErkJggg==);
|
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAKBAMAAAAnY0GXAAAAD1BMVEUAAACzs7Ozs7Ozs7Ozs7NJvZFvAAAABHRSTlMA5kpJG2qUMwAAABtJREFUCNdjIBMYCkMRDIg4QhBuAUUhKCIPAAAlaQNk5qF21gAAAABJRU5ErkJggg==");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -387,7 +387,7 @@ tr.entry {
|
|||||||
right: 5px;
|
right: 5px;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 5px;
|
left: 5px;
|
||||||
height: calc(50% - 2px/2);
|
height: calc(50% - 2px / 2);
|
||||||
transform: rotate(-4deg);
|
transform: rotate(-4deg);
|
||||||
transition: border-color $transition-time;
|
transition: border-color $transition-time;
|
||||||
border-top: 2px solid rgba($tracker-default-text, .95);
|
border-top: 2px solid rgba($tracker-default-text, .95);
|
||||||
|
|||||||
@@ -222,8 +222,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.select2-selection {
|
.select2-selection {
|
||||||
transition: border-color $transition-time ease-in-out,
|
transition:
|
||||||
box-shadow $transition-time ease-in-out;
|
border-color $transition-time ease-in-out,
|
||||||
|
box-shadow $transition-time ease-in-out;
|
||||||
border-color: $input-border;
|
border-color: $input-border;
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
#main {
|
#main {
|
||||||
display: block;
|
display: block;
|
||||||
overflow: visible !important; // scss-lint:disable ImportantRule
|
overflow: visible !important; // stylelint-disable-line declaration-no-important
|
||||||
background: $white;
|
background: $white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
overflow: visible !important; // scss-lint:disable ImportantRule
|
overflow: visible !important; // stylelint-disable-line declaration-no-important
|
||||||
border: 0;
|
border: 0;
|
||||||
background: $white;
|
background: $white;
|
||||||
}
|
}
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
// scss-lint:disable ImportantRule
|
// stylelint-disable declaration-no-important
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
color: $black !important;
|
color: $black !important;
|
||||||
|
|||||||
@@ -36,15 +36,15 @@ table.progress {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.done {
|
&.done {
|
||||||
background-color: $progress-bar-bg !important; // scss-lint:disable ImportantRule
|
background-color: $progress-bar-bg !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
|
|
||||||
&.closed {
|
&.closed {
|
||||||
background-color: $progress-bar-success-bg !important; // scss-lint:disable ImportantRule
|
background-color: $progress-bar-success-bg !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
|
|
||||||
&.todo {
|
&.todo {
|
||||||
background-color: $progress-bg !important; // scss-lint:disable ImportantRule
|
background-color: $progress-bg !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// scss-lint:disable SelectorDepth
|
// stylelint-disable selector-max-compound-selectors
|
||||||
.theme-Purplemine2 {
|
.theme-Purplemine2 {
|
||||||
@media screen and (max-width: $redmine-responsive-max) {
|
@media screen and (max-width: $redmine-responsive-max) {
|
||||||
.flyout-menu + div {
|
.flyout-menu + div {
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ div.tabs:not(#main-menu) {
|
|||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label[for=principal_search] {
|
label[for="principal_search"] {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -412,7 +412,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tabs-buttons {
|
.tabs-buttons {
|
||||||
display: none !important; // scss-lint:disable ImportantRule
|
display: none !important; // stylelint-disable-line declaration-no-important
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
border-color: $main-menu-border;
|
border-color: $main-menu-border;
|
||||||
background-color: $main-menu-bg;
|
background-color: $main-menu-bg;
|
||||||
@@ -425,6 +425,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
ul + .tabs-buttons {
|
ul + .tabs-buttons {
|
||||||
display: block !important; // scss-lint:disable ImportantRule
|
display: block !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ div.wiki {
|
|||||||
color: $wiki-text;
|
color: $wiki-text;
|
||||||
line-height: $wiki-line-height;
|
line-height: $wiki-line-height;
|
||||||
|
|
||||||
//scss-lint:disable SingleLinePerSelector
|
// stylelint-disable selector-list-comma-newline-after
|
||||||
h1, .h1,
|
h1, .h1,
|
||||||
h2, .h2,
|
h2, .h2,
|
||||||
h3, .h3,
|
h3, .h3,
|
||||||
@@ -111,16 +111,16 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
>:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
>:first-child {
|
> :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
>:last-child {
|
> :last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -274,7 +274,7 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
|
|
||||||
li {
|
li {
|
||||||
// scss-lint:disable SelectorDepth
|
// stylelint-disable selector-max-compound-selectors
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
@@ -318,9 +318,9 @@ h6 {
|
|||||||
position: relative;
|
position: relative;
|
||||||
top: -(1em - $font-size-small);
|
top: -(1em - $font-size-small);
|
||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
color: $headings-anchor-color !important; // scss-lint:disable ImportantRule
|
color: $headings-anchor-color !important; // stylelint-disable-line declaration-no-important
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
text-decoration: none !important; // scss-lint:disable ImportantRule
|
text-decoration: none !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -343,7 +343,7 @@ p.footnote {
|
|||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
margin-top: $line-height-computed;
|
margin-top: $line-height-computed;
|
||||||
padding-top: $line-height-computed / 2;
|
padding-top: $line-height-computed / 2;
|
||||||
border-top: 1px solid $gray-400;
|
border-top: 1px solid $gray-400;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
// Button sizes
|
// Button sizes
|
||||||
@mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
|
@mixin button-size($padding-vertical, $padding-horizontal, $font-size, $line-height, $border-radius) {
|
||||||
padding: $padding-vertical $padding-horizontal;
|
padding: $padding-vertical $padding-horizontal;
|
||||||
|
border-radius: $border-radius;
|
||||||
font-size: $font-size;
|
font-size: $font-size;
|
||||||
line-height: $line-height;
|
line-height: $line-height;
|
||||||
border-radius: $border-radius;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin button-variant($color, $bg, $border) {
|
@mixin button-variant($color, $bg, $border) {
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
@mixin center-block() {
|
@mixin center-block() {
|
||||||
display: block;
|
display: block;
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,9 +44,9 @@
|
|||||||
@extend %clearfix;
|
@extend %clearfix;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-left: $check-input-gutter;
|
padding-left: $check-input-gutter;
|
||||||
|
font-weight: $font-weight-normal;
|
||||||
line-height: $line-height-base;
|
line-height: $line-height-base;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: $font-weight-normal;
|
|
||||||
|
|
||||||
input[type="checkbox"],
|
input[type="checkbox"],
|
||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
|
|
||||||
@mixin img-retina($file-2x, $width-1x, $height-1x) {
|
@mixin img-retina($file-2x, $width-1x, $height-1x) {
|
||||||
@media
|
@media
|
||||||
only screen and (-webkit-min-device-pixel-ratio: 2),
|
only screen and (-webkit-min-device-pixel-ratio: 2),
|
||||||
only screen and (min--moz-device-pixel-ratio: 2),
|
only screen and (min--moz-device-pixel-ratio: 2),
|
||||||
only screen and (-o-min-device-pixel-ratio: 2/1),
|
only screen and (-o-min-device-pixel-ratio: 2 / 1),
|
||||||
only screen and (min-device-pixel-ratio: 2),
|
only screen and (min-device-pixel-ratio: 2),
|
||||||
only screen and (min-resolution: 192dpi),
|
only screen and (min-resolution: 192dpi),
|
||||||
only screen and (min-resolution: 2dppx) {
|
only screen and (min-resolution: 2dppx) {
|
||||||
background-image: url("#{$file-2x}");
|
background-image: url("#{$file-2x}");
|
||||||
background-size: $width-1x $height-1x;
|
background-size: $width-1x $height-1x;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
@if ($depth == 1) {
|
@if ($depth == 1) {
|
||||||
$shadow: 0 1px 2px rgba(#000, .25);
|
$shadow: 0 1px 2px rgba(#000, .25);
|
||||||
} @elseif ($depth == 2) {
|
} @else if ($depth == 2) {
|
||||||
$shadow: 0 5px 8px -2px rgba(#000, .25), 0 1px 2px rgba(#000, .3);
|
$shadow: 0 5px 8px -2px rgba(#000, .25), 0 1px 2px rgba(#000, .3);
|
||||||
} @elseif ($depth == 3) {
|
} @else if ($depth == 3) {
|
||||||
$shadow: 0 8px 16px -3px rgba(#000, .25), 0 2px 4px rgba(#000, .3);
|
$shadow: 0 8px 16px -3px rgba(#000, .25), 0 2px 4px rgba(#000, .3);
|
||||||
} @elseif ($depth == 4) {
|
} @else if ($depth == 4) {
|
||||||
$shadow: 0 14px 24px -4px rgba(#000, .25), 0 3px 10px rgba(#000, .3);
|
$shadow: 0 14px 24px -4px rgba(#000, .25), 0 3px 10px rgba(#000, .3);
|
||||||
} @elseif ($depth == 5) {
|
} @else if ($depth == 5) {
|
||||||
$shadow: 0 20px 32px -2px rgba(#000, .25), 0 4px 12px rgba(#000, .3);
|
$shadow: 0 20px 32px -2px rgba(#000, .25), 0 4px 12px rgba(#000, .3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -67,8 +67,9 @@ input.editor,
|
|||||||
@include placeholder;
|
@include placeholder;
|
||||||
height: $input-height-base;
|
height: $input-height-base;
|
||||||
padding: $input-padding-vertical $input-padding-horizontal;
|
padding: $input-padding-vertical $input-padding-horizontal;
|
||||||
transition: border-color $transition-time ease-in-out,
|
transition:
|
||||||
box-shadow $transition-time ease-in-out;
|
border-color $transition-time ease-in-out,
|
||||||
|
box-shadow $transition-time ease-in-out;
|
||||||
border: 1px solid $input-border;
|
border: 1px solid $input-border;
|
||||||
border-radius: $input-border-radius;
|
border-radius: $input-border-radius;
|
||||||
background-color: $input-bg;
|
background-color: $input-bg;
|
||||||
@@ -91,8 +92,9 @@ button.ui-multiselect {
|
|||||||
height: $input-height-base;
|
height: $input-height-base;
|
||||||
padding: $input-padding-vertical $input-padding-horizontal;
|
padding: $input-padding-vertical $input-padding-horizontal;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
transition: border-color $transition-time ease-in-out,
|
transition:
|
||||||
box-shadow $transition-time ease-in-out;
|
border-color $transition-time ease-in-out,
|
||||||
|
box-shadow $transition-time ease-in-out;
|
||||||
border: 1px solid $input-border;
|
border: 1px solid $input-border;
|
||||||
background: $input-bg;
|
background: $input-bg;
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
|
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
|
||||||
@@ -254,7 +256,7 @@ ul.ui-sortable {
|
|||||||
.ui-tooltip {
|
.ui-tooltip {
|
||||||
.ui-tooltip-content {
|
.ui-tooltip-content {
|
||||||
hr {
|
hr {
|
||||||
margin-top: $line-height-computed / 2;
|
margin-top: $line-height-computed / 2;
|
||||||
margin-bottom: $line-height-computed / 2;
|
margin-bottom: $line-height-computed / 2;
|
||||||
border: 0;
|
border: 0;
|
||||||
border-top: 1px solid $hr-border;
|
border-top: 1px solid $hr-border;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
// scss-lint:disable Comment
|
// stylelint-disable comment-whitespace-inside, no-duplicate-selectors
|
||||||
@import "../common";
|
@import "../common";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
----------------------------------*/
|
----------------------------------*/
|
||||||
|
|
||||||
.ui-state-disabled {
|
.ui-state-disabled {
|
||||||
cursor: default !important; // scss-lint:disable ImportantRule
|
cursor: default !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Icons
|
/* Icons
|
||||||
@@ -631,7 +631,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui-accordion-header-active {
|
.ui-accordion-header-active {
|
||||||
border-bottom: 0 !important; // scss-lint:disable ImportantRule
|
border-bottom: 0 !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-accordion-header a {
|
.ui-accordion-header a {
|
||||||
@@ -734,7 +734,7 @@
|
|||||||
overflow: visible;
|
overflow: visible;
|
||||||
zoom: 1;
|
zoom: 1;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-decoration: none !important; // scss-lint:disable ImportantRule
|
text-decoration: none !important; // stylelint-disable-line declaration-no-important
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1007,7 +1007,7 @@ button.ui-button::-moz-focus-inner {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
float: left;
|
float: left;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
border-bottom: 0 !important; // scss-lint:disable ImportantRule
|
border-bottom: 0 !important; // stylelint-disable-line declaration-no-important
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -1048,7 +1048,7 @@ button.ui-button::-moz-focus-inner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ui-tabs-hide {
|
.ui-tabs-hide {
|
||||||
display: none !important; // scss-lint:disable ImportantRule
|
display: none !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1361,7 +1361,7 @@ button.ui-button::-moz-focus-inner {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Progressbar
|
/* Progressbar
|
||||||
----------------------------------*/
|
----------------------------------*/
|
||||||
|
|
||||||
.ui-progressbar {
|
.ui-progressbar {
|
||||||
|
|||||||
@@ -11,13 +11,13 @@
|
|||||||
|
|
||||||
.ui-multiselect-single .ui-multiselect-checkboxes {
|
.ui-multiselect-single .ui-multiselect-checkboxes {
|
||||||
input {
|
input {
|
||||||
position: absolute !important; // scss-lint:disable ImportantRule
|
position: absolute !important; // stylelint-disable-line declaration-no-important
|
||||||
top: auto !important; // scss-lint:disable ImportantRule
|
top: auto !important; // stylelint-disable-line declaration-no-important
|
||||||
left: -9999px;
|
left: -9999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
padding: 5px !important; // scss-lint:disable ImportantRule
|
padding: 5px !important; // stylelint-disable-line declaration-no-important
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -22,16 +22,13 @@
|
|||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ui-tooltip-tip {
|
|
||||||
border-color: $tooltip-border;
|
|
||||||
background-color: $tooltip-bg;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ui-tooltip-tip {
|
.ui-tooltip-tip {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: 0 none;
|
border: 0 none;
|
||||||
|
border-color: $tooltip-border;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
background-color: $tooltip-bg;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -189,8 +189,9 @@ $story-sp-input-width: 50px;
|
|||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: lighten($header-bg, 25%);
|
border-color: lighten($header-bg, 25%);
|
||||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2),
|
box-shadow:
|
||||||
0 0 0 1px lighten($header-bg, 25%);
|
inset 0 1px 3px rgba(0, 0, 0, .2),
|
||||||
|
0 0 0 1px lighten($header-bg, 25%);
|
||||||
color: $gray-950;
|
color: $gray-950;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -279,7 +280,7 @@ $story-sp-input-width: 50px;
|
|||||||
$name-width-minus: $header-right-width-wider + 35px;
|
$name-width-minus: $header-right-width-wider + 35px;
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
width: calc(100% - #{$name-width-minus}) !important; // scss-lint:disable ImportantRule
|
width: calc(100% - #{$name-width-minus}) !important; // stylelint-disable-line declaration-no-important
|
||||||
min-width: 128px;
|
min-width: 128px;
|
||||||
margin-left: $header-line-height - 2px;
|
margin-left: $header-line-height - 2px;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -592,8 +593,9 @@ $story-sp-input-width: 50px;
|
|||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: darken($highlight-border, 15%);
|
border-color: darken($highlight-border, 15%);
|
||||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075),
|
box-shadow:
|
||||||
0 0 5px rgba(darken($highlight-border, 15%), .5);
|
inset 0 1px 2px rgba(0, 0, 0, .075),
|
||||||
|
0 0 5px rgba(darken($highlight-border, 15%), .5);
|
||||||
color: $gray-950;
|
color: $gray-950;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -643,7 +645,7 @@ $story-sp-input-width: 50px;
|
|||||||
&.subject {
|
&.subject {
|
||||||
$subject-width-minus: $story-status-input-width + $story-sp-input-width + 5px * 2;
|
$subject-width-minus: $story-status-input-width + $story-sp-input-width + 5px * 2;
|
||||||
|
|
||||||
width: calc(100% - #{$subject-width-minus}) !important; // scss-lint:disable ImportantRule
|
width: calc(100% - #{$subject-width-minus}) !important; // stylelint-disable-line declaration-no-important
|
||||||
height: 60px;
|
height: 60px;
|
||||||
float: left;
|
float: left;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
@@ -755,9 +757,10 @@ $story-sp-input-width: 50px;
|
|||||||
@include button-size($input-padding-vertical, $input-padding-horizontal, $font-size-base, $line-height-base, $border-radius-base);
|
@include button-size($input-padding-vertical, $input-padding-horizontal, $font-size-base, $line-height-base, $border-radius-base);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
transition: background-color ease-in-out .07s,
|
transition:
|
||||||
border-color ease-in-out .07s,
|
background-color ease-in-out .07s,
|
||||||
box-shadow ease-in-out .07s;
|
border-color ease-in-out .07s,
|
||||||
|
box-shadow ease-in-out .07s;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
font-weight: $btn-font-weight;
|
font-weight: $btn-font-weight;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user