Skip to content

Commit

Permalink
Merge pull request #970 from StadGent/feature/DTGB-900-6.x
Browse files Browse the repository at this point in the history
DTGB-900: Add style fix for gin theme (6.x)
  • Loading branch information
SvenVdv authored Jan 8, 2024
2 parents 7e05c73 + abd5b38 commit a65a7f5
Showing 1 changed file with 88 additions and 15 deletions.
103 changes: 88 additions & 15 deletions source/sass/11-base/toolbar/_toolbar.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,105 @@
// Restore fonts, margins and paddings in admin toolbar.
// Restore fonts, margins and paddings in adminimal admin toolbar.
body {
// Fix adminimal toolbar font size issue.
.toolbar {
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
font-size: 100%;
}
.adminimal-admin-toolbar {
// Fix adminimal toolbar font size issue.
.toolbar {
html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
font-size: 100%;
}

a {
font-size: .65rem !important;
a {
font-size: 0.65rem !important;
}
}

ul {
li {
margin-bottom: 0;
}
&.gin--vertical-toolbar {
.toolbar {
&-menu {
.menu-item {
.toolbar-menu {
.menu-item {
a.toolbar-icon {
font-size: 0.8rem;
}
}
}
}
}
}
}

// Fix adminimal toolbar icon issue.
.toolbar-icon {
font-family: inherit;
}
}

// Fix fonts on logged in pages.
body[class*='icon-'] {
body[class*="icon-"] {
font-family: inherit;
font-size: .9rem;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
Expand Down

0 comments on commit a65a7f5

Please sign in to comment.