mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 04:05:57 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Changed to be rendered server side along with page content. Changed deletion to fully delete comments from the database. Added 'local_id' to comments for referencing. Updated reply system to be non-nested (Incomplete) Made database comment format entity-agnostic to be more future proof. Updated designs of comment sections.
62 lines
1.2 KiB
SCSS
62 lines
1.2 KiB
SCSS
// Variables
|
|
///////////////
|
|
|
|
// Sizes
|
|
$max-width: 1400px;
|
|
|
|
// Screen breakpoints
|
|
$xl: 1100px;
|
|
$ipad-width: 1028px; // Is actually 1024 but we go over to ensure functionality.
|
|
$l: 1000px;
|
|
$m: 800px;
|
|
$s: 600px;
|
|
$xs: 400px;
|
|
$xxs: 360px;
|
|
$screen-lg: 1200px;
|
|
$screen-md: 992px;
|
|
$screen-sm: 768px;
|
|
|
|
// Spacing (Margins+Padding)
|
|
$-xxxl: 64px;
|
|
$-xxl: 48px;
|
|
$-xl: 32px;
|
|
$-l: 24px;
|
|
$-m: 16px;
|
|
$-s: 12px;
|
|
$-xs: 6px;
|
|
$-xxs: 3px;
|
|
|
|
// Fonts
|
|
$text: -apple-system, BlinkMacSystemFont,
|
|
"Segoe UI", "Oxygen", "Ubuntu", "Roboto", "Cantarell",
|
|
"Fira Sans", "Droid Sans", "Helvetica Neue",
|
|
sans-serif;
|
|
$mono: "Lucida Console", "DejaVu Sans Mono", "Ubunto Mono", Monaco, monospace;
|
|
$heading: $text;
|
|
$fs-m: 15px;
|
|
$fs-s: 14px;
|
|
|
|
// Colours
|
|
$primary: #0288D1;
|
|
$primary-dark: #0288D1;
|
|
$secondary: #e27b41;
|
|
$positive: #52A256;
|
|
$negative: #E84F4F;
|
|
$info: $primary;
|
|
$warning: $secondary;
|
|
$primary-faded: rgba(21, 101, 192, 0.15);
|
|
|
|
// Item Colors
|
|
$color-book: #009688;
|
|
$color-chapter: #ef7c3c;
|
|
$color-page: $primary;
|
|
$color-page-draft: #9A60DA;
|
|
|
|
// Text colours
|
|
$text-dark: #444;
|
|
$text-light: #EEE;
|
|
|
|
// Shadows
|
|
$bs-light: 0 0 4px 1px #CCC;
|
|
$bs-med: 0 1px 3px 1px rgba(76, 76, 76, 0.26);
|
|
$bs-hover: 0 2px 2px 1px rgba(0,0,0,.13); |