From 37cf7c0e8ccaffb11b743da45eaea4a2897bad94 Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Wed, 11 May 2011 17:07:08 -0400 Subject: [PATCH] Style for invite forms and width fix for Onboard popup. --- lib/inviteform.php | 10 -------- theme/neo/css/display.css | 48 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 12 deletions(-) diff --git a/lib/inviteform.php b/lib/inviteform.php index 7b3c164cc8..da23d31264 100644 --- a/lib/inviteform.php +++ b/lib/inviteform.php @@ -65,16 +65,6 @@ class InviteForm extends Form return 'form_invite'; } - /** - * class of the form - * - * @return string of the form class - */ - function formClass() - { - return 'form_settings'; - } - /** * Action of the form * diff --git a/theme/neo/css/display.css b/theme/neo/css/display.css index 2ca9831963..dbf9b70cd2 100644 --- a/theme/neo/css/display.css +++ b/theme/neo/css/display.css @@ -1057,7 +1057,7 @@ background-color:rgba(200, 200, 200, 0.300); background-color: #f2f2f2; } -.form_notice input.submit, .form_settings input.submit, .form_settings input.cancel { +.form_notice input.submit, .form_settings input.submit, .form_settings input.cancel, #form_invite input.submit { height: 1.9em; padding: 0px 10px; color:#fff; @@ -1075,7 +1075,7 @@ background-color:rgba(200, 200, 200, 0.300); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d63', endColorstr='#FB6104',GradientType=0 ); } -.form_notice input.submit:hover, .form_settings input.submit:hover, .form_settings input.cancel:hover { +.form_notice input.submit:hover, .form_settings input.submit:hover, .form_settings input.cancel:hover, #form_invite input.submit:hover { text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6); background: #ff9d63; background: -moz-linear-gradient(top, #FB6104 , #fc8035); @@ -1128,6 +1128,45 @@ background-color:rgba(200, 200, 200, 0.300); padding-top: 25px; } +#invite #content p { + margin-bottom: 15px; +} + +#invite #content ul { + list-style-type: none; + margin-bottom: 25px; + margin-left: 25px; +} + +#invite #content li { + background: url(../images/resultset_next.png) no-repeat 0px 3px; + padding-left: 20px; + margin-bottom: 10px; +} + +#invite #content #form_invite ul, #invite #content #form_invite li { + margin-left: 0px; + padding-left: 0px; + background: none; +} + +#form_invite input[type=text], #form_invite textarea { + width: 250px; + padding: 5px; + border: 1px solid #a6a6a6; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); + -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2); +} + +#form_invite textarea { + clear: left; + width: 508px; + height: 48px; +} #content thead th { text-align:left; @@ -1339,6 +1378,11 @@ ul.bookmark-tags a:hover { padding: 10px; } +.onboard_iframe #wrap { + width: auto; + background: none; +} + .onboard_welcome p { margin-bottom: 10px; } -- 2.39.5