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

Commitafaf86a

Browse files
committed
fixed stylelint deprecation issues and warnings
1 parent12e1054 commitafaf86a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+476
-450
lines changed

‎.eslintrc.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@
234234
"sort-imports":"error",
235235
"symbol-description":"error",
236236
"template-curly-spacing":"error",
237-
"yield-star-spacing":"error"
237+
"yield-star-spacing":"error",
238+
"color-function-notation":null,
239+
"alpha-value-notation":null
238240
}
239241
}

‎.stylelintrc‎

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,36 @@
11
{
22
"extends": ["stylelint-config-standard-scss"],
33
"plugins": ["stylelint-scss", "stylelint-order"],
4+
"ignoreFiles": ["**/node_modules/**"],
45
"rules": {
56
"at-rule-empty-line-before": [null,
67
"except": ["first-nested"]
78
],
8-
"at-rule-name-space-after": "always",
99
"at-rule-no-vendor-prefix": true,
1010
"at-rule-no-unknown": null,
1111
"scss/at-rule-no-unknown": true,
12-
"at-rule-semicolon-space-before": "never",
1312
"block-closing-brace-empty-line-before": null,
1413
"block-closing-brace-newline-after": null,
1514
"block-opening-brace-space-before": null,
1615
"color-named": "never",
17-
"declaration-block-semicolon-newline-after": "always-multi-line",
18-
"declaration-block-semicolon-newline-before": "never-multi-line",
19-
"declaration-block-semicolon-space-after": "always-single-line",
2016
"declaration-empty-line-before": null,
2117
"declaration-no-important": null,
2218
"font-family-name-quotes": "always-where-recommended",
2319
"font-weight-notation": "numeric",
2420
"function-url-no-scheme-relative": true,
2521
"function-url-quotes": "always",
2622
"length-zero-no-unit": true,
27-
"max-empty-lines": 2,
2823
"max-line-length": null,
2924
"media-feature-name-no-vendor-prefix": true,
30-
"media-feature-parentheses-space-inside": "never",
31-
"media-feature-range-operator-space-after": "always",
32-
"media-feature-range-operator-space-before": "never",
3325
"no-descending-specificity": null,
3426
"no-duplicate-selectors": true,
35-
"number-leading-zero": "never",
3627
"property-no-vendor-prefix": true,
3728
"rule-empty-line-before": null,
3829
"selector-attribute-quotes": "always",
39-
"selector-list-comma-newline-after": "always",
40-
"selector-list-comma-newline-before": "never-multi-line",
41-
"selector-list-comma-space-after": "always-single-line",
42-
"selector-list-comma-space-before": "never-single-line",
4330
"selector-max-attribute": 2,
4431
"selector-max-class": 7,
4532
"selector-max-combinators": 7,
4633
"selector-max-compound-selectors": 7,
47-
"selector-max-empty-lines": 1,
4834
"selector-max-id": 0,
4935
"selector-max-specificity": null,
5036
"selector-max-type": 4,
@@ -53,11 +39,7 @@
5339
"ignore": [ "attribute", "class", "id" ]
5440
}],
5541
"selector-no-vendor-prefix": true,
56-
"string-quotes": "double",
5742
"value-keyword-case": "lower",
58-
"value-list-comma-newline-after": "never-multi-line",
59-
"value-list-comma-newline-before": "never-multi-line",
60-
"value-list-comma-space-after": "always",
6143
"value-no-vendor-prefix": true
6244
}
6345
}

‎_includes/argohub-docs-navbar.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@
7474
onclick="window.CommandBar.openHelpHub(); setTimeout(() => {
7575
document.querySelector('input[data-testid=helphub-input]').focus()
7676
}, 100)"
77-
class="helpbub-toggler helpbub-toggler--small order-2 order-md-2"
77+
class="helpbub-toggler helpbub-toggler-small order-2 order-md-2"
7878
aria-label="Search Codefresh Documentation"
7979
type="button"
8080
>
8181
<divclass="d-flex align-items-center">
8282
<imgsrc="{{site.baseurl}}/images/icons/search.png"/>
8383
<spanclass="ml-2">Search</span>
8484
</div>
85-
<spanclass="helpbub-toggler--hotkey">Ctrl / &#8984; + K</span>
85+
<spanclass="helpbub-toggler-hotkey">Ctrl / &#8984; + K</span>
8686
</button>
8787
{% endif %}
8888
</div>

‎_includes/docs-navbar.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,15 +134,15 @@
134134
onclick="window.CommandBar.openHelpHub(); setTimeout(() => {
135135
document.querySelector('input[data-testid=helphub-input]').focus()
136136
}, 100)"
137-
class="helpbub-toggler helpbub-toggler--small order-2 order-md-2"
137+
class="helpbub-toggler helpbub-toggler-small order-2 order-md-2"
138138
aria-label="Search Codefresh Documentation"
139139
type="button"
140140
>
141141
<divclass="d-flex align-items-center">
142142
<imgsrc="{{site.baseurl}}/images/icons/search.png"/>
143143
<spanclass="ml-2">Search</span>
144144
</div>
145-
<spanclass="helpbub-toggler--hotkey">Ctrl / &#8984; + K</span>
145+
<spanclass="helpbub-toggler-hotkey">Ctrl / &#8984; + K</span>
146146
</button>
147147
{% endif %}
148148
</header>

‎_includes/modal.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<divclass="container-fluid">
1212
<divclass="row align-items-center">
1313
<divclass="col-sm-auto">
14-
<divclass="redirect-popup__info-icon">
14+
<divclass="redirect-popup-info-icon">
1515
{% include icons/info-circle.svg class="bd-icon" %}
1616
</div>
1717
</div>
@@ -22,7 +22,7 @@
2222

2323
<button
2424
type="button"
25-
class="close redirect-popup__close"
25+
class="close redirect-popup-close"
2626
data-dismiss="modal"
2727
aria-label="Close"
2828
>

‎assets/css/docs.min.css‎

Lines changed: 43 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎assets/css/docs.min.css.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎assets/scss/_ads.scss‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
@use"bootstrap/scss/bootstrap"asbootstrap;
2+
13
// stylelint-disable declaration-no-important, selector-max-id
24

3-
//
45
// Carbon ads
5-
//
66

77
#carbonads {
88
position:static;
@@ -14,14 +14,14 @@
1414
font-size:13px;
1515
line-height:1.4;
1616
text-align:left;
17-
background-color:rgba(0,0,0,.05);
17+
background-color:rgba(00.05);
1818

1919
a {
2020
color:#333;
2121
text-decoration:none;
2222
}
2323

24-
@includemedia-breakpoint-up(sm) {
24+
@includebootstrap.media-breakpoint-up(sm) {
2525
max-width:330px;
2626
border-radius:4px;
2727
}

‎assets/scss/_algolia.scss‎

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
@use"variables";
2+
@use"bootstrap/scss/bootstrap"asbootstrap;
3+
14
// stylelint-disable declaration-no-important
25

36
// Docsearch overrides
4-
//
7+
58
// `!important` indicates overridden properties.
69

7-
.bd-search--home {
10+
.bd-search-home {
811
padding:0;
912

1013
.doc-search-input {
@@ -15,7 +18,7 @@
1518
svg {
1619
position:absolute;
1720
right:1.5rem;
18-
color:$cf-dark-alt;
21+
color:variables.$cf-dark-alt;
1922
}
2023

2124
.algolia-autocomplete.ds-dropdown-menu {
@@ -35,10 +38,10 @@
3538
padding:.75rem0!important;
3639
background-color:#fff;
3740
background-clip:padding-box;
38-
border:1pxsolidrgba(0,0,0,.1);
39-
box-shadow:0.5rem1remrgba(0,0,0,.175);
41+
border:1pxsolidrgba(000/10%);
42+
box-shadow:0.5rem1remrgba(000/175%);
4043

41-
@includemedia-breakpoint-up(md) {
44+
@includebootstrap.media-breakpoint-up(md) {
4245
width:175%;
4346
}
4447

@@ -64,29 +67,29 @@
6467
overflow:visible!important;
6568
}
6669

67-
.algolia-docsearch-suggestion--category-header {
70+
.algolia-docsearch-suggestion-category-header {
6871
padding:.125rem1rem!important;
6972
margin-top:0!important;
7073
font-size:.875rem!important;
7174
font-weight:500!important;
72-
color:$bd-topaz-dark!important;
75+
color:variables.$bd-topaz-dark!important;
7376
border-bottom:0!important;
7477
}
7578

76-
.algolia-docsearch-suggestion--wrapper {
79+
.algolia-docsearch-suggestion-wrapper {
7780
float:none!important;
7881
padding-top:0!important;
7982
}
8083

8184
// Section header
82-
.algolia-docsearch-suggestion--subcategory-column {
85+
.algolia-docsearch-suggestion-subcategory-column {
8386
float:none!important;
8487
width:auto!important;
8588
padding:0!important;
8689
text-align:left!important;
8790
}
8891

89-
.algolia-docsearch-suggestion--content {
92+
.algolia-docsearch-suggestion-content {
9093
float:none!important;
9194
width:auto!important;
9295
padding:0!important;
@@ -99,27 +102,27 @@
99102

100103
.ds-suggestion {
101104
&:not(:first-child) {
102-
.algolia-docsearch-suggestion--category-header {
105+
.algolia-docsearch-suggestion-category-header {
103106
padding-top:.75rem!important;
104107
margin-top:.75rem!important;
105-
border-top:1pxsolidrgba(0,0,0,.1);
108+
border-top:1pxsolidrgba(000/10%);
106109
}
107110
}
108111

109-
.algolia-docsearch-suggestion--subcategory-column {
112+
.algolia-docsearch-suggestion-subcategory-column {
110113
display:none!important;
111114
}
112115
}
113116

114-
.algolia-docsearch-suggestion--title {
117+
.algolia-docsearch-suggestion-title {
115118
display:block;
116119
padding:.25rem1rem!important;
117120
margin-bottom:0!important;
118121
font-size:.875rem!important;
119122
font-weight:400!important;
120123
}
121124

122-
.algolia-docsearch-suggestion--text {
125+
.algolia-docsearch-suggestion-text {
123126
padding:01rem.5rem!important;
124127
margin-top:-.25rem;
125128
font-size:.875rem!important;
@@ -135,28 +138,26 @@
135138
font-size:0!important;
136139
line-height:1!important;
137140
color:#767676!important;
138-
border-top:1pxsolidrgba(0,0,0,.1);
141+
border-top:1pxsolidrgba(000/10%);
139142
}
140143

141-
.algolia-docsearch-footer--logo {
144+
.algolia-docsearch-footer-logo {
142145
display:inline-block!important;
143146
width:100px;
144-
//overflow: visible !important;
145147
color:inherit!important;
146148
text-indent:0!important;
147-
//background: none !important;
148149
}
149150

150-
.algolia-docsearch-suggestion--highlight {
151-
color:$bd-topaz-main;
152-
background-color:rgba(20,187,79,.12);
151+
.algolia-docsearch-suggestion-highlight {
152+
color:variables.$bd-topaz-main;
153+
background-color:rgba(2018779/12%);
153154
}
154155

155-
.algolia-docsearch-suggestion--text.algolia-docsearch-suggestion--highlight {
156-
box-shadow:inset0-2px00rgba($bd-topaz-extra-light,.99)!important;
156+
.algolia-docsearch-suggestion-text.algolia-docsearch-suggestion-highlight {
157+
box-shadow:inset0-2px00rgba(variables.$bd-topaz-extra-light,.99)!important;
157158
}
158159

159-
.ds-suggestion.ds-cursor.algolia-docsearch-suggestion--content {
160-
background-color:rgba(52,236,61,.12)!important;
160+
.ds-suggestion.ds-cursor.algolia-docsearch-suggestion-content {
161+
background-color:rgba(5223661/12%)!important;
161162
}
162163
}

‎assets/scss/_anchor.scss‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
@use"variables";
2+
13
.anchorjs-link {
24
font-weight:400;
3-
color:rgba($bd-link-color,.5);
5+
color:rgba(variables.$bd-link-color,.5);
46
transition:color.16slinear;
57

68
&:hover {
7-
color:$bd-link-hover-color;
9+
color:variables.$bd-link-hover-color;
810
text-decoration:none;
911
}
1012
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp