Verified Commit 161f2015 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #2936875 by hiway, markconroy, lauriii, Gauravvvv, smustgrave, thamas:...

Issue #2936875 by hiway, markconroy, lauriii, Gauravvvv, smustgrave, thamas: Umami Theme - follow-up - remove elements, use classes in CSS
parent 779785e2
Loading
Loading
Loading
Loading
+0 −93
Original line number Diff line number Diff line
@@ -131,52 +131,6 @@ blockquote a:focus {
  background-color: #fdfcf9;
}

button,
.button,
.button[type="submit"],
[type="reset"],
[type="submit"] {
  display: inline-block;
  min-width: inherit;
  max-width: inherit;
  margin: 0;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  transition: background-color 0.5s ease;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid #008068;
  border-radius: 3px;
  background-color: #008068;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.2rem;
}
button:hover,
button:active,
button:focus,
.button:hover,
.button:active,
.button:focus {
  transition: background-color 0.5s ease;
  text-decoration: none;
  color: #000;
  border: 2px solid #008068;
  background-color: #e6eee0;
}
button[disabled]:hover,
button[disabled]:active,
button[disabled]:focus,
button[disabled],
.button[disabled]:hover,
.button[disabled]:active,
.button[disabled]:focus,
.button[disabled] {
  cursor: default;
  color: #464646;
  background: #767775;
}

h1 {
  margin: 0 0 1.07rem 0;
  font-family: "Scope One", Georgia, serif;
@@ -260,53 +214,6 @@ img {
  height: auto;
}

.form-select {
  margin: 0.25rem 0;
  color: #000;
  border: 2px solid #767775;
  background: #fff;
  font-size: 1rem;
}

.form-select:focus {
  margin-bottom: 2px;
  border: 2px solid #00836d;
}

input {
  min-width: 100%;
  max-width: 100%;
  margin: 0.25rem 0;
  padding: 0.8rem 0.4rem;
  color: #000;
  border: 2px solid #767775;
  font-size: 1rem;
}
input:focus {
  border: 2px solid #008068;
}
input[type="checkbox"] {
  min-width: inherit;
  max-width: none;
}

textarea {
  padding: 0.8rem 0.4rem;
  color: #000;
  border: 2px solid #767775;
}
textarea:focus {
  border: 2px solid #008068;
}

label {
  display: block;
  margin: 0.25rem 0;
  color: #464646;
  font-size: 1rem;
  font-weight: 700;
}

/**
 * Prevent regression due to fieldset styling that was removed in normalize.css
 * 6.0.0.
+0 −33
Original line number Diff line number Diff line
/**
 * @file
 * Visual styles for tabs.
 */

div.tabs {
  margin: 1em 0;
}
ul.tabs {
  margin: 0 0 0.5em;
  padding: 0;
  list-style: none;
}
.tabs > li {
  display: inline-block;
  margin-right: 0.3em; /* LTR */
}
[dir="rtl"] .tabs > li {
  margin-right: 0;
  margin-left: 0.3em;
}
.tabs a {
  display: block;
  padding: 0.2em 1em;
  text-decoration: none;
}
.tabs a.is-active {
  background-color: #eee;
}
.tabs a:focus,
.tabs a:hover {
  background-color: #f5f5f5;
}
+21 −0
Original line number Diff line number Diff line
@@ -16,6 +16,27 @@
  margin-bottom: 1.28rem;
}

.footer-promo-block__link.footer-promo-block__link {
  color: #fff;
  background-color: inherit;
  font-weight: 700;
}

.footer-promo-block__link.footer-promo-block__link:active,
.footer-promo-block__link.footer-promo-block__link:focus,
footer a.footer-promo-block__link:hover {
  background-color: transparent;
}

.footer-promo-block__link.footer-promo-block__link:after {
  display: inline-block;
  width: 14px;
  height: 14px;
  content: "";
  vertical-align: middle;
  background: url("../../../../images/svg/pointer--white.svg") no-repeat center center;
}

@media screen and (min-width: 60rem) {
  .block-type-footer-promo-block {
    overflow: hidden;
+13 −0
Original line number Diff line number Diff line
@@ -54,6 +54,19 @@
  display: block;
}

.search-form .form-search {
  min-width: 100%;
  max-width: 100%;
  margin: 0.25rem 0;
  padding: 0.8rem 0.4rem;
  color: #000;
  border: 2px solid #767775;
  font-size: 1rem;
}
.search-form .form-search:focus {
  border: 2px solid #008068;
}

.search-form .form-search {
  margin: 0;
}
+36 −0
Original line number Diff line number Diff line
@@ -3,6 +3,42 @@
 * This file is used to style form buttons generically, with overrides per form
 */

.button {
  display: inline-block;
  min-width: inherit;
  max-width: inherit;
  margin: 0;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  transition: background-color 0.5s ease;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 2px solid #008068;
  border-radius: 3px;
  background-color: #008068;
  font-family: "Scope One", Georgia, serif;
  font-size: 1.2rem;
}

.button:hover,
.button:active,
.button:focus {
  transition: background-color 0.5s ease;
  text-decoration: none;
  color: #000;
  background-color: #e6eee0;
}

.button[disabled]:hover,
.button[disabled]:active,
.button[disabled]:focus,
.button[disabled] {
  cursor: default;
  color: #464646;
  background: #767775;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
Loading