]> source.dussan.org Git - nextcloud-server.git/commitdiff
UI tweaks for name selector combobox.
authorThomas Tanghus <thomas@tanghus.net>
Thu, 16 Feb 2012 09:36:34 +0000 (10:36 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Thu, 16 Feb 2012 09:38:00 +0000 (10:38 +0100)
apps/contacts/css/contacts.css
apps/contacts/templates/part.contact.php

index 8a85dd51c1ef2069e7df3cb504262666f7f63933..384541f37518cc751b1b48b30f4360adec5d94ad 100644 (file)
@@ -20,6 +20,7 @@
 #firstrun { /*border: thin solid lightgray;*/ width: 80%; margin: 5em auto auto auto; text-align: center; font-weight:bold; font-size:1.5em;  color:#777;}
 #firstrun #selections { /*border: thin solid lightgray;*/ font-size:0.8em;  width: 100%; margin: 2em auto auto auto; clear: both; }
 
+#card input[type="text"].contacts_property,input[type="email"].contacts_property { width: 16em; }
 #card input[type="text"],input[type="email"],input[type="tel"],input[type="date"], select { background-color: #f8f8f8; border: 0 !important; -webkit-appearance:none !important; -moz-appearance:none  !important; -webkit-box-sizing:none !important; -moz-box-sizing:none !important; box-sizing:none !important; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px; float: left; }
 #card input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,input[type="email"]:hover,input[type="tel"]:hover,input[type="date"]:hover,input[type="date"],input[type="date"]:hover,input[type="date"]:active,input[type="date"]:active,input[type="date"]:active,input[type="email"]:active,input[type="tel"]:active, select:hover, select:focus, select:active { border: 0 !important; -webkit-appearance:textfield; -moz-appearance:textfield; -webkit-box-sizing:content-box; -moz-box-sizing:content-box; box-sizing:content-box; background:#fff; color:#333; border:1px solid #ddd; -moz-box-shadow:0 1px 1px #fff, 0 2px 0 #bbb inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 0 #bbb inset; box-shadow:0 1px 1px #fff, 0 1px 0 #bbb inset; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em; outline:none; float: left; }
 input[type="text"]:invalid,input[type="email"]:invalid,input[type="tel"]:invalid,input[type="date"]:invalid { background-color: #ffc0c0 !important; }
index bca3d9cbc2a73b99572bbe13f10d6d1c21bce79e..408b595dc95843c30df9d10afdf64d8d46e348a1 100644 (file)
@@ -45,10 +45,6 @@ $id = isset($_['id']) ? $_['id'] : '';
                <dt><label for="fn"><?php echo $l->t('Display name'); ?></label></dt>
                <dd class="propertycontainer" data-element="FN">
                <select id="fn_select" title="<?php echo $l->t('Format custom, Short name, Full name, Reverse or Reverse with comma'); ?>" style="width:16em;">
-                       <option id="short" title="Short name"></option>
-                       <option id="full" title="Full name"></option>
-                       <option id="reverse" title="Reverse"></option>
-                       <option id="reverse_comma" title="Reverse with comma"></option>
                </select><a id="edit_name" class="edit" title="<?php echo $l->t('Edit name details'); ?>"></a>
                </dd>
                <dt style="display:none;" id="org_label" data-element="ORG"><label for="org"><?php echo $l->t('Organization'); ?></label></dt>