mirror of https://github.com/docker/docs.git
site: update top navigation styles
- use the full viewport width - goodbye sad gray, hello fun blue - nicer logo Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
469a4cd4b4
commit
d078a3b291
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 13 KiB |
|
@ -139,7 +139,6 @@
|
||||||
"absolute",
|
"absolute",
|
||||||
"aspect-video",
|
"aspect-video",
|
||||||
"bake-action",
|
"bake-action",
|
||||||
"bg-accent-light",
|
|
||||||
"bg-amber-light",
|
"bg-amber-light",
|
||||||
"bg-amber-light-200",
|
"bg-amber-light-200",
|
||||||
"bg-background-light",
|
"bg-background-light",
|
||||||
|
@ -155,6 +154,7 @@
|
||||||
"bg-gray-light-200",
|
"bg-gray-light-200",
|
||||||
"bg-gray-light-200/50",
|
"bg-gray-light-200/50",
|
||||||
"bg-gray-light-400",
|
"bg-gray-light-400",
|
||||||
|
"bg-gray-light-700",
|
||||||
"bg-green-light",
|
"bg-green-light",
|
||||||
"bg-green-light-400",
|
"bg-green-light-400",
|
||||||
"bg-pattern-blue",
|
"bg-pattern-blue",
|
||||||
|
@ -191,11 +191,9 @@
|
||||||
"box-content",
|
"box-content",
|
||||||
"build-push-action",
|
"build-push-action",
|
||||||
"chroma",
|
"chroma",
|
||||||
"cls-1",
|
|
||||||
"col-start-2",
|
"col-start-2",
|
||||||
"cursor-not-allowed",
|
"cursor-not-allowed",
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
"dark:bg-accent-dark",
|
|
||||||
"dark:bg-amber-dark",
|
"dark:bg-amber-dark",
|
||||||
"dark:bg-amber-dark-200",
|
"dark:bg-amber-dark-200",
|
||||||
"dark:bg-background-dark",
|
"dark:bg-background-dark",
|
||||||
|
@ -227,8 +225,8 @@
|
||||||
"dark:decoration-blue-dark",
|
"dark:decoration-blue-dark",
|
||||||
"dark:fill-blue-dark",
|
"dark:fill-blue-dark",
|
||||||
"dark:focus:ring-blue-dark",
|
"dark:focus:ring-blue-dark",
|
||||||
"dark:from-accent-dark",
|
|
||||||
"dark:from-background-dark",
|
"dark:from-background-dark",
|
||||||
|
"dark:from-blue-dark-200",
|
||||||
"dark:from-blue-dark-400",
|
"dark:from-blue-dark-400",
|
||||||
"dark:hidden",
|
"dark:hidden",
|
||||||
"dark:hover:bg-blue-dark",
|
"dark:hover:bg-blue-dark",
|
||||||
|
@ -274,9 +272,9 @@
|
||||||
"footnote-backref",
|
"footnote-backref",
|
||||||
"footnote-ref",
|
"footnote-ref",
|
||||||
"footnotes",
|
"footnotes",
|
||||||
"from-accent-light",
|
|
||||||
"from-background-light",
|
"from-background-light",
|
||||||
"from-blue-light-400",
|
"from-blue-light-400",
|
||||||
|
"from-blue-light-600",
|
||||||
"gap-1",
|
"gap-1",
|
||||||
"gap-10",
|
"gap-10",
|
||||||
"gap-12",
|
"gap-12",
|
||||||
|
@ -357,7 +355,6 @@
|
||||||
"macOS",
|
"macOS",
|
||||||
"max-h-full",
|
"max-h-full",
|
||||||
"max-w-56",
|
"max-w-56",
|
||||||
"max-w-[1400px]",
|
|
||||||
"max-w-[840px]",
|
"max-w-[840px]",
|
||||||
"max-w-full",
|
"max-w-full",
|
||||||
"max-w-none",
|
"max-w-none",
|
||||||
|
@ -494,8 +491,9 @@
|
||||||
"text-white",
|
"text-white",
|
||||||
"text-xl",
|
"text-xl",
|
||||||
"text-xs",
|
"text-xs",
|
||||||
|
"to-50%",
|
||||||
"to-75%",
|
"to-75%",
|
||||||
"to-blue-light-500",
|
"to-blue-light",
|
||||||
"to-magenta-light-400",
|
"to-magenta-light-400",
|
||||||
"to-transparent",
|
"to-transparent",
|
||||||
"toc",
|
"toc",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<header
|
<header
|
||||||
class="sticky top-0 z-20 h-16 px-4 text-white bg-gradient-to-r from-accent-light to-blue-light-500 dark:from-accent-dark dark:to-blue-dark-100">
|
class="sticky top-0 z-20 h-16 px-6 text-white bg-gradient-to-r from-blue-light-600 to-blue-light dark:from-blue-dark-200 to-50% dark:to-blue-dark-100">
|
||||||
<div class="mx-auto flex gap-4 h-full max-w-[1400px] items-center justify-between">
|
<div class="mx-auto flex h-full items-center justify-between">
|
||||||
<div class="flex h-full items-center md:gap-8 gap-2">
|
<div class="flex h-full items-center md:gap-8 gap-2">
|
||||||
{{ if not .IsHome }}
|
{{ if not .IsHome }}
|
||||||
<button x-data @click="$dispatch('togglesidebar')"
|
<button x-data @click="$dispatch('togglesidebar')"
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
{{ partialCached "icon" "help" "help" }}
|
{{ partialCached "icon" "help" "help" }}
|
||||||
</div>
|
</div>
|
||||||
<div data-tooltip-body
|
<div data-tooltip-body
|
||||||
class="absolute left-0 top-0 hidden max-w-56 rounded bg-accent-light p-2 text-white dark:bg-accent-dark"
|
class="absolute left-0 top-0 hidden max-w-56 rounded bg-gray-light-700 p-2 text-white dark:bg-gray-dark-300"
|
||||||
role="tooltip">
|
role="tooltip">
|
||||||
{{ . }}
|
{{ . }}
|
||||||
<div data-tooltip-arrow class="absolute h-2 w-2 rotate-45 bg-accent-light dark:bg-accent-dark"></div>
|
<div data-tooltip-arrow class="absolute h-2 w-2 rotate-45 bg-gray-light-700 dark:bg-gray-dark-300"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -68,11 +68,6 @@ module.exports = {
|
||||||
black: "#000",
|
black: "#000",
|
||||||
transparent: 'transparent',
|
transparent: 'transparent',
|
||||||
|
|
||||||
accent: {
|
|
||||||
light: "#677285",
|
|
||||||
dark: "#2D404E",
|
|
||||||
},
|
|
||||||
|
|
||||||
background: {
|
background: {
|
||||||
light: "#f9f9fa",
|
light: "#f9f9fa",
|
||||||
dark: "#141b1f",
|
dark: "#141b1f",
|
||||||
|
|
Loading…
Reference in New Issue