Skip to content

Commit

Permalink
Tweak editable styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
flachware committed Feb 22, 2017
1 parent 7c30eb3 commit 24a50a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
6 changes: 3 additions & 3 deletions src/stylesheets/abstracts/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ $note-lines: 2;
// Editable
// --------------------------------------------------

$editable-border-width: 0;
$editable-padding-vertical: 3px;
$editable-border-width: 3px;
$editable-padding-vertical: 0;
$editable-padding-horizontal: 3px;
$editable-border-radius: 0;
$editable-border-radius: 3px;


// Resizable
Expand Down
11 changes: 1 addition & 10 deletions src/stylesheets/components/_editable.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,5 @@
background: $editable-bg;
border-radius: $editable-border-radius;
margin: -2em 0; // For the sake of safety

#sidebar & {
height: ($line-height-large - 2 * $editable-padding-vertical);
line-height: 2;
}

.item-table & {
height: ($row-height - 2 * $editable-padding-vertical);
line-height: 2;
}
background-clip: padding-box;
}
2 changes: 1 addition & 1 deletion src/stylesheets/themes/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ $note-active-bg: $brand-primary;
// Editable
$editable-color: $text-color;
$editable-bg: $shade-0;
$editable-border-color: $brand-primary-60;
$editable-border-color: $shade-9-10;
$editable-meta-field-bg: $shade-3;

// Wizard
Expand Down

0 comments on commit 24a50a8

Please sign in to comment.