Skip to content

Commit

Permalink
fix(font-issue): remove Conv_apercu_bold font
Browse files Browse the repository at this point in the history
  • Loading branch information
AliAlaqrabawi3 committed Nov 6, 2024
1 parent 8b54a7b commit f5830cb
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 117 deletions.
71 changes: 19 additions & 52 deletions control/content/assets/css/bf_base.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
/* General */
@font-face {
font-family: 'Conv_apercu_bold';
src: url('fonts/apercu_bold.eot');
src: local('☺'), url('fonts/apercu_bold.woff') format('woff'), url('fonts/apercu_bold.ttf') format('truetype'), url('fonts/apercu_bold.svg') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Conv_apercu_regular';
src: url('fonts/apercu_regular.eot');
src: local('☺'), url('fonts/apercu_regular.woff') format('woff'), url('fonts/apercu_regular.ttf') format('truetype'), url('fonts/apercu_regular.svg') format('svg');
font-weight: normal;
font-style: normal;
}

/* Variables */
:root{
--c-primary: #05acf0;
Expand All @@ -38,9 +21,7 @@
html {
font-size: 16px !important;
}
body {
font-family: 'Conv_apercu_regular','Helvetica','Sans-Serif','Arial';
}

/* Text */
p {
font-size: .875rem;
Expand All @@ -60,7 +41,7 @@ label{
font-size: .75rem;
}
h4, h5, h6 {
margin-bottom: .5em;
margin-bottom: .5em;
}
.section-title, h1{
font-size: 1.125rem;
Expand All @@ -69,19 +50,10 @@ margin-bottom: .5em;
padding-top: .875rem;
margin-bottom: 1.5rem;
margin-top: 0;
font-family: 'Conv_apercu_bold','Helvetica','Sans-Serif','Arial';
}
.section-title::before,
h1::before {
display: block;
content: '';
height: .25rem;
width: 3.5rem;
margin-bottom: .875rem;
background-color: var(--c-info);
}

.text-secondary {
color: var(--c-gray6);
color: var(--c-gray6);
}
.subtitle, h2{
font-size: 1.125rem;
Expand All @@ -90,7 +62,6 @@ h1::before {
padding-top: .875rem;
margin-bottom: 1.25rem;
margin-top: 0;
font-family: 'Conv_apercu_regular','Helvetica','Sans-Serif','Arial';
}

/* Form Controls */
Expand All @@ -101,7 +72,6 @@ input[type="date"],
input[type="email"],
input[type="number"],
textarea {
/* font-family: 'Conv_apercu_regular','Helvetica','Sans-Serif','Arial'; */
font-size: .85rem;
padding: .375rem .75rem;
border: 1px solid var(--c-gray3);
Expand All @@ -124,23 +94,23 @@ textarea::-webkit-input-placeholder {
}

textarea:-moz-placeholder { /* Firefox 18- */
color: var(--c-gray4) !important;
color: var(--c-gray4) !important;
}

textarea::-moz-placeholder { /* Firefox 19+ */
color: var(--c-gray4) !important;
color: var(--c-gray4) !important;
}

textarea:-ms-input-placeholder {
color: var(--c-gray4) !important;
color: var(--c-gray4) !important;
}

textarea::placeholder {
color: var(--c-gray4) !important;
color: var(--c-gray4) !important;
}

input[type="date"] {
font-size: .75rem;
font-size: .75rem;
}
select:hover,
select:active,
Expand All @@ -157,19 +127,18 @@ input[type="password"]:active {
border: 1px solid var(--c-primary);
}
input[type="text"]::placeholder {
font-family: 'Conv_apercu_regular','Helvetica','Sans-Serif','Arial';
font-size: .875rem;
color: var(--c-gray4);
}
.dropdown-menu{
min-width: 15rem;
}
.input-control {
margin: 1rem 0;
margin: 1rem 0;
}
.input-control input,
.input-control textarea {
width: 100%;
width: 100%;
}
.input-control label {
font-size: .875rem;
Expand Down Expand Up @@ -260,7 +229,6 @@ button{
box-shadow: 0;
}
.btn {
font-family: 'Conv_apercu_regular','Helvetica','Sans-Serif','Arial';
font-size: .75rem;
min-width: 6rem;
height: 2.125rem;
Expand All @@ -275,7 +243,7 @@ button{
}
.btn--icon {
width: 2.5rem;
height: 2.5rem;
height: 2.5rem;
border-radius: .25rem;
font-size: 1.125rem;
display: flex;
Expand Down Expand Up @@ -534,7 +502,7 @@ p.info-note {
margin-bottom: 1.5rem;
border-radius: 0.25rem;
}
p.info-note.info-note-transparent {
p.info-note.info-note-transparent {
margin-top: 1rem;
background-color: transparent;
padding: 0.5rem 0rem;
Expand Down Expand Up @@ -588,7 +556,7 @@ p.info-note.info-note-transparent {
font-size: .875rem;
}
.link--default {
color: var(--c-primary);
color: var(--c-primary);
}

/* Empty State */
Expand All @@ -613,7 +581,6 @@ color: var(--c-primary);
}

.table span.email {
font-family: 'Conv_apercu_regular','Helvetica','Sans-Serif','Arial';
font-size: .875rem;
padding: .5rem .75rem;
border: 1px solid transparent;
Expand All @@ -626,7 +593,7 @@ color: var(--c-primary);
overflow: hidden;
}
.text--black {
color: var(--c-info);
color: var(--c-info);
}
.padded {
padding: 16px;
Expand All @@ -643,7 +610,7 @@ color: var(--c-info);
.padded-y {
padding-left: 0;
padding-right: 0;
}
}
.padded-x {
padding-top: 0;
padding-bottom: 0;
Expand All @@ -663,7 +630,7 @@ color: var(--c-info);
.margin-y {
margin-left: 0;
margin-right: 0;
}
}
.margin-x {
margin-top: 0;
margin-bottom: 0;
Expand Down Expand Up @@ -833,7 +800,7 @@ color: var(--c-info);
transition: all ease-in-out .1s;
z-index: 2;
}
.filters-dropdown .input-control.side-label label,
.filters-dropdown .input-control.side-label label,
.filters-dropdown .input-control.side-label .label-wrap{
width: 20%;
font-size: .75rem;
Expand Down Expand Up @@ -878,4 +845,4 @@ html[buildfire] .modal .modal-dialog {
left: auto !important;
transform: unset;
margin: 0;
}
}
Loading

0 comments on commit f5830cb

Please sign in to comment.