From 52c62d4c70e177c622580aef3618aba50da9adf8 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Thu, 21 May 2015 23:04:08 -0700 Subject: [PATCH] fixed some but not all responsive issues --- cmd/drone-server/static/index.html | 3 + .../static/scripts/views/login.html | 62 ++++++++++++++++++- .../static/scripts/views/repos_add.html | 4 +- .../static/scripts/views/repos_edit.html | 8 +-- cmd/drone-server/static/styles/drone.css | 22 ++++--- 5 files changed, 82 insertions(+), 17 deletions(-) diff --git a/cmd/drone-server/static/index.html b/cmd/drone-server/static/index.html index b511653b0..3645fa94d 100644 --- a/cmd/drone-server/static/index.html +++ b/cmd/drone-server/static/index.html @@ -1,6 +1,9 @@ + + + diff --git a/cmd/drone-server/static/scripts/views/login.html b/cmd/drone-server/static/scripts/views/login.html index edb07a5fd..d14fc597e 100644 --- a/cmd/drone-server/static/scripts/views/login.html +++ b/cmd/drone-server/static/scripts/views/login.html @@ -1,4 +1,59 @@ -

Login

+
Oops. There was an unexpected error. Please try again.
@@ -7,4 +62,7 @@
Self-registration is disabled. Please contact the system admin to grant access.
-Login + + + + diff --git a/cmd/drone-server/static/scripts/views/repos_add.html b/cmd/drone-server/static/scripts/views/repos_add.html index 6aacf0017..74b2c3b06 100644 --- a/cmd/drone-server/static/scripts/views/repos_add.html +++ b/cmd/drone-server/static/scripts/views/repos_add.html @@ -26,8 +26,8 @@
- Cancel - + Cancel +
diff --git a/cmd/drone-server/static/scripts/views/repos_edit.html b/cmd/drone-server/static/scripts/views/repos_edit.html index 6512ae076..c6fd134a0 100644 --- a/cmd/drone-server/static/scripts/views/repos_edit.html +++ b/cmd/drone-server/static/scripts/views/repos_edit.html @@ -86,15 +86,15 @@

Badges

-
Build Status
+
Markdown
- {{ window.location.origin }}/api/badges/{{ repo.full_name }}/status.svg +
[![Build Status]({{ window.location.origin }}/api/badges/{{ repo.full_name }}/status.svg)]({{ window.location.origin }}/{{ repo.full_name }})
CCMenu
- {{ window.location.origin }}/api/badges/{{ repo.full_name }}/cc.xml +
{{ window.location.origin }}/api/badges/{{ repo.full_name }}/cc.xml
@@ -102,7 +102,7 @@

Public Key

-
{{ repo.keypair.public }}
+
{{ repo.keypair.public }}
diff --git a/cmd/drone-server/static/styles/drone.css b/cmd/drone-server/static/styles/drone.css index 1cf69031c..a18370110 100644 --- a/cmd/drone-server/static/styles/drone.css +++ b/cmd/drone-server/static/styles/drone.css @@ -792,7 +792,7 @@ } .nav-item.settings:before { - font-size: 20px; + font-size: 22px; content: '\f060'; } @@ -805,16 +805,16 @@ } .nav-item.star:after { - font-size: 20px; + font-size: 24px; content: "\f2e7"; } .nav-item.unstar:after { - font-size: 20px; + font-size: 24px; content: "\f2e5"; } .nav-item.add:after { - font-size: 22px; + font-size: 24px; content: "\f0fd"; } @@ -1356,6 +1356,7 @@ section .row > div:first-child { padding: 30px 0px; border-bottom: 1px solid #EEE; width: 200px; + min-width: 200px; font-size:14px; color: #757575; } @@ -1448,16 +1449,20 @@ section > .search a:hover { background: #00ACC1; } -pre.key { +pre.snippet { white-space: pre-wrap; word-wrap: break-word; - padding:30px; font-size:13px; line-height:18px; color:#9E9E9E; font-family: "Droid Sans Mono","Roboto","Arial"; } + +pre.snippet-padding { + padding:30px; +} + textarea:focus, input:focus{ outline: 0; } @@ -1511,7 +1516,7 @@ textarea:focus, input:focus{ width: 50px; height: 20.833333333333336px; border-radius: 10.416666666666668px; - background: #bdbdbd; + background: #E0E0E0; -webkit-transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1); transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1); vertical-align: middle; @@ -1524,8 +1529,7 @@ textarea:focus, input:focus{ left: -2.604166666666667px; width: 26.04166666666667px; height: 26.04166666666667px; - background: #fafafa; - box-shadow: 0 2px 10.416666666666668px rgba(0,0,0,0.28); + background: #bdbdbd; border-radius: 50%; -webkit-transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1); transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);