summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-28 13:42:33 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-28 13:42:33 +0200
commit57f657c04b89c54e6a6b3995a715acfc84a664a7 (patch)
tree6f068f959d2549c8ccf9024c9bbe5945522b982c
parenta0d9d93ad2f6a174c0476bd596d6fddda77d0b04 (diff)
Amélioration design affichage des inputs dans dropdowns
-rw-r--r--app/layout/aside_feed.phtml2
-rw-r--r--public/theme/global.css14
2 files changed, 16 insertions, 0 deletions
diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml
index ec4993a70..158f012d0 100644
--- a/app/layout/aside_feed.phtml
+++ b/app/layout/aside_feed.phtml
@@ -22,6 +22,8 @@
</li>
<?php } ?>
+ <li class="separator"></li>
+
<li class="dropdown-header"><?php echo Translate::t ('http_authentication'); ?></li>
<li class="input">
<input type="text" name="username" id="username" placeholder="<?php echo Translate::t ('username'); ?>" />
diff --git a/public/theme/global.css b/public/theme/global.css
index d619c4e99..99b335585 100644
--- a/public/theme/global.css
+++ b/public/theme/global.css
@@ -356,6 +356,20 @@ input, select, textarea {
color: #fff;
text-decoration: none;
}
+ .dropdown .dropdown-menu .input {
+ display: block;
+ height: 40px;
+ font-size: 90%;
+ line-height: 30px;
+ }
+ .dropdown .dropdown-menu .input input {
+ display: block;
+ height: 20px;
+ width: 95%;
+ margin: auto;
+ padding: 2px 5px;
+ border-radius: 3px;
+ }
.dropdown .dropdown-menu .separator {
display: block;
height: 0;