2
0
mirror of https://github.com/frappe/books.git synced 2024-09-21 03:39:02 +00:00
books/client/style/style.scss

133 lines
1.8 KiB
SCSS
Raw Normal View History

2018-02-08 11:45:32 +00:00
@import "node_modules/bootstrap/scss/bootstrap";
@import "node_modules/awesomplete/awesomplete";
$spacer-1: 0.25rem;
$spacer-2: 0.5rem;
$spacer-3: 1rem;
$spacer-4: 2rem;
html {
2018-02-09 12:55:55 +00:00
font-size: 14px;
2018-02-08 11:45:32 +00:00
}
.main {
border-left: 1px solid $gray-300;
2018-02-12 09:42:26 +00:00
min-height: calc(100vh - 50px);
2018-02-08 11:45:32 +00:00
}
2018-02-09 12:55:55 +00:00
.sidebar {
.list-group-item {
padding: $spacer-2 $spacer-3;
2018-02-12 09:42:26 +00:00
border: none;
2018-02-09 12:55:55 +00:00
}
.list-group-flush {
margin: -$spacer-3;
}
}
2018-02-08 11:45:32 +00:00
.hide {
display: none !important;
}
.page-head {
padding-bottom: $spacer-3;
.btn {
margin-right: $spacer-2;
}
}
.page-error {
text-align: center;
padding: 200px 0px;
}
.form-body {
max-width: 600px;
.form-toolbar {
height: $spacer-4;
margin-bottom: $spacer-3;
}
.alert {
margin-top: $spacer-3;
}
}
.list-row {
.checkbox {
margin-right: $spacer-2;
}
a, a:hover, a:visited, a:active {
color: $gray-800;
}
2018-02-08 11:45:32 +00:00
}
.dropdown-menu-right {
right: 0;
left: auto;
}
.awesomplete {
display: block;
}
.awesomplete > ul > li {
padding: .75rem .375rem;
}
.awesomplete > ul > li:hover {
background: $gray-300;
color: $body-color;
}
.awesomplete > ul > li[aria-selected="true"] {
background: $gray-300;
color: $body-color;
}
.awesomplete > ul > li[aria-selected="true"]:hover {
background: $gray-300;
color: $body-color;
}
mark {
padding: none;
background: inherit;
}
.awesomplete li[aria-selected="true"] mark, .awesomplete li[aria-selected="false"] mark {
background: inherit;
color: inherit;
padding: 0px;
}
.table-wrapper {
2018-02-09 12:55:55 +00:00
margin-top: $spacer-4;
margin-bottom: $spacer-4;
2018-02-08 11:45:32 +00:00
}
.table-toolbar {
margin-top: $spacer-2;
}
.data-table-col .edit-cell {
padding: 0px !important;
input, textarea {
border-radius: none;
margin: none;
padding: $spacer-1;
}
.awesomplete > ul {
position: fixed;
left: auto;
width: auto;
min-width: 120px;
}
}