Adds option to customize theme font family #338. Some other CSS adjustments.

This commit is contained in:
Mateus Machado Luna 2020-03-03 12:24:47 -03:00
parent 83f4ba6681
commit 75c947fb81
16 changed files with 23 additions and 9 deletions

View File

@ -252,6 +252,7 @@
.dropdown-trigger button {
padding: 0 0.5em !important;
height: auto !important;
min-height: 100%;
i:not(.tainacan-icon-arrowdown) {
margin-top: -3px;

View File

@ -175,6 +175,7 @@
.dropdown-trigger button {
height: auto !important;
font-size: 1em !important;
min-height: 100%;
i:not(.tainacan-icon-arrowdown) {
font-size: 1.25em;

View File

@ -104,6 +104,7 @@
width: 100%;
overflow-x: hidden;
text-overflow: ellipsis;
line-height: 1.3em;
}
}
.collapse-content {

View File

@ -20,7 +20,7 @@ button.link-style:active {
border-radius: 6px !important;
font-weight: normal;
text-transform: inherit;
font-family: inherit;
font-family: var(--tainacan-font-family, inherit);
padding: 2px 13px !important;
margin-top: 0px !important;
margin-bottom: 0px !important;

View File

@ -1,5 +1,6 @@
.b-checkbox.checkbox {
font-family: var(--tainacan-font-family, inherit);
input[type="checkbox"] {
box-shadow: none !important;
}

View File

@ -64,7 +64,8 @@
// Background
--tainacan-background-color: var(--tainacan-white);
// Font size
// Font family and size
--tainacan-font-family: #{$family-sans-serif};
--tainacan-base-font-size: #{$base-font-size};
// Filter Menu Width when not a modal

View File

@ -19,6 +19,7 @@ input[type="week"].input {
height: auto;
line-height: 1em;
font-size: 0.875em;
font-family: var(--tainacan-font-family, inherit);
border-radius: 1px !important;
box-shadow: none !important;
background-color: var(--tainacan-input-background-color);

View File

@ -56,6 +56,7 @@
}
}
.tainacan-modal-content {
font-family: var(--tainacan-font-family, inherit);
border-radius: 0px;
background-color: var(--tainacan-background-color);
padding: 40px $page-side-padding;

View File

@ -1,4 +1,5 @@
.b-radio.radio {
font-family: var(--tainacan-font-family, inherit);
input[type="radio"] + .check {
width: 0.755em !important;

View File

@ -14,6 +14,7 @@
border-radius: 1px !important;
font-weight: normal;
font-size: 0.875em !important;
font-family: var(--tainacan-font-family, inherit);
line-height: 1.5em;
height: auto !important;
padding: calc(0.375em - 1px) 20px calc(0.375em - 1px) 10px !important;

View File

@ -1,6 +1,8 @@
// Tabs
.tabs {
font-size: 1em;
font-family: var(--tainacan-font-family, inherit);
ul {
border-bottom-color: var(--tainacan-input-border-color);
}

View File

@ -1,4 +1,5 @@
.tags {
font-family: var(--tainacan-font-family, inherit);
border: solid 1px var(--tainacan-input-border-color) !important;
border-radius: 20px;
flex-wrap: nowrap;

View File

@ -22,6 +22,7 @@
}
.tooltip {
font-size: 0.6875em;
font-family: var(--tainacan-font-family, inherit);
z-index: 999999999;
display: block !important;

View File

@ -50,7 +50,7 @@ body.tainacan-admin-page #adminmenumain, body.tainacan-admin-page #wpfooter, bod
z-index: 999999;
overflow-y: auto;
margin: 0px !important;
font-family: $family-sans-serif;
font-family: var(--tainacan-font-family, $family-sans-serif);
font-size: 1em;
}

View File

@ -138,9 +138,9 @@
z-index: 99;
top: 123px;
left: 0;
max-width: 33px;
height: 26px;
width: 33px;
max-width: 1.625em;
height: 1.625em;
width: 1.625em;
border: none;
background-color: var(--tainacan-gray5);
color: var(--tainacan-white);

View File

@ -72,8 +72,9 @@ export default {
@import "../admin/scss/_custom_variables.scss";
.theme-items-list {
background: var(--tainacan-background-color);
font-size: var(--tainacan-base-font-size);
background: var(--tainacan-background-color, inherit);
font-size: var(--tainacan-base-font-size, inherit);
font-family: var(--tainacan-font-family, inherit);
position: relative;
-webkit-overflow-scrolling: touch;