diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-29 21:22:05 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-29 21:22:05 +0900 |
commit | b711678329463d1ec5f2eb9db99f99af5b69895e (patch) | |
tree | ce65ff2c7979d27d86049d5cb13a6d43672817dc /src | |
parent | 041eacf4fbea1486b00c196343bbbe2df4f0970b (diff) |
iframe 100% height
Diffstat (limited to 'src')
-rw-r--r-- | src/command-line/command-line-frame.scss | 2 | ||||
-rw-r--r-- | src/command-line/command-line.scss | 22 |
2 files changed, 17 insertions, 7 deletions
diff --git a/src/command-line/command-line-frame.scss b/src/command-line/command-line-frame.scss index 67bf514..88772d9 100644 --- a/src/command-line/command-line-frame.scss +++ b/src/command-line/command-line-frame.scss @@ -4,7 +4,7 @@ bottom: 0; left: 0; width: 100%; - height: 20px; + height: 100%; position: fixed; z-index: 10000; border: none; diff --git a/src/command-line/command-line.scss b/src/command-line/command-line.scss index 2256bf2..68a0a03 100644 --- a/src/command-line/command-line.scss +++ b/src/command-line/command-line.scss @@ -3,29 +3,39 @@ html, body, * { padding: 0; } +body { + position: absolute; + bottom: 0; + left: 0; + right: 0; +} + .vimvixen-command-line { border-top: 1px solid gray; bottom: 0; margin: 0; padding: 0; + @mixin input-style { + font-style: normal; + font-family: monospace; + font-size: 12px; + } + + &-title { background-color: lightgray; font-weight: bold; margin: 0; padding: 0; + + @include input-style; } &-line { background-color: white; display: flex; - @mixin input-style { - font-style: normal; - font-family: monospace; - font-size: 12px; - } - &-prompt:before { content: ':'; |