diff options
author | Teddy Wing | 2016-02-21 22:05:50 +0100 |
---|---|---|
committer | Teddy Wing | 2016-02-21 22:06:58 +0100 |
commit | 842176e9079794e71942f9398c226d1ea0634c0d (patch) | |
tree | b865955a815ab79070bc0b21fd28d4f97349e105 /app/assets/stylesheets | |
parent | 453aa64be8ba11c7ee8684b5a4095579f52f2e23 (diff) | |
download | Notes-angular-demo-842176e9079794e71942f9398c226d1ea0634c0d.tar.bz2 |
Update styles on sans-angular
Get styles to be the same as the mainline version with the textarea
instead of a `contenteditable` div.
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r-- | app/assets/stylesheets/components/type.scss | 4 | ||||
-rw-r--r-- | app/assets/stylesheets/layouts/_global.scss | 20 |
2 files changed, 23 insertions, 1 deletions
diff --git a/app/assets/stylesheets/components/type.scss b/app/assets/stylesheets/components/type.scss index 7e8fc05..d4e4ecf 100644 --- a/app/assets/stylesheets/components/type.scss +++ b/app/assets/stylesheets/components/type.scss @@ -3,6 +3,10 @@ } +.font-size-16 { + font-size: 16px; +} + .font-size-28 { font-size: 28px; } diff --git a/app/assets/stylesheets/layouts/_global.scss b/app/assets/stylesheets/layouts/_global.scss index 5113083..2873b13 100644 --- a/app/assets/stylesheets/layouts/_global.scss +++ b/app/assets/stylesheets/layouts/_global.scss @@ -37,6 +37,20 @@ body { } +.border-none { + border: none; +} + + +.outline-none { + outline: none; +} + + +.width-100\% { + width: 100%; +} + .min-height-100\% { min-height: 100%; } @@ -117,8 +131,12 @@ $sidebar-width: 250px; .note-editor { margin-left: $sidebar-width; padding: 12px 15px; - font: 18px/1.7 Georgia, Times, serif; outline: none; + + textarea { + font: 18px/1.7 Georgia, Times, serif; + height: 480px; + } } |