linkding/bookmarks/styles/base.scss

93 lines
1.5 KiB
SCSS
Raw Normal View History

2019-06-29 17:45:08 +00:00
body {
2019-07-07 07:22:55 +00:00
margin: 20px 10px;
2021-03-28 22:43:50 +00:00
@media (min-width: $size-sm) {
// High horizontal padding accounts for checkboxes that show up in bulk edit mode
margin: 20px 24px;
}
2019-06-29 17:45:08 +00:00
}
header {
margin-bottom: 40px;
}
2019-07-07 07:22:55 +00:00
.navbar {
2019-06-29 17:45:08 +00:00
2019-07-07 07:22:55 +00:00
.navbar-brand {
2021-03-28 10:11:56 +00:00
display: flex;
align-items: center;
2019-07-07 07:22:55 +00:00
.logo {
2021-03-28 10:11:56 +00:00
width: 28px;
height: 28px;
2019-07-07 07:22:55 +00:00
}
h1 {
text-transform: uppercase;
display: inline-block;
2021-03-28 10:11:56 +00:00
margin: 0 0 0 8px;
2019-07-07 07:22:55 +00:00
}
2019-06-29 17:45:08 +00:00
}
2019-07-07 07:22:55 +00:00
.dropdown-toggle {
2019-06-29 17:45:08 +00:00
}
}
/* Overrides */
// Reduce heading sizes
h1 {
font-size: inherit;
}
h2 {
font-size: .85rem;
color: $gray-color-dark;
}
2021-03-28 10:11:56 +00:00
// Fix up visited styles
a:visited {
color: $link-color;
}
a:visited:hover {
color: $link-color-dark;
}
.btn-link:visited:not(.btn-primary) {
color: $link-color;
}
.btn-link:visited:not(.btn-primary):hover {
color: $link-color-dark;
2019-06-29 17:45:08 +00:00
}
// Increase spacing between columns
.container > .columns > .column:not(:first-child) {
padding-left: 2rem;
}
// Remove left padding from first pagination link
.pagination .page-item:first-child a {
padding-left: 0;
}
// Override border color for tab block
.tab-block {
border-bottom: solid 1px $border-color;
2021-03-28 10:11:56 +00:00
}
// Form auto-complete menu
.form-autocomplete .menu {
.menu-item.selected > a, .menu-item > a:hover {
background: $secondary-color;
color: $primary-color;
}
.group-item, .group-item:hover {
color: $gray-color;
text-transform: uppercase;
background: none;
font-size: 0.6rem;
font-weight: bold;
}
}