improve button styles

Tue, 10 Aug 2021 19:27:12 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 10 Aug 2021 19:27:12 +0200
changeset 222
390127090ad2
parent 221
33d7833ca54c
child 223
df31e4332063

improve button styles

src/main/webapp/WEB-INF/jsp/language.jsp file | annotate | diff | comparison | revisions
src/main/webapp/language.css file | annotate | diff | comparison | revisions
src/main/webapp/lightpit.css file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/language.jsp	Tue Aug 10 18:36:46 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/language.jsp	Tue Aug 10 19:27:12 2021 +0200
@@ -44,5 +44,5 @@
     <c:if test="${not browserLanguagePresent}">
         <span class="blNA"><fmt:message key="language.browser.unavailable"/></span>
     </c:if>
-    <input type="submit" value="<fmt:message key="button.language.submit" />"/>
+    <button type="submit"><fmt:message key="button.language.submit" /></button>
 </form>
--- a/src/main/webapp/language.css	Tue Aug 10 18:36:46 2021 +0200
+++ b/src/main/webapp/language.css	Tue Aug 10 19:27:12 2021 +0200
@@ -31,12 +31,17 @@
     display: flex;
     flex-basis: content;
     flex-direction: column;
+    align-items: flex-start;
 }
 
 input {
     margin: .5em;
 }
 
+button {
+    margin-top: 1.5em;
+}
+
 /* browser language not available */
 span.blNA {
     margin: .5em;
--- a/src/main/webapp/lightpit.css	Tue Aug 10 18:36:46 2021 +0200
+++ b/src/main/webapp/lightpit.css	Tue Aug 10 19:27:12 2021 +0200
@@ -178,6 +178,7 @@
     padding: .25em .5em .25em .5em;
     cursor: default;
     text-decoration: none;
+    font-variant-caps: small-caps;
 }
 
 button:hover, a.button:hover {

mercurial