Просмотр исходного кода

Amélioration design affichage des inputs dans dropdowns

Marien Fressinaud 13 лет назад
Родитель
Сommit
57f657c04b
2 измененных файлов с 16 добавлено и 0 удалено
  1. 2 0
      app/layout/aside_feed.phtml
  2. 14 0
      public/theme/global.css

+ 2 - 0
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'); ?>" />

+ 14 - 0
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;