diff --git a/CHANGELOG.md b/CHANGELOG.md index b357e364f..f9bfbefa8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,29 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. +## Next Release - TBD + +### Added + +- Nothing. + +### Changed + +- Improved styles across the application. +- Updated dependencies. + +### Deprecated + +- Nothing. + +### Removed + +- Nothing. + +### Fixed + +- Nothing. + ## 2.5.1 - 2025-07-05 ### Added diff --git a/client/components/LogoutButton.tsx b/client/components/LogoutButton.tsx index a5296cbf5..546a65003 100644 --- a/client/components/LogoutButton.tsx +++ b/client/components/LogoutButton.tsx @@ -14,7 +14,7 @@ const LogoutButton = (): React.ReactElement => { }, [token]); return showButton ? (
- + Log Out
diff --git a/client/components/__snapshots__/LogoutButton.test.tsx.snap b/client/components/__snapshots__/LogoutButton.test.tsx.snap index 436ed7f34..0d00f8a7e 100644 --- a/client/components/__snapshots__/LogoutButton.test.tsx.snap +++ b/client/components/__snapshots__/LogoutButton.test.tsx.snap @@ -5,7 +5,7 @@ exports[`LogoutButton renders correctly when logged in 1`] = ` className="logout" > diff --git a/client/components/edit/Breadcrumbs.tsx b/client/components/edit/Breadcrumbs.tsx index 5b377c01c..b36a2da51 100644 --- a/client/components/edit/Breadcrumbs.tsx +++ b/client/components/edit/Breadcrumbs.tsx @@ -1,4 +1,3 @@ -import styles from "../shared/Breadcrumbs.module.css"; import React, { useEffect, useState } from "react"; import BasicBreadcrumbs from "../shared/BasicBreadcrumbs"; import { TreeNode, processBreadcrumbData } from "../../util/Breadcrumbs"; @@ -71,7 +70,7 @@ const Breadcrumbs = ({ pid = null, initiallyShallow = true }: BreadcrumbsProps): , ); return ( - + `; exports[`ChildList allows thumbnails to be toggled on 1`] = ` -[ - , - , - , +
+
+
+   +
+
+ + + +
+
, -] + +
`; exports[`ChildList displays a paginator when appropriate 1`] = ` -[ - , - , - , -

- Showing - 1 - - - 10 - of - - 10000 -

, - "Pagination", +
+

+ Showing + 1 + - + 10 + of + + 10000 +

+
+
+ Pagination +
+
+   +
+
+ + + +
+ , -] + + `; exports[`ChildList renders using SelectableChild when a callback is provided 1`] = ` -[ - , - , - , +
+
+
+   +
+
+ + + +
+
, -] + +
`; exports[`ChildList renders using ajax-loaded object data 1`] = ` -[ - , - , - , +
+
+
+   +
+
+ + + +
+
, -] + +
`; exports[`ChildList renders using ajax-loaded root data 1`] = ` -[ - , - , - , +
+
+
+   +
+
+ + + +
+
, -] + +
`; diff --git a/client/components/edit/datastream/Datastream.module.css b/client/components/edit/datastream/Datastream.module.css index c344d0859..167f553dd 100644 --- a/client/components/edit/datastream/Datastream.module.css +++ b/client/components/edit/datastream/Datastream.module.css @@ -1,3 +1,31 @@ +.datastream { + margin-block: 0.125em; + padding-block: 0.375em; + border: 1px solid transparent; +} + .enabled { - background-color: #d5e3a5; -} \ No newline at end of file + color: var(--selected-text); + background-color: var(--selected); + border-color: var(--selected-border); +} + +div[role="group"] .datastreamControlButton { + font-size: 14pt; + color: inherit; + border-color: var(--mute); + opacity: 0.75; + transition: none; + + &:disabled { + opacity: 0.75; + color: var(--mute); + border-color: var(--mute); + } + + &:hover, + &:focus { + color: white; + background-color: black; + } +} diff --git a/client/components/edit/datastream/Datastream.tsx b/client/components/edit/datastream/Datastream.tsx index 8817b1fd0..f3e986114 100644 --- a/client/components/edit/datastream/Datastream.tsx +++ b/client/components/edit/datastream/Datastream.tsx @@ -14,7 +14,7 @@ const Datastream = ({ datastream }: DatastreamProps): React.ReactElement => { const { stream, disabled } = datastream; return ( } > diff --git a/client/components/edit/datastream/DatastreamControlButton.module.css b/client/components/edit/datastream/DatastreamControlButton.module.css new file mode 100644 index 000000000..452c9d6a2 --- /dev/null +++ b/client/components/edit/datastream/DatastreamControlButton.module.css @@ -0,0 +1,10 @@ +button.datastreamControlButton { + font-size: 16pt; + transition: none; + + &:hover, + &:focus { + color: white; + background-color: black; + } +} diff --git a/client/components/edit/datastream/DatastreamControlButton.tsx b/client/components/edit/datastream/DatastreamControlButton.tsx index e9a0374b4..1a327ae7d 100644 --- a/client/components/edit/datastream/DatastreamControlButton.tsx +++ b/client/components/edit/datastream/DatastreamControlButton.tsx @@ -1,4 +1,5 @@ import React, { useState } from "react"; +import styles from "./DatastreamControlButton.module.css"; import LoadingButton from "@mui/lab/LoadingButton"; import Tooltip from "@mui/material/Tooltip"; import DataObject from "@mui/icons-material/DataObject"; @@ -55,7 +56,7 @@ const DatastreamControlButton = ({ ,