diff --git a/src/browser/pages/error.css b/src/browser/pages/error.css index aa8932e17..42ccf8c7b 100644 --- a/src/browser/pages/error.css +++ b/src/browser/pages/error.css @@ -1,20 +1,28 @@ .error-display { box-sizing: border-box; - color: #fcfcfc; padding: 20px; text-align: center; } +.error-display > .header { + font-size: 6rem; + margin: 0; +} + +.error-display > .body { + color: #444; + font-size: 1.2rem; +} + .error-display > .links { - margin-top: 1rem; + margin-top: 16px; } .error-display > .links > .link { - color: #b6b6b6; + color: rgb(87, 114, 245); text-decoration: none; } .error-display > .links > .link:hover { - color: #fcfcfc; text-decoration: underline; } diff --git a/src/browser/pages/error.html b/src/browser/pages/error.html index 6231b5791..4c8419adc 100644 --- a/src/browser/pages/error.html +++ b/src/browser/pages/error.html @@ -7,7 +7,7 @@ content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" /> - code-server {{ERROR_TITLE}} + {{ERROR_TITLE}} - code-server .header { + border-bottom: 1px solid #ddd; + color: #444; + padding: 30px; +} + +.card-box > .header > .main { + margin: 0; + font-size: 1.5rem; +} + +.card-box > .header > .sub { + color: #555; + margin-top: 10px; +} + +.card-box > .content { + padding: 40px; +} + +.card-box + .card-box { + margin-top: 26px; +} diff --git a/src/browser/pages/home.css b/src/browser/pages/home.css index b20dbce56..795eeb7d5 100644 --- a/src/browser/pages/home.css +++ b/src/browser/pages/home.css @@ -1,28 +1,8 @@ -.info-blocks { - max-width: 500px; - width: 100%; -} - -.info-block > .header { - font-size: 1.3rem; - margin: 1.5rem 0; -} - -.info-block > .none { - color: #b6b6b6; -} - -.info-block + .info-block { - border-top: 1px solid #666; - margin-top: 1rem; -} - .block-row { display: flex; } .block-row > .item { - color: #c4c4c4; flex: 1; } @@ -31,16 +11,17 @@ } .block-row > .item > .sub { - color: #888; + font-size: 0.95em; } .block-row .-link { - cursor: pointer; + color: rgb(87, 114, 245); + display: block; text-decoration: none; } .block-row .-link:hover { - color: #fafafa; + text-decoration: underline; } .block-row > .item > .icon { @@ -51,8 +32,8 @@ } .block-row > .item > .icon.-missing { - background-color: #eee; - color: #b6b6b6; + background-color: rgb(87, 114, 245); + color: #fff; text-align: center; } @@ -67,16 +48,12 @@ } .kill-form > .kill { - background-color: transparent; + background-color: rgb(87, 114, 245); border: none; - color: #b6b6b6; + color: #fff; cursor: pointer; font-size: 1rem; line-height: 1rem; margin: 0; padding: 0; } - -.kill-form > .kill:hover { - color: #fafafa; -} diff --git a/src/browser/pages/home.html b/src/browser/pages/home.html index a6aa8db98..ce2343644 100644 --- a/src/browser/pages/home.html +++ b/src/browser/pages/home.html @@ -20,15 +20,18 @@
-
- - - - - + + + + + -
-

Launch

+
+
+

Launch

+
Choose an application to launch below.
+
+ +
-
-

Version

+
+
+

Version

+
Version information and updates.
+
+
{{UPDATE:NAME}}
- - - - - - - - - -
+ + + + + + + + + +
diff --git a/src/browser/pages/login.css b/src/browser/pages/login.css index 81ff08cb5..43d03e7ee 100644 --- a/src/browser/pages/login.css +++ b/src/browser/pages/login.css @@ -1,65 +1,33 @@ body { overflow: auto; } -.center-container { - width: 100vw; - height: 100vh; - padding: 20px 40px; - min-height: 400px; -} .login-form { - border-radius: 5px; - box-shadow: rgba(60, 66, 87, 0.117647) 0px 7px 14px 0px, rgba(0, 0, 0, 0.117647) 0px 3px 6px 0px; - color: rgba(0, 0, 0, 0.37); display: flex; flex-direction: column; flex: 1; justify-content: center; - padding: 20px 40px; - position: relative; - - height: 300px; - min-width: 320px; - max-width: 500px; -} - -.main { - font-size: 40px; -} - -.login-form > .header { - align-items: center; - color: black; -} - -.login-form > .header > .sub { - margin-top: 10px; } .login-form > .field { - margin-top: 40px; display: flex; flex-direction: row; width: 100%; - height: 50px; } .login-form > .error { color: red; - margin-top: 1rem; + margin-top: 16px; } .login-form > .field > .password { - border: 1px solid #ddd; - background: rgb(244, 247, 252); - box-sizing: border-box; - padding: 1rem; - flex: 1; - font-size: 20px; + background-color: rgb(244, 247, 252); border-radius: 5px; + border: 1px solid #ddd; + box-sizing: border-box; color: black; - min-width: 100px; + flex: 1; + padding: 16px; } .login-form > .user { @@ -67,14 +35,5 @@ body { } .login-form > .field > .submit { - font-size: 20px; - border: none; - box-sizing: border-box; margin-left: 20px; - - background-color: rgb(87, 114, 245); - color: white; - font-family: monospace; - padding: 10px 20px; - border-radius: 5px; } diff --git a/src/browser/pages/login.html b/src/browser/pages/login.html index 164396d02..40ed2f445 100644 --- a/src/browser/pages/login.html +++ b/src/browser/pages/login.html @@ -22,31 +22,34 @@
-