@docusaurus/theme-classic 0.0.0-4463 → 0.0.0-4465

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@
21
21
  transform: scale(0);
22
22
  }
23
23
 
24
- .backToTopButton:after {
24
+ .backToTopButton::after {
25
25
  content: ' ';
26
26
  display: inline-block;
27
27
  mask: var(--ifm-menu-link-sublist-icon) 50% / 2rem 2rem no-repeat;
@@ -12,8 +12,7 @@
12
12
 
13
13
  .imageOnlyAuthorRow {
14
14
  display: flex;
15
- flex-direction: row;
16
- flex-wrap: wrap;
15
+ flex-flow: row wrap;
17
16
  }
18
17
 
19
18
  .imageOnlyAuthorCol {
@@ -30,9 +30,11 @@
30
30
  .sidebarItemLink {
31
31
  color: var(--ifm-font-color-base);
32
32
  }
33
+
33
34
  .sidebarItemLink:hover {
34
35
  text-decoration: none;
35
36
  }
37
+
36
38
  .sidebarItemLinkActive {
37
39
  color: var(--ifm-color-primary) !important;
38
40
  }
@@ -13,7 +13,7 @@
13
13
 
14
14
  .codeBlockContent {
15
15
  position: relative;
16
- /*rtl:ignore*/
16
+ /* rtl:ignore */
17
17
  direction: ltr;
18
18
  }
19
19
 
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .copyButton {
46
- background: rgba(0, 0, 0, 0.3);
46
+ background: rgb(0 0 0 / 30%);
47
47
  border-radius: var(--ifm-global-radius);
48
48
  color: var(--ifm-color-white);
49
49
  opacity: 0;
@@ -63,7 +63,7 @@
63
63
 
64
64
  .codeBlockLines {
65
65
  font: inherit;
66
- /*rtl:ignore*/
66
+ /* rtl:ignore */
67
67
  float: left;
68
68
  min-width: 100%;
69
69
  padding: var(--ifm-pre-padding);
@@ -7,14 +7,13 @@
7
7
 
8
8
  .cardContainer {
9
9
  height: 8rem;
10
-
11
10
  color: var(--ifm-color-emphasis-800);
12
11
  --ifm-link-color: var(--ifm-color-emphasis-800);
13
12
  --ifm-link-hover-color: var(--ifm-color-emphasis-800);
14
13
  --ifm-link-hover-decoration: none;
15
14
 
16
15
  /* box-shadow: var(--ifm-global-shadow-lw); */
17
- box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.15);
16
+ box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 15%);
18
17
  border: 1px solid var(--ifm-color-emphasis-200);
19
18
  transition: box-shadow var(--ifm-transition-fast) ease,
20
19
  background-color var(--ifm-transition-fast) ease;
@@ -22,8 +21,9 @@
22
21
 
23
22
  .cardContainer.cardContainerLink:hover {
24
23
  /* box-shadow: var(--ifm-global-shadow-md); */
25
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
24
+ box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
26
25
  }
26
+
27
27
  html[data-theme='dark'] .cardContainer.cardContainerLink:hover {
28
28
  --ifm-card-background-color: #2d2d2d; /* original, non-hovered color is #242526 */
29
29
  }
@@ -68,6 +68,7 @@
68
68
  .expandSidebarButtonIcon {
69
69
  transform: rotate(0);
70
70
  }
71
+
71
72
  html[dir='rtl'] .expandSidebarButtonIcon {
72
73
  transform: rotate(180deg);
73
74
  }
@@ -71,6 +71,7 @@
71
71
  transform: rotate(180deg);
72
72
  margin-top: 4px;
73
73
  }
74
+
74
75
  html[dir='rtl'] .collapseSidebarButtonIcon {
75
76
  transform: rotate(0);
76
77
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -12,7 +12,7 @@
12
12
  user-select: none;
13
13
  }
14
14
 
15
- .hash-link:before {
15
+ .hash-link::before {
16
16
  content: '#';
17
17
  }
18
18
 
@@ -20,7 +20,7 @@
20
20
  width: 100%;
21
21
  }
22
22
 
23
- .tocCollapsibleButton:after {
23
+ .tocCollapsibleButton::after {
24
24
  content: '';
25
25
  background: var(--ifm-menu-link-sublist-icon) 50% 50% / 2rem 2rem no-repeat;
26
26
  filter: var(--ifm-menu-link-sublist-icon-filter);
@@ -45,6 +45,6 @@
45
45
  display: block;
46
46
  }
47
47
 
48
- .tocCollapsibleExpanded .tocCollapsibleButton:after {
48
+ .tocCollapsibleExpanded .tocCollapsibleButton::after {
49
49
  transform: none;
50
50
  }
@@ -33,8 +33,8 @@
33
33
  border-left: 0;
34
34
  }
35
35
 
36
- .tagWithCount:before,
37
- .tagWithCount:after {
36
+ .tagWithCount::before,
37
+ .tagWithCount::after {
38
38
  content: '';
39
39
  position: absolute;
40
40
  top: 50%;
@@ -42,7 +42,7 @@
42
42
  transition: inherit;
43
43
  }
44
44
 
45
- .tagWithCount:before {
45
+ .tagWithCount::before {
46
46
  right: 100%;
47
47
  transform: translate(50%, -50%) rotate(-45deg);
48
48
  width: 1.18rem;
@@ -51,7 +51,7 @@
51
51
  border-bottom: 0;
52
52
  }
53
53
 
54
- .tagWithCount:after {
54
+ .tagWithCount::after {
55
55
  left: 0;
56
56
  transform: translateY(-50%);
57
57
  width: 0.5rem;
@@ -39,8 +39,8 @@
39
39
  position: absolute;
40
40
  width: 14px;
41
41
  height: 10px;
42
- top: 0px;
43
- bottom: 0px;
42
+ top: 0;
43
+ bottom: 0;
44
44
  margin: auto 0;
45
45
  left: 8px;
46
46
  opacity: 0;
@@ -57,8 +57,8 @@
57
57
  position: absolute;
58
58
  width: 10px;
59
59
  height: 10px;
60
- top: 0px;
61
- bottom: 0px;
60
+ top: 0;
61
+ bottom: 0;
62
62
  margin: auto 0;
63
63
  right: 10px;
64
64
  opacity: 1;
@@ -84,7 +84,7 @@
84
84
 
85
85
  .toggleFocused .toggleTrackThumb,
86
86
  .toggle:hover .toggleTrackThumb {
87
- box-shadow: 0px 0px 2px 3px var(--ifm-color-primary);
87
+ box-shadow: 0 0 2px 3px var(--ifm-color-primary);
88
88
  }
89
89
 
90
90
  /* stylelint-disable-next-line no-descending-specificity */
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  .toggle:active:not(.toggleDisabled) .toggleTrackThumb {
97
- box-shadow: 0px 0px 5px 5px var(--ifm-color-primary);
97
+ box-shadow: 0 0 5px 5px var(--ifm-color-primary);
98
98
  }
99
99
 
100
100
  .toggleIcon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-classic",
3
- "version": "0.0.0-4463",
3
+ "version": "0.0.0-4465",
4
4
  "description": "Classic theme for Docusaurus",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/theme-classic.d.ts",
@@ -23,14 +23,14 @@
23
23
  "update-code-translations": "node -e 'require(\"./update-code-translations.js\").run()'"
24
24
  },
25
25
  "dependencies": {
26
- "@docusaurus/core": "0.0.0-4463",
27
- "@docusaurus/plugin-content-blog": "0.0.0-4463",
28
- "@docusaurus/plugin-content-docs": "0.0.0-4463",
29
- "@docusaurus/plugin-content-pages": "0.0.0-4463",
30
- "@docusaurus/theme-common": "0.0.0-4463",
31
- "@docusaurus/theme-translations": "0.0.0-4463",
32
- "@docusaurus/utils": "0.0.0-4463",
33
- "@docusaurus/utils-validation": "0.0.0-4463",
26
+ "@docusaurus/core": "0.0.0-4465",
27
+ "@docusaurus/plugin-content-blog": "0.0.0-4465",
28
+ "@docusaurus/plugin-content-docs": "0.0.0-4465",
29
+ "@docusaurus/plugin-content-pages": "0.0.0-4465",
30
+ "@docusaurus/theme-common": "0.0.0-4465",
31
+ "@docusaurus/theme-translations": "0.0.0-4465",
32
+ "@docusaurus/utils": "0.0.0-4465",
33
+ "@docusaurus/utils-validation": "0.0.0-4465",
34
34
  "@mdx-js/react": "^1.6.21",
35
35
  "clsx": "^1.1.1",
36
36
  "copy-text-to-clipboard": "^3.0.1",
@@ -43,8 +43,8 @@
43
43
  "rtlcss": "^3.3.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@docusaurus/module-type-aliases": "0.0.0-4463",
47
- "@docusaurus/types": "0.0.0-4463",
46
+ "@docusaurus/module-type-aliases": "0.0.0-4465",
47
+ "@docusaurus/types": "0.0.0-4465",
48
48
  "@types/mdx-js__react": "^1.5.4",
49
49
  "@types/parse-numeric-range": "^0.0.1",
50
50
  "@types/rtlcss": "^3.1.1",
@@ -59,5 +59,5 @@
59
59
  "engines": {
60
60
  "node": ">=14"
61
61
  },
62
- "gitHead": "bb38179c9797527fa1877c8aa20a10a42c7900ad"
62
+ "gitHead": "1bbf0f9d51d029322461a5231894c069bf7264a1"
63
63
  }
@@ -21,7 +21,7 @@
21
21
  transform: scale(0);
22
22
  }
23
23
 
24
- .backToTopButton:after {
24
+ .backToTopButton::after {
25
25
  content: ' ';
26
26
  display: inline-block;
27
27
  mask: var(--ifm-menu-link-sublist-icon) 50% / 2rem 2rem no-repeat;
@@ -12,8 +12,7 @@
12
12
 
13
13
  .imageOnlyAuthorRow {
14
14
  display: flex;
15
- flex-direction: row;
16
- flex-wrap: wrap;
15
+ flex-flow: row wrap;
17
16
  }
18
17
 
19
18
  .imageOnlyAuthorCol {
@@ -30,9 +30,11 @@
30
30
  .sidebarItemLink {
31
31
  color: var(--ifm-font-color-base);
32
32
  }
33
+
33
34
  .sidebarItemLink:hover {
34
35
  text-decoration: none;
35
36
  }
37
+
36
38
  .sidebarItemLinkActive {
37
39
  color: var(--ifm-color-primary) !important;
38
40
  }
@@ -13,7 +13,7 @@
13
13
 
14
14
  .codeBlockContent {
15
15
  position: relative;
16
- /*rtl:ignore*/
16
+ /* rtl:ignore */
17
17
  direction: ltr;
18
18
  }
19
19
 
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  .copyButton {
46
- background: rgba(0, 0, 0, 0.3);
46
+ background: rgb(0 0 0 / 30%);
47
47
  border-radius: var(--ifm-global-radius);
48
48
  color: var(--ifm-color-white);
49
49
  opacity: 0;
@@ -63,7 +63,7 @@
63
63
 
64
64
  .codeBlockLines {
65
65
  font: inherit;
66
- /*rtl:ignore*/
66
+ /* rtl:ignore */
67
67
  float: left;
68
68
  min-width: 100%;
69
69
  padding: var(--ifm-pre-padding);
@@ -7,14 +7,13 @@
7
7
 
8
8
  .cardContainer {
9
9
  height: 8rem;
10
-
11
10
  color: var(--ifm-color-emphasis-800);
12
11
  --ifm-link-color: var(--ifm-color-emphasis-800);
13
12
  --ifm-link-hover-color: var(--ifm-color-emphasis-800);
14
13
  --ifm-link-hover-decoration: none;
15
14
 
16
15
  /* box-shadow: var(--ifm-global-shadow-lw); */
17
- box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.15);
16
+ box-shadow: 0 1.5px 3px 0 rgb(0 0 0 / 15%);
18
17
  border: 1px solid var(--ifm-color-emphasis-200);
19
18
  transition: box-shadow var(--ifm-transition-fast) ease,
20
19
  background-color var(--ifm-transition-fast) ease;
@@ -22,8 +21,9 @@
22
21
 
23
22
  .cardContainer.cardContainerLink:hover {
24
23
  /* box-shadow: var(--ifm-global-shadow-md); */
25
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
24
+ box-shadow: 0 4px 8px 0 rgb(0 0 0 / 20%);
26
25
  }
26
+
27
27
  html[data-theme='dark'] .cardContainer.cardContainerLink:hover {
28
28
  --ifm-card-background-color: #2d2d2d; /* original, non-hovered color is #242526 */
29
29
  }
@@ -68,6 +68,7 @@
68
68
  .expandSidebarButtonIcon {
69
69
  transform: rotate(0);
70
70
  }
71
+
71
72
  html[dir='rtl'] .expandSidebarButtonIcon {
72
73
  transform: rotate(180deg);
73
74
  }
@@ -71,6 +71,7 @@
71
71
  transform: rotate(180deg);
72
72
  margin-top: 4px;
73
73
  }
74
+
74
75
  html[dir='rtl'] .collapseSidebarButtonIcon {
75
76
  transform: rotate(0);
76
77
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -9,6 +9,7 @@
9
9
  .menuLinkText {
10
10
  cursor: initial;
11
11
  }
12
+
12
13
  .menuLinkText:hover {
13
14
  background: none;
14
15
  }
@@ -12,7 +12,7 @@
12
12
  user-select: none;
13
13
  }
14
14
 
15
- .hash-link:before {
15
+ .hash-link::before {
16
16
  content: '#';
17
17
  }
18
18
 
@@ -20,7 +20,7 @@
20
20
  width: 100%;
21
21
  }
22
22
 
23
- .tocCollapsibleButton:after {
23
+ .tocCollapsibleButton::after {
24
24
  content: '';
25
25
  background: var(--ifm-menu-link-sublist-icon) 50% 50% / 2rem 2rem no-repeat;
26
26
  filter: var(--ifm-menu-link-sublist-icon-filter);
@@ -45,6 +45,6 @@
45
45
  display: block;
46
46
  }
47
47
 
48
- .tocCollapsibleExpanded .tocCollapsibleButton:after {
48
+ .tocCollapsibleExpanded .tocCollapsibleButton::after {
49
49
  transform: none;
50
50
  }
@@ -33,8 +33,8 @@
33
33
  border-left: 0;
34
34
  }
35
35
 
36
- .tagWithCount:before,
37
- .tagWithCount:after {
36
+ .tagWithCount::before,
37
+ .tagWithCount::after {
38
38
  content: '';
39
39
  position: absolute;
40
40
  top: 50%;
@@ -42,7 +42,7 @@
42
42
  transition: inherit;
43
43
  }
44
44
 
45
- .tagWithCount:before {
45
+ .tagWithCount::before {
46
46
  right: 100%;
47
47
  transform: translate(50%, -50%) rotate(-45deg);
48
48
  width: 1.18rem;
@@ -51,7 +51,7 @@
51
51
  border-bottom: 0;
52
52
  }
53
53
 
54
- .tagWithCount:after {
54
+ .tagWithCount::after {
55
55
  left: 0;
56
56
  transform: translateY(-50%);
57
57
  width: 0.5rem;
@@ -39,8 +39,8 @@
39
39
  position: absolute;
40
40
  width: 14px;
41
41
  height: 10px;
42
- top: 0px;
43
- bottom: 0px;
42
+ top: 0;
43
+ bottom: 0;
44
44
  margin: auto 0;
45
45
  left: 8px;
46
46
  opacity: 0;
@@ -57,8 +57,8 @@
57
57
  position: absolute;
58
58
  width: 10px;
59
59
  height: 10px;
60
- top: 0px;
61
- bottom: 0px;
60
+ top: 0;
61
+ bottom: 0;
62
62
  margin: auto 0;
63
63
  right: 10px;
64
64
  opacity: 1;
@@ -84,7 +84,7 @@
84
84
 
85
85
  .toggleFocused .toggleTrackThumb,
86
86
  .toggle:hover .toggleTrackThumb {
87
- box-shadow: 0px 0px 2px 3px var(--ifm-color-primary);
87
+ box-shadow: 0 0 2px 3px var(--ifm-color-primary);
88
88
  }
89
89
 
90
90
  /* stylelint-disable-next-line no-descending-specificity */
@@ -94,7 +94,7 @@
94
94
  }
95
95
 
96
96
  .toggle:active:not(.toggleDisabled) .toggleTrackThumb {
97
- box-shadow: 0px 0px 5px 5px var(--ifm-color-primary);
97
+ box-shadow: 0 0 5px 5px var(--ifm-color-primary);
98
98
  }
99
99
 
100
100
  .toggleIcon {