underline on hover

This commit is contained in:
Simon Larsen 2023-07-09 15:21:36 +01:00
parent a8292e5183
commit b7db3a42b5
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
18 changed files with 18 additions and 17 deletions

View File

@ -65,7 +65,7 @@ const ForgotPassword: FunctionComponent = () => {
formType={FormType.Create}
maxPrimaryButtonWidth={true}
footer={
<div className="actions pointer text-center mt-4 underline-on-hover fw-semibold">
<div className="actions pointer text-center mt-4 hover:underline fw-semibold">
<p>
<Link
to={new Route('/accounts/login')}

View File

@ -79,7 +79,7 @@ const LoginPage: FunctionComponent = () => {
}}
maxPrimaryButtonWidth={true}
footer={
<div className="actions pointer text-center mt-4 underline-on-hover fw-semibold">
<div className="actions pointer text-center mt-4 hover:underline fw-semibold">
<p>
{!showSsoTip && (
<div

View File

@ -109,7 +109,7 @@ const VerifyEmail: FunctionComponent = () => {
'/accounts/login'
)
}
className="underline-on-hover text-primary fw-semibold"
className="hover:underline text-primary fw-semibold"
>
Login.
</Link>

View File

@ -181,6 +181,7 @@ export class Service extends DatabaseService<Model> {
id: log.id!,
data: {
status: OnCallDutyExecutionLogTimelineStatus.NotificationSent,
statusMessage: 'Notification sent to user.',
},
props: {
isRoot: true,

View File

@ -34,7 +34,7 @@ const FieldLabelElement: FunctionComponent<ComponentProps> = (
<span>
<Link
to={props.sideLink?.url}
className="underline-on-hover"
className="hover:underline"
>
{props.sideLink?.text}
</Link>

View File

@ -18,7 +18,7 @@ const IncidentElement: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={RouteUtil.populateRouteParams(
RouteMap[PageMap.INCIDENT_VIEW] as Route,
{

View File

@ -18,7 +18,7 @@ const MonitorElement: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={RouteUtil.populateRouteParams(
RouteMap[PageMap.MONITOR_VIEW] as Route,
{

View File

@ -18,7 +18,7 @@ const EscalationRuleView: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{

View File

@ -98,7 +98,7 @@ const ExecutionLogsTable: FunctionComponent<ComponentProps> = (
createdAt: true,
},
title: 'Triggered at',
type: FieldType.Date,
type: FieldType.DateTime,
isFilterable: true,
},
{

View File

@ -112,7 +112,7 @@ const ExecutionLogTimelineTable: FunctionComponent<ComponentProps> = (
createdAt: true,
},
title: 'Started At',
type: FieldType.Date,
type: FieldType.DateTime,
isFilterable: true,
},
{

View File

@ -18,7 +18,7 @@ const OnCallPolicyView: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={RouteUtil.populateRouteParams(
RouteMap[PageMap.ON_CALL_DUTY_POLICY_VIEW] as Route,
{

View File

@ -18,7 +18,7 @@ const ProjectElement: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={new Route(`/dashboard/${_id}`)}
>
<span>{props.project.name}</span>

View File

@ -24,7 +24,7 @@ const StatusPageElement: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={
new Route(
`/dashboard/${projectId}/status-pages/${props.statusPage._id}`

View File

@ -23,7 +23,7 @@ const TeamElement: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={
new Route(
`/dashboard/${projectId}/settings/teams/${props.team._id}`

View File

@ -24,7 +24,7 @@ const WorkflowElement: FunctionComponent<ComponentProps> = (
return (
<Link
onNavigateComplete={props.onNavigateComplete}
className="underline-on-hover"
className="hover:underline"
to={
new Route(
`/dashboard/${projectId}/workflows/workflow/${props.workflow._id}`

View File

@ -180,7 +180,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
createdAt: true,
},
title: 'Created At',
type: FieldType.Date,
type: FieldType.DateTime,
isFilterable: true,
},
{

View File

@ -111,7 +111,7 @@ const Settings: FunctionComponent<PageComponentProps> = (
createdAt: true,
},
title: 'Created At',
type: FieldType.Date,
type: FieldType.DateTime,
isFilterable: true,
},
{

View File

@ -197,7 +197,7 @@ const LoginPage: FunctionComponent<ComponentProps> = (
}}
maxPrimaryButtonWidth={true}
footer={
<div className="actions pointer text-center mt-4 underline-on-hover fw-semibold">
<div className="actions pointer text-center mt-4 hover:underline fw-semibold">
{props.hasEnabledSSOConfig ? (
<p>
<Link