Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix stylelint deprecations and warnings#1347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
alinashklyar merged 21 commits intomasterfromfix-linter
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
21 commits
Select commitHold shift + click to select a range
1dde004
updated node version and other packages
alinashklyarJun 19, 2025
05fe09e
Update Dockerfile
alinashklyarJun 19, 2025
6001d3b
regenerated min css
alinashklyarJun 19, 2025
e0ff2f3
min css
alinashklyarJun 19, 2025
cf7766b
wip
alinashklyarJun 23, 2025
a08bd6e
removed console logs
alinashklyarJun 23, 2025
8d534c1
updated uglidy-js; minify argohub-redirect separately
alinashklyarJun 23, 2025
ec131e1
wip
alinashklyarJun 30, 2025
702cc06
wip
alinashklyarJun 30, 2025
5f3de26
updated .nvmrc, added prettier rules, updated package.lock
alinashklyarJun 30, 2025
efe7c1a
updated .nvmrc, added prettier rules, updated package.lock
alinashklyarJun 30, 2025
12e1054
fixed gitops layout
alinashklyarJun 30, 2025
afaf86a
fixed stylelint deprecation issues and warnings
alinashklyarJun 30, 2025
81e585f
wip
alinashklyarJun 30, 2025
d2070cf
pulled master and resolved conflicts
alinashklyarJun 30, 2025
9db3813
wip
alinashklyarJun 30, 2025
37020ba
returned @import and silenced deprecations
alinashklyarJul 1, 2025
b977bd1
remove import css comments
alinashklyarJul 2, 2025
400d1b8
removed accidental changes
alinashklyarJul 2, 2025
8975137
removed accidental changes
alinashklyarJul 2, 2025
59b340b
minified css
alinashklyarJul 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions.eslintrc.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -212,7 +212,7 @@

// ECMAScript 6
"arrow-body-style": ["error", "as-needed"],
"arrow-parens": "error",
"arrow-parens": "off",
"arrow-spacing": "error",
"generator-star-spacing": "error",
"no-confusing-arrow": "error",
Expand All@@ -234,6 +234,8 @@
"sort-imports": "error",
"symbol-description": "error",
"template-curly-spacing": "error",
"yield-star-spacing": "error"
"yield-star-spacing": "error",
"color-function-notation": "off",
"alpha-value-notation": "off"
}
}
20 changes: 1 addition & 19 deletions.stylelintrc
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,36 @@
{
"extends": ["stylelint-config-standard-scss"],
"plugins": ["stylelint-scss", "stylelint-order"],
"ignoreFiles": ["**/node_modules/**"],
"rules": {
"at-rule-empty-line-before": [null,
"except": ["first-nested"]
],
"at-rule-name-space-after": "always",
"at-rule-no-vendor-prefix": true,
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"at-rule-semicolon-space-before": "never",
"block-closing-brace-empty-line-before": null,
"block-closing-brace-newline-after": null,
"block-opening-brace-space-before": null,
"color-named": "never",
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-empty-line-before": null,
"declaration-no-important": null,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "numeric",
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"length-zero-no-unit": true,
"max-empty-lines": 2,
"max-line-length": null,
"media-feature-name-no-vendor-prefix": true,
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "never",
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"number-leading-zero": "never",
"property-no-vendor-prefix": true,
"rule-empty-line-before": null,
"selector-attribute-quotes": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never-single-line",
"selector-max-attribute": 2,
"selector-max-class": 7,
"selector-max-combinators": 7,
"selector-max-compound-selectors": 7,
"selector-max-empty-lines": 1,
"selector-max-id": 0,
"selector-max-specificity": null,
"selector-max-type": 4,
Expand All@@ -53,11 +39,7 @@
"ignore": [ "attribute", "class", "id" ]
}],
"selector-no-vendor-prefix": true,
"string-quotes": "double",
"value-keyword-case": "lower",
"value-list-comma-newline-after": "never-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always",
"value-no-vendor-prefix": true
}
}
4 changes: 2 additions & 2 deletions_includes/argohub-docs-navbar.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,15 +74,15 @@
onclick="window.CommandBar.openHelpHub(); setTimeout(() => {
document.querySelector('input[data-testid=helphub-input]').focus()
}, 100)"
class="helpbub-toggler helpbub-toggler--small order-2 order-md-2"
class="helpbub-toggler helpbub-toggler-small order-2 order-md-2"
aria-label="Search Codefresh Documentation"
type="button"
>
<div class="d-flex align-items-center">
<img src="{{site.baseurl}}/images/icons/search.png" />
<span class="ml-2">Search</span>
</div>
<span class="helpbub-toggler--hotkey">Ctrl / &#8984; + K</span>
<span class="helpbub-toggler-hotkey">Ctrl / &#8984; + K</span>
</button>
{% endif %}
</div>
Expand Down
4 changes: 2 additions & 2 deletions_includes/docs-navbar.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -134,15 +134,15 @@
onclick="window.CommandBar.openHelpHub(); setTimeout(() => {
document.querySelector('input[data-testid=helphub-input]').focus()
}, 100)"
class="helpbub-toggler helpbub-toggler--small order-2 order-md-2"
class="helpbub-toggler helpbub-toggler-small order-2 order-md-2"
aria-label="Search Codefresh Documentation"
type="button"
>
<div class="d-flex align-items-center">
<img src="{{site.baseurl}}/images/icons/search.png" />
<span class="ml-2">Search</span>
</div>
<span class="helpbub-toggler--hotkey">Ctrl / &#8984; + K</span>
<span class="helpbub-toggler-hotkey">Ctrl / &#8984; + K</span>
</button>
{% endif %}
</header>
4 changes: 2 additions & 2 deletions_includes/modal.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@
<div class="container-fluid">
<div class="row align-items-center">
<div class="col-sm-auto">
<div class="redirect-popup__info-icon">
<div class="redirect-popup-info-icon">
{% include icons/info-circle.svg class="bd-icon" %}
</div>
</div>
Expand All@@ -22,7 +22,7 @@

<button
type="button"
class="close redirect-popup__close"
class="close redirect-popup-close"
data-dismiss="modal"
aria-label="Close"
>
Expand Down
4 changes: 2 additions & 2 deletionsassets/css/docs.min.css
View file
Open in desktop

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletionassets/css/docs.min.css.map
View file
Open in desktop

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletionsassets/js/argohub-redirect/argohub-redirect.min.js
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

4 changes: 1 addition & 3 deletionsassets/scss/_ads.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
// stylelint-disable declaration-no-important, selector-max-id

//
// Carbon ads
//

#carbonads {
position: static;
Expand All@@ -14,7 +12,7 @@
font-size: 13px;
line-height: 1.4;
text-align: left;
background-color: rgba(0, 0, 0, .05);
background-color: rgba(0 0 0 / 5%);

a {
color: #333;
Expand Down
42 changes: 20 additions & 22 deletionsassets/scss/_algolia.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
// stylelint-disable declaration-no-important

// Docsearch overrides
//

// `!important` indicates overridden properties.

.bd-search--home {
.bd-search-home {
padding: 0;

.doc-search-input {
Expand DownExpand Up@@ -35,8 +35,8 @@
padding: .75rem 0 !important;
background-color: #fff;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, .1);
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175);
border: 1px solid rgba(0 0 0 / 10%);
box-shadow: 0 .5rem 1rem rgba(0 0 0 /175%);

@include media-breakpoint-up(md) {
width: 175%;
Expand DownExpand Up@@ -64,7 +64,7 @@
overflow: visible !important;
}

.algolia-docsearch-suggestion--category-header {
.algolia-docsearch-suggestion-category-header {
padding: .125rem 1rem !important;
margin-top: 0 !important;
font-size: .875rem !important;
Expand All@@ -73,20 +73,20 @@
border-bottom: 0 !important;
}

.algolia-docsearch-suggestion--wrapper {
.algolia-docsearch-suggestion-wrapper {
float: none !important;
padding-top: 0 !important;
}

// Section header
.algolia-docsearch-suggestion--subcategory-column {
.algolia-docsearch-suggestion-subcategory-column {
float: none !important;
width: auto !important;
padding: 0 !important;
text-align: left !important;
}

.algolia-docsearch-suggestion--content {
.algolia-docsearch-suggestion-content {
float: none !important;
width: auto !important;
padding: 0 !important;
Expand All@@ -99,27 +99,27 @@

.ds-suggestion {
&:not(:first-child) {
.algolia-docsearch-suggestion--category-header {
.algolia-docsearch-suggestion-category-header {
padding-top: .75rem !important;
margin-top: .75rem !important;
border-top: 1px solid rgba(0, 0, 0, .1);
border-top: 1px solid rgba(0 0 0 / 10%);
}
}

.algolia-docsearch-suggestion--subcategory-column {
.algolia-docsearch-suggestion-subcategory-column {
display: none !important;
}
}

.algolia-docsearch-suggestion--title {
.algolia-docsearch-suggestion-title {
display: block;
padding: .25rem 1rem !important;
margin-bottom: 0 !important;
font-size: .875rem !important;
font-weight: 400 !important;
}

.algolia-docsearch-suggestion--text {
.algolia-docsearch-suggestion-text {
padding: 0 1rem .5rem !important;
margin-top: -.25rem;
font-size: .875rem !important;
Expand All@@ -135,28 +135,26 @@
font-size: 0 !important;
line-height: 1 !important;
color: #767676 !important;
border-top: 1px solid rgba(0, 0, 0, .1);
border-top: 1px solid rgba(0 0 0 / 10%);
}

.algolia-docsearch-footer--logo {
.algolia-docsearch-footer-logo {
display: inline-block !important;
width: 100px;
//overflow: visible !important;
color: inherit !important;
text-indent: 0 !important;
//background: none !important;
}

.algolia-docsearch-suggestion--highlight {
.algolia-docsearch-suggestion-highlight {
color: $bd-topaz-main;
background-color: rgba(20, 187, 79, .12);
background-color: rgba(20 187 79 / 12%);
}

.algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight {
.algolia-docsearch-suggestion-text .algolia-docsearch-suggestion-highlight {
box-shadow: inset 0 -2px 0 0 rgba($bd-topaz-extra-light, .99) !important;
}

.ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content {
background-color: rgba(52, 236, 61, .12) !important;
.ds-suggestion.ds-cursor .algolia-docsearch-suggestion-content {
background-color: rgba(52 236 61 / 12%) !important;
}
}
11 changes: 4 additions & 7 deletionsassets/scss/_brand.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
// stylelint-disable no-duplicate-selectors

//

// Brand guidelines
//


// Logo series wrapper
.bd-brand-logos {
Expand DownExpand Up@@ -55,7 +55,7 @@
// background-color: #d9534f;
// }

@media (min-width: 768px) {
@media (width >= 768px) {
.bd-brand-item {
display: table-cell;
width: 1%;
Expand All@@ -70,10 +70,7 @@
}


//
// Color swatches
//

.color-swatches {
margin: 0 -5px;
overflow: hidden; // clearfix
Expand All@@ -87,7 +84,7 @@
margin-left: .25rem;
border-radius: .25rem;

@media (min-width: 768px) {
@media (width >= 768px) {
width: 6rem;
height: 6rem;
}
Expand Down
2 changes: 1 addition & 1 deletionassets/scss/_browser-bugs.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
// Wall of Browser Bugs
//

// Better display for the responsive table on the Wall of Browser Bugs.

.bd-browser-bugs {
Expand Down
8 changes: 5 additions & 3 deletionsassets/scss/_buttons.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
@use "sass:color";

// Buttons
//

// Custom buttons for the docs.

.btn-link {
Expand DownExpand Up@@ -47,7 +49,7 @@
&:hover,
&:active {
color: $bd-white;
background-color:lighten($btn-get-started, 15%);
background-color:color.adjust($btn-get-started, $lightness: 15%);
}
}

Expand All@@ -58,6 +60,6 @@
&:hover,
&:active {
color: $bd-white;
background-color:lighten($btn-get-started, 15%);
background-color:color.adjust($btn-get-started, $lightness: 15%);
}
}
10 changes: 5 additions & 5 deletionsassets/scss/_callouts.scss
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
//
@use "sass:color";

// Callouts
//

$backgroundTransparentFilterValue: .85;
$background-transparent-filter-value: .85;

blockquote,
.blockquote,
Expand All@@ -11,7 +11,7 @@ blockquote,
padding: 1.5rem;
margin: 1.5rem 0;
font-size: 1rem;
background:transparentize($bd-info, $backgroundTransparentFilterValue);
background:color.adjust($bd-info, $alpha: - $background-transparent-filter-value);


&::before {
Expand DownExpand Up@@ -52,7 +52,7 @@ blockquote,

// Variations
@mixin bs-callout-variant($color) {
background:transparentize($color, $backgroundTransparentFilterValue);
background:color.adjust($color, $alpha: - $background-transparent-filter-value);

&::before {
background-color: $color;
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp