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
     1.1 --- a/src/main/webapp/WEB-INF/jsp/language.jsp	Tue Aug 10 18:36:46 2021 +0200
     1.2 +++ b/src/main/webapp/WEB-INF/jsp/language.jsp	Tue Aug 10 19:27:12 2021 +0200
     1.3 @@ -44,5 +44,5 @@
     1.4      <c:if test="${not browserLanguagePresent}">
     1.5          <span class="blNA"><fmt:message key="language.browser.unavailable"/></span>
     1.6      </c:if>
     1.7 -    <input type="submit" value="<fmt:message key="button.language.submit" />"/>
     1.8 +    <button type="submit"><fmt:message key="button.language.submit" /></button>
     1.9  </form>
     2.1 --- a/src/main/webapp/language.css	Tue Aug 10 18:36:46 2021 +0200
     2.2 +++ b/src/main/webapp/language.css	Tue Aug 10 19:27:12 2021 +0200
     2.3 @@ -31,12 +31,17 @@
     2.4      display: flex;
     2.5      flex-basis: content;
     2.6      flex-direction: column;
     2.7 +    align-items: flex-start;
     2.8  }
     2.9  
    2.10  input {
    2.11      margin: .5em;
    2.12  }
    2.13  
    2.14 +button {
    2.15 +    margin-top: 1.5em;
    2.16 +}
    2.17 +
    2.18  /* browser language not available */
    2.19  span.blNA {
    2.20      margin: .5em;
     3.1 --- a/src/main/webapp/lightpit.css	Tue Aug 10 18:36:46 2021 +0200
     3.2 +++ b/src/main/webapp/lightpit.css	Tue Aug 10 19:27:12 2021 +0200
     3.3 @@ -178,6 +178,7 @@
     3.4      padding: .25em .5em .25em .5em;
     3.5      cursor: default;
     3.6      text-decoration: none;
     3.7 +    font-variant-caps: small-caps;
     3.8  }
     3.9  
    3.10  button:hover, a.button:hover {

mercurial