@classicy/appearance-platinum 0.0.0 → 3.1.0

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.
Files changed (206) hide show
  1. package/LICENSE +24 -0
  2. package/README.md +115 -2
  3. package/dist/appearance-platinum.es.js +5270 -0
  4. package/dist/appearance-platinum.es.js.map +1 -0
  5. package/dist/appearance-platinum.umd.js +208 -0
  6. package/dist/appearance-platinum.umd.js.map +1 -0
  7. package/dist/assets/AppleGaramond-300-italic.woff2 +0 -0
  8. package/dist/assets/AppleGaramond-300-normal.woff2 +0 -0
  9. package/dist/assets/AppleGaramond-bold-italic.woff2 +0 -0
  10. package/dist/assets/AppleGaramond-bold-normal.woff2 +0 -0
  11. package/dist/assets/AppleGaramond-normal-italic.woff2 +0 -0
  12. package/dist/assets/AppleGaramond-normal-normal.woff2 +0 -0
  13. package/dist/assets/Charcoal-normal-normal.woff2 +0 -0
  14. package/dist/assets/ChicagoFLF-normal-normal.woff2 +0 -0
  15. package/dist/assets/Geneva-bold-normal.woff2 +0 -0
  16. package/dist/assets/Geneva-normal-italic.woff2 +0 -0
  17. package/dist/assets/Geneva-normal-normal.woff2 +0 -0
  18. package/dist/assets/Monaco-normal-normal.woff2 +0 -0
  19. package/dist/assets/VCROSDMono-normal-normal.woff2 +0 -0
  20. package/dist/assets/alias.png +0 -0
  21. package/dist/assets/apple.png +0 -0
  22. package/dist/assets/azul_dark.png +0 -0
  23. package/dist/assets/azul_extra_light.png +0 -0
  24. package/dist/assets/azul_light.png +0 -0
  25. package/dist/assets/bondi.png +0 -0
  26. package/dist/assets/bondi_dark.png +0 -0
  27. package/dist/assets/bondi_extra_dark.png +0 -0
  28. package/dist/assets/bondi_light.png +0 -0
  29. package/dist/assets/bondi_medium.png +0 -0
  30. package/dist/assets/bossanova_bondi.png +0 -0
  31. package/dist/assets/bossanova_poppy.png +0 -0
  32. package/dist/assets/bossanova_poppy_2.png +0 -0
  33. package/dist/assets/bubbles_50.webp +0 -0
  34. package/dist/assets/bubbles_bondi.png +0 -0
  35. package/dist/assets/bubbles_poppy.png +0 -0
  36. package/dist/assets/candy_bar.png +0 -0
  37. package/dist/assets/candy_bar_azul.png +0 -0
  38. package/dist/assets/candy_bar_pistachio.png +0 -0
  39. package/dist/assets/candy_bar_sunny.png +0 -0
  40. package/dist/assets/collapse.svg +1 -0
  41. package/dist/assets/corner-dither.svg +1 -0
  42. package/dist/assets/cursor-arrow.svg +1 -0
  43. package/dist/assets/cursor-resize-d.png +0 -0
  44. package/dist/assets/cursor-resize-l.png +0 -0
  45. package/dist/assets/cursor-resize-lr.png +0 -0
  46. package/dist/assets/cursor-resize-r.png +0 -0
  47. package/dist/assets/cursor-resize-u.png +0 -0
  48. package/dist/assets/cursor-resize-ud.png +0 -0
  49. package/dist/assets/cursor-watch.png +0 -0
  50. package/dist/assets/default.jpg +0 -0
  51. package/dist/assets/default.png +0 -0
  52. package/dist/assets/diagonals_bondi.png +0 -0
  53. package/dist/assets/diagonals_bondi_dark.png +0 -0
  54. package/dist/assets/diagonals_poppy.png +0 -0
  55. package/dist/assets/down-arrow.svg +1 -0
  56. package/dist/assets/fish-angel.webp +0 -0
  57. package/dist/assets/fish-butterfly.webp +0 -0
  58. package/dist/assets/fish-flounder.webp +0 -0
  59. package/dist/assets/fish-guppy.webp +0 -0
  60. package/dist/assets/fish-jelly.webp +0 -0
  61. package/dist/assets/fish-minnow.webp +0 -0
  62. package/dist/assets/fish-red.webp +0 -0
  63. package/dist/assets/fish-seahorse.webp +0 -0
  64. package/dist/assets/fish-striped.webp +0 -0
  65. package/dist/assets/flat_peanuts.png +0 -0
  66. package/dist/assets/flat_peanuts_poppy.png +0 -0
  67. package/dist/assets/french_blue_dark.png +0 -0
  68. package/dist/assets/french_blue_light.png +0 -0
  69. package/dist/assets/globe_240.webp +0 -0
  70. package/dist/assets/halftone.svg +1 -0
  71. package/dist/assets/help-button.png +0 -0
  72. package/dist/assets/logo.webp +0 -0
  73. package/dist/assets/macos.png +0 -0
  74. package/dist/assets/peanuts_azul.png +0 -0
  75. package/dist/assets/peanuts_pistachio.png +0 -0
  76. package/dist/assets/pistachio_dark.png +0 -0
  77. package/dist/assets/pistachio_light.png +0 -0
  78. package/dist/assets/pistachio_medium.png +0 -0
  79. package/dist/assets/platinum.ac3 +0 -0
  80. package/dist/assets/platinum.m4a +0 -0
  81. package/dist/assets/platinum.mp3 +0 -0
  82. package/dist/assets/platinum.ogg +0 -0
  83. package/dist/assets/platinum.png +0 -0
  84. package/dist/assets/poppy.png +0 -0
  85. package/dist/assets/poppy_dark.png +0 -0
  86. package/dist/assets/poppy_light.png +0 -0
  87. package/dist/assets/poppy_medium.png +0 -0
  88. package/dist/assets/quicktime-thumb-slider.svg +1 -0
  89. package/dist/assets/quicktime-volume-slider.svg +8 -0
  90. package/dist/assets/rain-tile-distant.webp +0 -0
  91. package/dist/assets/rain-tile-mid.webp +0 -0
  92. package/dist/assets/rain-tile-near.webp +0 -0
  93. package/dist/assets/resizer.svg +1 -0
  94. package/dist/assets/rio_azul.png +0 -0
  95. package/dist/assets/rio_pistachio.png +0 -0
  96. package/dist/assets/ripple_azul.png +0 -0
  97. package/dist/assets/ripple_bondi.png +0 -0
  98. package/dist/assets/ripple_poppy.png +0 -0
  99. package/dist/assets/sad-mac.png +0 -0
  100. package/dist/assets/seafloor.webp +0 -0
  101. package/dist/assets/slider-strikes.svg +6 -0
  102. package/dist/assets/slider-thumb-rect.svg +1 -0
  103. package/dist/assets/slider-thumb.svg +1 -0
  104. package/dist/assets/spotlight_bg.webp +0 -0
  105. package/dist/assets/stars1.webp +0 -0
  106. package/dist/assets/stars2.webp +0 -0
  107. package/dist/assets/stars3.webp +0 -0
  108. package/dist/assets/stars4.webp +0 -0
  109. package/dist/assets/sunny.png +0 -0
  110. package/dist/assets/sunny_dark.png +0 -0
  111. package/dist/assets/sunny_light.png +0 -0
  112. package/dist/assets/tab-outline.svg +1 -0
  113. package/dist/assets/title-bar-center-red.svg +26 -0
  114. package/dist/assets/title-bar-center.svg +1 -0
  115. package/dist/assets/title-bar-utility.svg +1 -0
  116. package/dist/assets/toast1.webp +0 -0
  117. package/dist/assets/toaster-sprite.webp +0 -0
  118. package/dist/assets/trash-empty.png +0 -0
  119. package/dist/assets/trash-full.png +0 -0
  120. package/dist/assets/triangle.svg +1 -0
  121. package/dist/assets/waves_azul.png +0 -0
  122. package/dist/assets/waves_bondi.png +0 -0
  123. package/dist/assets/waves_sunny.png +0 -0
  124. package/dist/assets/zoom.svg +1 -0
  125. package/dist/classicy-platinum.css +2 -0
  126. package/dist/classicy-platinum.fonts.css +13 -0
  127. package/dist/types/assets/art/platinumArt.d.ts +28 -0
  128. package/dist/types/assets/art/platinumArt.d.ts.map +1 -0
  129. package/dist/types/assets/pixelart/platinumPixelArt.d.ts +16 -0
  130. package/dist/types/assets/pixelart/platinumPixelArt.d.ts.map +1 -0
  131. package/dist/types/assets/platinumAssets.d.ts +2 -0
  132. package/dist/types/assets/platinumAssets.d.ts.map +1 -0
  133. package/dist/types/assets/platinumFonts.internal.d.ts +9 -0
  134. package/dist/types/assets/platinumFonts.internal.d.ts.map +1 -0
  135. package/dist/types/assets/platinumLegacyWallpapers.d.ts +3 -0
  136. package/dist/types/assets/platinumLegacyWallpapers.d.ts.map +1 -0
  137. package/dist/types/assets/platinumWallpapers.d.ts +11 -0
  138. package/dist/types/assets/platinumWallpapers.d.ts.map +1 -0
  139. package/dist/types/assets/sounds/platinum.d.ts +3 -0
  140. package/dist/types/assets/sounds/platinum.d.ts.map +1 -0
  141. package/dist/types/hooks.d.ts +14 -0
  142. package/dist/types/hooks.d.ts.map +1 -0
  143. package/dist/types/index.d.ts +45 -0
  144. package/dist/types/index.d.ts.map +1 -0
  145. package/dist/types/screenSavers/BouncingBall/ClassicyScreenSaverBouncingBall.d.ts +20 -0
  146. package/dist/types/screenSavers/BouncingBall/ClassicyScreenSaverBouncingBall.d.ts.map +1 -0
  147. package/dist/types/screenSavers/FadeOut/ClassicyScreenSaverFadeOut.d.ts +9 -0
  148. package/dist/types/screenSavers/FadeOut/ClassicyScreenSaverFadeOut.d.ts.map +1 -0
  149. package/dist/types/screenSavers/Fish/ClassicyScreenSaverFish.d.ts +12 -0
  150. package/dist/types/screenSavers/Fish/ClassicyScreenSaverFish.d.ts.map +1 -0
  151. package/dist/types/screenSavers/FlyingToasters/ClassicyScreenSaverFlyingToasters.d.ts +14 -0
  152. package/dist/types/screenSavers/FlyingToasters/ClassicyScreenSaverFlyingToasters.d.ts.map +1 -0
  153. package/dist/types/screenSavers/Globe/ClassicyScreenSaverGlobe.d.ts +8 -0
  154. package/dist/types/screenSavers/Globe/ClassicyScreenSaverGlobe.d.ts.map +1 -0
  155. package/dist/types/screenSavers/HardRain/ClassicyScreenSaverHardRain.d.ts +12 -0
  156. package/dist/types/screenSavers/HardRain/ClassicyScreenSaverHardRain.d.ts.map +1 -0
  157. package/dist/types/screenSavers/Logo/ClassicyScreenSaverLogo.d.ts +30 -0
  158. package/dist/types/screenSavers/Logo/ClassicyScreenSaverLogo.d.ts.map +1 -0
  159. package/dist/types/screenSavers/Logo/ClassicyScreenSaverLogoRegistry.d.ts +58 -0
  160. package/dist/types/screenSavers/Logo/ClassicyScreenSaverLogoRegistry.d.ts.map +1 -0
  161. package/dist/types/screenSavers/Messages/ClassicyScreenSaverMessages.d.ts +14 -0
  162. package/dist/types/screenSavers/Messages/ClassicyScreenSaverMessages.d.ts.map +1 -0
  163. package/dist/types/screenSavers/Messages2/ClassicyScreenSaverMessages2.d.ts +13 -0
  164. package/dist/types/screenSavers/Messages2/ClassicyScreenSaverMessages2.d.ts.map +1 -0
  165. package/dist/types/screenSavers/Rainstorm/ClassicyScreenSaverRainstorm.d.ts +17 -0
  166. package/dist/types/screenSavers/Rainstorm/ClassicyScreenSaverRainstorm.d.ts.map +1 -0
  167. package/dist/types/screenSavers/Spotlight/ClassicyScreenSaverSpotlight.d.ts +9 -0
  168. package/dist/types/screenSavers/Spotlight/ClassicyScreenSaverSpotlight.d.ts.map +1 -0
  169. package/dist/types/screenSavers/Warp/ClassicyScreenSaverWarp.d.ts +13 -0
  170. package/dist/types/screenSavers/Warp/ClassicyScreenSaverWarp.d.ts.map +1 -0
  171. package/dist/types/screenSavers/platinumScreenSavers.d.ts +2 -0
  172. package/dist/types/screenSavers/platinumScreenSavers.d.ts.map +1 -0
  173. package/dist/types/screenSavers/saverClassNames.d.ts +7 -0
  174. package/dist/types/screenSavers/saverClassNames.d.ts.map +1 -0
  175. package/package.json +61 -4
  176. package/src/styles/_assets.scss +27 -0
  177. package/src/styles/_mixins.scss +290 -0
  178. package/src/styles/_screenSavers.scss +45 -0
  179. package/src/styles/_scrollbars.scss +314 -0
  180. package/src/styles/components/_Alert.scss +10 -0
  181. package/src/styles/components/_Assistant.scss +10 -0
  182. package/src/styles/components/_BevelButton.scss +26 -0
  183. package/src/styles/components/_Button.scss +52 -0
  184. package/src/styles/components/_Checkbox.scss +33 -0
  185. package/src/styles/components/_ControlStrip.scss +186 -0
  186. package/src/styles/components/_Desktop.scss +25 -0
  187. package/src/styles/components/_DesktopIcon.scss +9 -0
  188. package/src/styles/components/_DriveSetupList.scss +9 -0
  189. package/src/styles/components/_FileInput.scss +12 -0
  190. package/src/styles/components/_HyperCard.scss +13 -0
  191. package/src/styles/components/_Icon.scss +9 -0
  192. package/src/styles/components/_Menu.scss +99 -0
  193. package/src/styles/components/_Meter.scss +8 -0
  194. package/src/styles/components/_Output.scss +9 -0
  195. package/src/styles/components/_Placard.scss +16 -0
  196. package/src/styles/components/_PopUpMenu.scss +33 -0
  197. package/src/styles/components/_ProgressBar.scss +13 -0
  198. package/src/styles/components/_QuickTimeMovieEmbed.scss +84 -0
  199. package/src/styles/components/_Slider.scss +156 -0
  200. package/src/styles/components/_SplitView.scss +9 -0
  201. package/src/styles/components/_StartupScreen.scss +9 -0
  202. package/src/styles/components/_Table.scss +13 -0
  203. package/src/styles/components/_Tabs.scss +34 -0
  204. package/src/styles/components/_Window.scss +139 -0
  205. package/src/styles/components/_WindowFrame.scss +10 -0
  206. package/src/styles/platinum.scss +75 -0
@@ -0,0 +1,12 @@
1
+ // The Platinum file input look (from ClassicyFileInput.scss): the glyph on a
2
+ // listed file's remove button. A font glyph, as an escape kept by
3
+ // `string.unquote` so the Sass output stays ASCII (Sass decodes a quoted
4
+ // escape and prepends `@charset`; the build keeps dist ASCII, verify:dist
5
+ // invariant 9); the button's aria-label stays its accessible name.
6
+ @use "sass:string";
7
+
8
+ @mixin fileInput {
9
+ .classicyFileInputRemoveGlyph::before {
10
+ content: string.unquote('"\\2715"'); // ✕
11
+ }
12
+ }
@@ -0,0 +1,13 @@
1
+ // The Platinum HyperCard editor look (from HyperCard.scss): the check after
2
+ // the tools palette entry armed for click-to-place. A font glyph with its
3
+ // leading space, as an escape kept by `string.unquote` so the Sass output
4
+ // stays ASCII (the build keeps dist ASCII; verify:dist invariant 9). The mark
5
+ // is an aria-hidden inline span after the label, so the entry's accessible
6
+ // name stays its label and aria-pressed carries the state.
7
+ @use "sass:string";
8
+
9
+ @mixin hyperCard {
10
+ .classicyHyperCardPaletteEntry.selected .classicyHyperCardPaletteEntryMark::after {
11
+ content: string.unquote('" \\2713"'); // " ✓"
12
+ }
13
+ }
@@ -0,0 +1,9 @@
1
+ // The Platinum icon look (from ClassicyIcon.scss): the halftone dither drawn
2
+ // through the icon's mask.
3
+ @use "../mixins";
4
+
5
+ @mixin icon {
6
+ .classicyIconMask {
7
+ @include mixins.platinum-halftone("--color-black", 7%);
8
+ }
9
+ }
@@ -0,0 +1,99 @@
1
+ // The Platinum menu look (from ClassicyMenu.scss): the menu frame of HIGOS8
2
+ // Figure 6-15 on every menu, its dividers, the submenu triangle, the flash of
3
+ // a chosen item, and the check and dash glyphs of checked and mixed items.
4
+ @use "sass:string";
5
+ @use "../mixins";
6
+
7
+ @mixin menu {
8
+ .classicyMenu {
9
+ @include mixins.platinum-menu-frame;
10
+ }
11
+
12
+ .classicySubMenu {
13
+ @include mixins.platinum-menu-frame;
14
+ }
15
+
16
+ .classicyContextMenu {
17
+ @include mixins.platinum-menu-frame;
18
+ }
19
+
20
+ .classicyContextSubMenu {
21
+ @include mixins.platinum-menu-frame;
22
+ }
23
+
24
+ // Dividers in every menu (Figure 6-15).
25
+ .classicyMenu,
26
+ .classicySubMenu,
27
+ .classicyContextMenu,
28
+ .classicyContextSubMenu {
29
+ .classicySeparatorHorizontal {
30
+ @include mixins.platinum-menu-divider;
31
+ }
32
+ }
33
+
34
+ // The submenu triangle: the registered art as the box's own image, placed
35
+ // by the base sheet (right center, no repeat). An image, not a mask
36
+ // (ruling E24): a mask drew the anti-aliased edge one level off in Firefox.
37
+ .classicyMenuItemChildMenuIndicator {
38
+ &:after {
39
+ background-image: var(--classicy-art-submenu-arrow);
40
+ }
41
+ }
42
+
43
+ // The flash of a chosen item (from ClassicyMenu.scss), applied by the
44
+ // MenuItem press hook (hooks.ts) and cleared by its release. Its
45
+ // animationend runs the item's action.
46
+ .classicyMenuItemFlash {
47
+ -webkit-animation-name: classicyMenuItemFlashKeyframes;
48
+ animation-name: classicyMenuItemFlashKeyframes;
49
+ animation-duration: .25s;
50
+ animation-iteration-count: 1;
51
+ animation-timing-function: steps(1, end) ;
52
+ }
53
+
54
+ @keyframes classicyMenuItemFlashKeyframes {
55
+ 0% {
56
+ background-color: var(--color-theme-04);
57
+ color: var(--color-white);
58
+ }
59
+
60
+ 20% {
61
+ background-color: var(--color-system-02);
62
+ color: var(--color-black);
63
+ }
64
+
65
+ 40% {
66
+ background-color: var(--color-theme-04);
67
+ color: var(--color-white);
68
+ }
69
+
70
+ 60% {
71
+ background-color: var(--color-system-02);
72
+ color: var(--color-black);
73
+ }
74
+
75
+ 80% {
76
+ background-color: var(--color-theme-04);
77
+ color: var(--color-white);
78
+ }
79
+
80
+ 100% {
81
+ background-color: var(--color-system-02);
82
+ color: var(--color-black);
83
+ }
84
+ }
85
+
86
+ // The check and mixed-state dash in an item's check gutter (HIGOS8 Ch. 4).
87
+ // Font glyphs, as escapes kept by `string.unquote`, so the Sass output
88
+ // stays ASCII (Sass decodes a quoted escape and prepends `@charset`; the
89
+ // build keeps dist ASCII, verify:dist invariant 9). The
90
+ // gutter is an inline-flex box, so each glyph is centered in it as the text
91
+ // was.
92
+ .classicyMenuItemCheck.checked::before {
93
+ content: string.unquote('"\\2713"'); // ✓
94
+ }
95
+
96
+ .classicyMenuItemCheck.mixed::before {
97
+ content: string.unquote('"\\2013"'); // –
98
+ }
99
+ }
@@ -0,0 +1,8 @@
1
+ // The Platinum meter look (from ClassicyMeter.scss): the inset well border.
2
+ @use "../mixins";
3
+
4
+ @mixin meter {
5
+ .classicyMeter {
6
+ @include mixins.platinum-window-inner-border;
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ // The Platinum output look (from ClassicyOutput.scss): the inset result
2
+ // well's border.
3
+ @use "../mixins";
4
+
5
+ @mixin output {
6
+ .classicyOutputInset {
7
+ @include mixins.platinum-window-inner-border;
8
+ }
9
+ }
@@ -0,0 +1,16 @@
1
+ // The Platinum placard look (from ClassicyPlacard.scss): the pop-up arrow of a
2
+ // placard with a menu, and the beveled border of the menu it opens.
3
+ @use "sass:string";
4
+ @use "../mixins";
5
+
6
+ @mixin placard {
7
+ // A font glyph, as an escape kept by `string.unquote` so the Sass output
8
+ // stays ASCII (the build keeps dist ASCII; verify:dist invariant 9).
9
+ .classicyPlacardArrow::before {
10
+ content: string.unquote('"\\25BE"'); // ▾
11
+ }
12
+
13
+ .classicyPlacardMenu {
14
+ @include mixins.platinum-window-border;
15
+ }
16
+ }
@@ -0,0 +1,33 @@
1
+ // The Platinum pop-up menu look (from ClassicyPopUpMenu.scss): the raised
2
+ // control, its double-arrow indicator, and the checkmark against the current
3
+ // item of the open menu (ComboBox shares it). The disabled fill follows the
4
+ // undepressable face it overrides.
5
+ @use "sass:string";
6
+ @use "../mixins";
7
+
8
+ @mixin popUpMenu {
9
+ .classicyPopUpMenu {
10
+ @include mixins.platinum-window-undepressable;
11
+
12
+ &.disabled {
13
+ background-color: var(--color-system-01);
14
+ }
15
+ }
16
+
17
+ // The double arrow: the registered art as an image, like the grow-box grip
18
+ // and the control-box dither (ruling E21). A mask over --color-black does
19
+ // not reproduce the raster exactly at every tile size (the ComboBox's
20
+ // 9x10.8 px arrow), and an image layer leaves the indicator's border,
21
+ // corners and bevel untouched. Base keeps the no-repeat / center / 45%
22
+ // geometry.
23
+ .classicyPopUpMenuIndicator {
24
+ background-image: var(--classicy-art-popup-arrows);
25
+ }
26
+
27
+ // The HIG checkmark against the current selection, a font glyph in the
28
+ // fixed check gutter (an escape kept by `string.unquote`, so the Sass output
29
+ // stays ASCII; the build keeps dist ASCII, verify:dist invariant 9).
30
+ .classicyPopUpMenuCheck.checked::before {
31
+ content: string.unquote('"\\2713"'); // ✓
32
+ }
33
+ }
@@ -0,0 +1,13 @@
1
+ // The Platinum progress bar look (from ClassicyProgressBar.scss): the inset
2
+ // track border.
3
+ @use "../mixins";
4
+
5
+ @mixin progressBar {
6
+ .classicyProgress {
7
+ progress[value] {
8
+ &::-webkit-progress-bar {
9
+ @include mixins.platinum-window-inner-border;
10
+ }
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,84 @@
1
+ // The Platinum QuickTime controller and caption look (from
2
+ // QuickTimeMovieEmbed.scss): the bar's face, the raised time display, buttons
3
+ // (and their glyphs' drop shadow) and seek-bar holder, the volume pop-up's
4
+ // face and bevel, the slider thumbs' art and drop shadow, both tracks' border,
5
+ // inset bevel and focus color, and the themed captions. The controller's
6
+ // cells butt together, so each drops the mixin's border and rounded corners
7
+ // right after it, as the base rule did. The base sheet keeps geometry and
8
+ // resets of the native range input only.
9
+ @use "pkg:@classicy/classicy/scss/color" as c;
10
+ @use "../mixins";
11
+
12
+ @mixin quickTimeMovieEmbed {
13
+ .quickTimePlayerVideoControlsHolder {
14
+ background: var(--color-system-03);
15
+ }
16
+
17
+ .quickTimePlayerVideoControlsTime {
18
+ @include mixins.platinum-window-undepressable;
19
+ border: 0;
20
+ border-radius: 0;
21
+ }
22
+
23
+ .quickTimePlayerVideoControlsButton {
24
+ @include mixins.platinum-window-depressable;
25
+ border: 0;
26
+ border-radius: 0;
27
+
28
+ img {
29
+ filter: drop-shadow(var(--window-border-size) var(--window-border-size) 0px c.classicy-alpha("--color-black", 50%));
30
+ }
31
+ }
32
+
33
+ .quickTimePlayerVideoControlsProgressBarHolder {
34
+ @include mixins.platinum-window-depressable;
35
+ border-radius: 0;
36
+ }
37
+
38
+ .quickTimePlayerVideoControlsVolumeBar {
39
+ background: var(--color-system-03);
40
+ @include mixins.platinum-window-inner-box-shadow;
41
+ }
42
+
43
+ // The thumbs are the registered art (`quickTimeThumbSlider`,
44
+ // `quickTimeVolumeSlider`), drawn as image layers over the base sheet's
45
+ // geometry; the volume thumb's rule follows the shared one, as in base.
46
+ .quickTimePlayerVideoControlsProgressBar::-webkit-slider-thumb,
47
+ .quickTimePlayerVideoControlsVolumeBar::-webkit-slider-thumb {
48
+ background-image: var(--classicy-art-quick-time-thumb-slider);
49
+ filter: drop-shadow(
50
+ var(--window-border-size) var(--window-border-size) var(--window-border-size) var(--color-system-06)
51
+ );
52
+ }
53
+
54
+ .quickTimePlayerVideoControlsVolumeBar::-webkit-slider-thumb {
55
+ background-image: var(--classicy-art-quick-time-volume-slider);
56
+ }
57
+
58
+ // Both tracks: a themed border and inset bevel, and the focused track's fill.
59
+ .quickTimePlayerVideoControlsVolumeBar::-webkit-slider-runnable-track,
60
+ .quickTimePlayerVideoControlsProgressBar::-webkit-slider-runnable-track {
61
+ border: var(--window-border-size) solid var(--color-theme-04);
62
+ box-shadow: inset var(--window-border-size) var(--window-border-size) var(--window-border-size) var(--color-theme-04),
63
+ inset calc(var(--window-border-size) * -1) calc(var(--window-border-size) * -1) var(--window-border-size) var(--color-theme-06);
64
+ }
65
+
66
+ .quickTimePlayerVideoControlsVolumeBar:focus::-webkit-slider-runnable-track,
67
+ .quickTimePlayerVideoControlsProgressBar:focus::-webkit-slider-runnable-track {
68
+ background: var(--color-theme-02);
69
+ }
70
+
71
+ // The themed captions. A cue with a caller's captionStyle is skipped: its
72
+ // colors are the caller's (QuickTimeCaptionsOverlay.scss, in base), and
73
+ // this layer would beat them.
74
+ .quickTimePlayerCaptions:not(.quickTimePlayerCaptionsCustomStyle) {
75
+ color: var(--color-theme-01);
76
+ background-color: var(--color-system-07);
77
+ text-shadow: 0 0 var(--quick-time-caption-shadow-blur) var(--color-theme-05);
78
+ filter: saturate(500%) contrast(2);
79
+ }
80
+
81
+ .quickTimePlayerCaptionsCustomStyle {
82
+ border-radius: var(--control-frame-width);
83
+ }
84
+ }
@@ -0,0 +1,156 @@
1
+ // The Platinum slider look (from ClassicySlider.scss): the indicator's shape,
2
+ // border, grip and face, for the native thumb in each state, the highlighted
3
+ // and nondirectional variants, and the ghost indicator that tracks a drag.
4
+ // The thumb's size, its rotation for each pointing direction and the ghost's
5
+ // position stay in the base sheet. The nondirectional rules override the
6
+ // pentagon thumb's clip-path and background, so they come with it, after it.
7
+
8
+ // Pentagon: flat top + right/left sides down to 62%, then arrow-point to 100%
9
+ $thumb-shape: polygon(9% 2%, 92% 2%, 92% 56.6%, 50% 95%, 9% 56.6%);
10
+
11
+ // ── Thumb border art ──────────────────────────────────────────────────────────
12
+ // `border`, `box-shadow`, and `filter: drop-shadow` all fail on
13
+ // ::webkit-slider-thumb: border/shadow paint before clip-path (rectangle-clipped),
14
+ // and filter is not applied to this pseudo-element by the browser.
15
+ //
16
+ // Solution: an image layer draws a 4px stroke on the same pentagon path used by
17
+ // clip-path. The stroke is centered on the path so its outer 2px are cropped by
18
+ // clip-path, leaving a clean 2px border (= --window-border-size × 2) that
19
+ // follows every edge exactly — including the diagonal lower sides.
20
+ //
21
+ // The art is the registered system art `sliderThumb` (Platinum:
22
+ // assets/art/slider-thumb.svg, viewBox 21 × 21 = the thumb's width × height,
23
+ // points = $thumb-shape in px). It stays an image layer, not a mask: the thumb
24
+ // has no pseudo-elements, so a mask would clip the body gradient too. Its
25
+ // `currentColor` stroke draws black in an image.
26
+ $_thumb-border-svg: var(--classicy-art-slider-thumb);
27
+
28
+ // ── Thumb grip strikes art ────────────────────────────────────────────────────
29
+ // Three vertical lines centered in the thumb body to indicate draggability:
30
+ // the registered system art `sliderStrikes` (Platinum:
31
+ // assets/art/slider-strikes.svg, its two-tone grays the art).
32
+ $_thumb-strikes-svg: var(--classicy-art-slider-strikes);
33
+
34
+ // ── Nondirectional thumb (unpointed knob) ─────────────────────────────────────
35
+ // A plain rounded-rectangle indicator for sliders where the pointed edge would
36
+ // carry no meaning. Same 2px-cropped-stroke trick as the pentagon border, from
37
+ // the registered system art `sliderThumbRect` (Platinum:
38
+ // assets/art/slider-thumb-rect.svg).
39
+ $_thumb-rect-svg: var(--classicy-art-slider-thumb-rect);
40
+ $_thumb-rect-shape: inset(0 round var(--slider-thumb-corner-radius));
41
+
42
+ // ── Thumb appearance mixin ────────────────────────────────────────────────────
43
+ @mixin platinum-slider-thumb(
44
+ $body-gradient,
45
+ ) {
46
+ clip-path: $thumb-shape;
47
+ background:
48
+ $_thumb-border-svg 0 0 / 100% 100% no-repeat,
49
+ $_thumb-strikes-svg center 30% / 45% 35% no-repeat,
50
+ $body-gradient;
51
+ }
52
+
53
+ @mixin slider {
54
+ .classicySlider {
55
+ // Image 1 — normal (raised Platinum silver)
56
+ &::-webkit-slider-thumb {
57
+ @include platinum-slider-thumb(
58
+ linear-gradient(to bottom, var(--color-system-01), var(--color-system-04))
59
+ );
60
+ }
61
+
62
+ &::-moz-range-thumb {
63
+ @include platinum-slider-thumb(
64
+ linear-gradient(to bottom, var(--color-system-01), var(--color-system-04))
65
+ );
66
+ }
67
+
68
+ // Image 2 — depressed / dragging (inverted gradient, reversed glint)
69
+ &:active::-webkit-slider-thumb {
70
+ @include platinum-slider-thumb(
71
+ linear-gradient(to bottom, var(--color-theme-04), var(--color-theme-03), var(--color-theme-04))
72
+ );
73
+ }
74
+
75
+ &:active::-moz-range-thumb {
76
+ @include platinum-slider-thumb(
77
+ linear-gradient(to bottom, var(--color-theme-04), var(--color-theme-03), var(--color-theme-04))
78
+ );
79
+ }
80
+ }
81
+
82
+ // ─── Highlighted variant (Image 3) — theme blue ─────────────────────────────
83
+
84
+ .classicySliderHighlighted {
85
+ &::-webkit-slider-thumb {
86
+ @include platinum-slider-thumb(
87
+ linear-gradient(to bottom, var(--color-theme-04), var(--color-theme-03), var(--color-theme-04))
88
+ );
89
+ }
90
+
91
+ &::-moz-range-thumb {
92
+ @include platinum-slider-thumb(
93
+ linear-gradient(to bottom, var(--color-theme-03), var(--color-theme-04), var(--color-theme-03)) );
94
+ }
95
+
96
+ &:active::-webkit-slider-thumb {
97
+ @include platinum-slider-thumb(
98
+ linear-gradient(to bottom, var(--color-theme-06), var(--color-theme-05), var(--color-theme-06))
99
+ );
100
+ }
101
+
102
+ &:active::-moz-range-thumb {
103
+ @include platinum-slider-thumb(
104
+ linear-gradient(to bottom, var(--color-theme-06), var(--color-theme-05), var(--color-theme-06)) );
105
+ }
106
+ }
107
+
108
+ // ─── Nondirectional indicator: a rounded-rectangle knob with no point ───────
109
+
110
+ .classicySliderIndicatorNondirectional {
111
+ &::-webkit-slider-thumb {
112
+ clip-path: $_thumb-rect-shape;
113
+ background:
114
+ $_thumb-rect-svg 0 0 / 100% 100% no-repeat,
115
+ $_thumb-strikes-svg center 50% / 45% 35% no-repeat,
116
+ linear-gradient(to bottom, var(--color-system-01), var(--color-system-04));
117
+ }
118
+ &::-moz-range-thumb {
119
+ clip-path: $_thumb-rect-shape;
120
+ background:
121
+ $_thumb-rect-svg 0 0 / 100% 100% no-repeat,
122
+ $_thumb-strikes-svg center 50% / 45% 35% no-repeat,
123
+ linear-gradient(to bottom, var(--color-system-01), var(--color-system-04));
124
+ }
125
+ &:active::-webkit-slider-thumb {
126
+ clip-path: $_thumb-rect-shape;
127
+ background:
128
+ $_thumb-rect-svg 0 0 / 100% 100% no-repeat,
129
+ $_thumb-strikes-svg center 50% / 45% 35% no-repeat,
130
+ linear-gradient(to bottom, var(--color-theme-04), var(--color-theme-03), var(--color-theme-04));
131
+ }
132
+ &:active::-moz-range-thumb {
133
+ clip-path: $_thumb-rect-shape;
134
+ background:
135
+ $_thumb-rect-svg 0 0 / 100% 100% no-repeat,
136
+ $_thumb-strikes-svg center 50% / 45% 35% no-repeat,
137
+ linear-gradient(to bottom, var(--color-theme-04), var(--color-theme-03), var(--color-theme-04));
138
+ }
139
+ }
140
+
141
+ // ─── Ghost indicator (shadow copy tracking the pointer during drag) ─────────
142
+
143
+ .classicySliderGhost {
144
+ clip-path: $thumb-shape;
145
+ background:
146
+ $_thumb-border-svg 0 0 / 100% 100% no-repeat,
147
+ linear-gradient(to bottom, var(--color-system-02), var(--color-system-05));
148
+
149
+ &.classicySliderIndicatorNondirectional {
150
+ clip-path: $_thumb-rect-shape;
151
+ background:
152
+ $_thumb-rect-svg 0 0 / 100% 100% no-repeat,
153
+ linear-gradient(to bottom, var(--color-system-02), var(--color-system-05));
154
+ }
155
+ }
156
+ }
@@ -0,0 +1,9 @@
1
+ // The Platinum split view look (from ClassicySplitView.scss): the divider's
2
+ // window-frame bevel border.
3
+ @use "../mixins";
4
+
5
+ @mixin splitView {
6
+ .classicySplitViewDivider {
7
+ @include mixins.platinum-window-border;
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ // The Platinum startup screen look (from ClassicyStartupScreen.scss): the
2
+ // window border and bevel around the logo panel.
3
+ @use "../mixins";
4
+
5
+ @mixin startupScreen {
6
+ .classicyStartupScreenPanel {
7
+ @include mixins.platinum-window-border;
8
+ }
9
+ }
@@ -0,0 +1,13 @@
1
+ // The Platinum list view look (from ClassicyTable.scss): the column headers'
2
+ // bevel and the sorted column's pressed-in header.
3
+ @use "../mixins";
4
+
5
+ @mixin table {
6
+ .classicyTableColumnHeader {
7
+ @include mixins.platinum-window-box-shadow;
8
+ }
9
+
10
+ :where(.classicyTableColumnHeader).selected {
11
+ @include mixins.platinum-window-header-border-depressed;
12
+ }
13
+ }
@@ -0,0 +1,34 @@
1
+ // The Platinum tab look kept in the package: the tab outline and the tab
2
+ // strip's hidden scroll bar.
3
+ //
4
+ // The outline is the registered system art `tabOutline` (Platinum:
5
+ // assets/art/tab-outline.svg), drawn as the wrapper's background image over
6
+ // its fill; the base sheet keeps the image's size and repeat. The art draws
7
+ // only the three visible sides (left diagonal, top, right diagonal) as a 2 px
8
+ // centered stroke; the wrapper's clip-path crops its outer half, leaving a
9
+ // 1 px line. It stretches to fill the wrapper (`preserveAspectRatio="none"`,
10
+ // `100% 100%`), and its stroke is non-scaling, so the line stays 1 px at every
11
+ // tab size. Its `currentColor` stroke draws black in an image.
12
+ //
13
+ // An image, not a mask (as ruling E21 drew the pop-up arrows): a black
14
+ // `::before` masked by the same art differs from the old raster by up to 5
15
+ // levels along the outline, while the same art as an image is exact.
16
+ //
17
+ // The tab strip's scroll bar, hidden over the Platinum desktop's.
18
+ // ClassicyTabs.scss hides it (the arrow tabs are its scroll affordance) and
19
+ // keeps doing so outside a Platinum desktop; inside one, the desktop
20
+ // scroll bars' `scrollbar-width: auto` fallback (Firefox, _Desktop.scss)
21
+ // would beat that from this layer, so the tab scroller says it again here.
22
+ // Scoped, it is one class higher than the fallback's `& *`, (0,3,0) vs
23
+ // (0,2,0), so it wins on specificity; platinum.scss also includes this
24
+ // partial after the desktop's.
25
+
26
+ @mixin tabs {
27
+ .classicyTabButtonWrapper {
28
+ background-image: var(--classicy-art-tab-outline);
29
+ }
30
+
31
+ .classicyTabScroller {
32
+ scrollbar-width: none;
33
+ }
34
+ }
@@ -0,0 +1,139 @@
1
+ // The Platinum window look (from ClassicyWindow.scss), included by
2
+ // platinum.scss inside the package wrapper. Rules keep the base file's
3
+ // selector chains and order: a base declaration that used to beat a moved one
4
+ // (a later state, a longhand after a moved shorthand, or another class on the
5
+ // same element) is moved here too, after what it overrides, because from the
6
+ // package layer the moved look would beat it whatever its specificity.
7
+ @use "../mixins";
8
+
9
+ @mixin window {
10
+ .classicyWindow {
11
+ @include mixins.platinum-window-border;
12
+
13
+ .classicyWindowTitleBar {
14
+ // Outranks the dimmed-header border below (a class on this element in
15
+ // the forced-state matrix).
16
+ border: none;
17
+ box-shadow: none;
18
+
19
+ .classicyWindowControlBox {
20
+ @include mixins.platinum-box-shadow;
21
+ }
22
+
23
+ .classicyWindowCollapseBox,
24
+ .classicyWindowZoomBox {
25
+ @include mixins.platinum-window-control-box-depressable;
26
+ }
27
+
28
+ // The glyphs are the registered art as the depressable :after's image,
29
+ // top left over its centered placement; the close box draws none. Images,
30
+ // not masks (rulings E20, E24): a masked glyph made the luminosity-
31
+ // blended dither of every box in its title bar draw one level off.
32
+ .classicyWindowCollapseBox {
33
+ &:after {
34
+ background-image: var(--classicy-art-collapse-glyph);
35
+ background-position: top left;
36
+ }
37
+ }
38
+
39
+ .classicyWindowZoomBox {
40
+ &:after {
41
+ background-image: var(--classicy-art-zoom-glyph);
42
+ background-position: top left;
43
+ }
44
+ }
45
+
46
+ .classicyWindowCloseBox {
47
+ @include mixins.platinum-window-control-box-depressable;
48
+ }
49
+ }
50
+
51
+ .classicyWindowResizer {
52
+ background-image: var(--classicy-art-window-grip);
53
+ }
54
+
55
+ .classicyWindowContents {
56
+ @include mixins.platinum-window-inner-border;
57
+ }
58
+ }
59
+
60
+ .classicyWindowHeader {
61
+ @include mixins.platinum-window-header-border;
62
+ @include mixins.platinum-window-inner-box-shadow-outer;
63
+ }
64
+
65
+ // #183: the list-view header drops the beveled bottom separator. Two classes
66
+ // so the dimmed header's border (below) does not bring the separator back.
67
+ .classicyWindowHeader.classicyWindowHeaderList {
68
+ border-bottom: none;
69
+ box-shadow: none;
70
+ }
71
+
72
+ .classicyWindow .classicyWindowContentsModal {
73
+ @include mixins.platinum-window-box-shadow;
74
+ }
75
+
76
+ // The windoid's title-bar pattern: the registered texture (two radial
77
+ // gradients over the frame gray) tiled 4px x 3px on the center band, and no
78
+ // side bands. Named down to `.classicyWindowTitle` so it outranks the active
79
+ // and red title-bar rules (four classes) that follow.
80
+ .classicyWindow.classicyWindowUtility .classicyWindowTitleBar .classicyWindowTitle {
81
+ .classicyWindowTitleLeft,
82
+ .classicyWindowTitleRight {
83
+ background: none;
84
+ }
85
+
86
+ .classicyWindowTitleCenter {
87
+ background-image: var(--classicy-art-window-utility-texture);
88
+ background-repeat: repeat;
89
+ background-size: var(--utility-title-bar-texture-width) var(--utility-title-bar-texture-height);
90
+ }
91
+ }
92
+
93
+ // The focused title bar's stripes: the center band at the art's own size,
94
+ // the bands beside a title a hair under full height.
95
+ :where(.classicyWindow).active {
96
+ @include mixins.platinum-title-bar-stripes($side-size: auto 100%);
97
+ }
98
+
99
+ // The red title bar: the shorthand alone on the side bands resets the
100
+ // focused bands' 99.8% to auto.
101
+ .classicyWindowRed {
102
+ @include mixins.platinum-window-border;
103
+ @include mixins.platinum-title-bar-stripes("-red", $center-size: auto 100%);
104
+ }
105
+
106
+ // Two classes so the error border keeps its color under the dotted drag and
107
+ // resize outline, whose `border` shorthand comes later.
108
+ .classicyWindow.classicyWindowRed {
109
+ border-color: var(--color-error);
110
+ }
111
+
112
+ .classicyWindowHeaderDimmed {
113
+ border: solid var(--window-border-size) var(--color-black);
114
+ box-shadow: none;
115
+ }
116
+
117
+ // The dotted drag and resize outline.
118
+ :where(.classicyWindow).dragging {
119
+ border: var(--control-padding-tight) dotted;
120
+ border-color: var(--color-black);
121
+ box-shadow: none;
122
+ }
123
+
124
+ .classicyWindowResizing {
125
+ border: var(--control-padding-tight) dotted;
126
+ border-color: var(--color-black);
127
+ box-shadow: none;
128
+ }
129
+
130
+ // Named under `.classicyWindow` to outrank the contents' own bevel.
131
+ .classicyWindow .classicyWindowContentsDimmed {
132
+ box-shadow: none;
133
+ }
134
+
135
+ // Named under `.classicyWindow` to outrank the resizer's own grip.
136
+ .classicyWindow .classicyWindowResizerDimmed {
137
+ background-image: none;
138
+ }
139
+ }