From 190fc28437ca42765672195c0b5bb76963cfdaba Mon Sep 17 00:00:00 2001 From: Tom Slominski Date: Fri, 6 Mar 2015 15:01:19 +0000 Subject: [PATCH] Splitting labels into two --- index.php | 20 ++++++++++++-------- public/style.css | 22 ++++++++++++++++++---- 2 files changed, 30 insertions(+), 12 deletions(-) diff --git a/index.php b/index.php index b45cd40..313ffee 100644 --- a/index.php +++ b/index.php @@ -10,23 +10,27 @@ $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title

-
- +
+ +
-
- +
+ +
-
- +
+ +
-
- +
+ +
diff --git a/public/style.css b/public/style.css index 48b0133..ed16a3b 100644 --- a/public/style.css +++ b/public/style.css @@ -100,18 +100,32 @@ a, a:visited { } /* Forms */ -input:not([type=submit]):not([type=file]) { - padding: 10px; +.form-item { + padding: 2%; } -.full-width input:not([type=submit]):not([type=file]) { +.full-width { width: 100%; } -.half-width input:not([type=submit]):not([type=file]) { +.half-width { width: 50%; } +label.primary { + font-weight: bold; +} + +label.secondary { + color: #CCC; +} + +input:not([type=submit]):not([type=file]) { + width: 100%; + padding: 10px; +} + + /* Tooltips */ .qtip-default { border-color: #013F6D;