From: Shuanglei Tao Date: Fri, 12 Jul 2019 12:53:01 +0000 (+0800) Subject: html: update modal style X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=ef0027474c9fb81d1fa4bdac13a380013033f2ff;p=ttyd.git html: update modal style --- diff --git a/html/src/components/modal/modal.scss b/html/src/components/modal/modal.scss index 9dc17b2..a99873b 100644 --- a/html/src/components/modal/modal.scss +++ b/html/src/components/modal/modal.scss @@ -16,7 +16,7 @@ position: absolute; right: 0; top: 0; - background-color: hsla(0, 0%, 4%, 0.86); + background-color: #4a4a4acc; } .modal-content { @@ -28,8 +28,6 @@ .box { background-color: #fff; - border-radius: 5px; - box-shadow: 0 2px 3px hsla(0, 0%, 4%, 0.1), 0 0 0 1px hsla(0, 0%, 4%, 0.1); color: #4a4a4a; display: block; padding: 1.25rem; @@ -53,8 +51,9 @@ } .file-cta { + cursor: pointer; background-color: #f5f5f5; - color: #4a4a4a; + color: #6200ee; outline: none; align-items: center; box-shadow: none; @@ -67,6 +66,7 @@ border-color: #dbdbdb; border-radius: 3px; font-size: 1em; + font-weight: 500; padding: calc(.375em - 1px) 1em; white-space: nowrap; } diff --git a/html/src/components/zmodem/index.tsx b/html/src/components/zmodem/index.tsx index fe779d3..24d3952 100644 --- a/html/src/components/zmodem/index.tsx +++ b/html/src/components/zmodem/index.tsx @@ -35,9 +35,7 @@ export class ZmodemAddon extends Component implements ITerminalAdd ); diff --git a/src/index.html b/src/index.html index b8b52dd..4490ade 100644 --- a/src/index.html +++ b/src/index.html @@ -1 +1 @@ -ttyd - Terminal \ No newline at end of file +ttyd - Terminal \ No newline at end of file