Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTGB-900: Add style fix for gin theme (6.x) #970

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 89 additions & 16 deletions source/sass/11-base/toolbar/_toolbar.scss
Original file line number Diff line number Diff line change
@@ -1,36 +1,109 @@
// 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;
text-decoration: inherit;
text-transform: inherit;
speak: inherit;
}
}
SvenVdv marked this conversation as resolved.
Show resolved Hide resolved