From 30a47d122f0ad4259ce3a8eae4518904f7650f69 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 18 Jul 2019 05:11:36 -0600 Subject: [PATCH] promote more button styles to base --- src/css/base.css | 2 ++ src/css/header.css | 2 -- src/css/nav.css | 1 - src/css/page-versions.css | 1 - src/css/toolbar.css | 2 -- 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/css/base.css b/src/css/base.css index 33b7df9..6983fc2 100644 --- a/src/css/base.css +++ b/src/css/base.css @@ -51,5 +51,7 @@ th { } button { + cursor: pointer; font-size: inherit; + line-height: inherit; } diff --git a/src/css/header.css b/src/css/header.css index 8c19082..0c7c56e 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -66,8 +66,6 @@ body { background: none; border: none; outline: none; - cursor: pointer; - display: block; height: var(--navbar-height); position: relative; /* width: var(--navbar-height); */ diff --git a/src/css/nav.css b/src/css/nav.css index 550d46b..34be5cd 100644 --- a/src/css/nav.css +++ b/src/css/nav.css @@ -151,7 +151,6 @@ html.is-clipped--nav { background: transparent url(../img/caret.svg) no-repeat center; background-size: 55%; border: none; - cursor: pointer; outline: none; position: absolute; height: 1.4em; /* NOTE must match line-height of text; slightly tweaked for alignment */ diff --git a/src/css/page-versions.css b/src/css/page-versions.css index 5b84d79..636d138 100644 --- a/src/css/page-versions.css +++ b/src/css/page-versions.css @@ -18,7 +18,6 @@ background-size: auto 0.75em; border: none; outline: none; - cursor: pointer; padding: 0.35rem 1.5rem 0.35rem 0.5rem; position: relative; z-index: var(--z-index-page-version-menu); diff --git a/src/css/toolbar.css b/src/css/toolbar.css index 2b2075b..1505680 100644 --- a/src/css/toolbar.css +++ b/src/css/toolbar.css @@ -22,8 +22,6 @@ background-size: 49%; border: none; outline: none; - cursor: pointer; - display: block; height: 2.5rem; padding: 0; width: 2.5rem; -- 2.11.0