aboutsummaryrefslogtreecommitdiff
path: root/p/themes/Dark
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-01-25 16:34:13 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-01-25 16:34:13 +0100
commit0aa0686b09ca2d18b217f960ab374e6a20d1c862 (patch)
tree8dd926e39ca3994944cbe29ad9f74cc70c735450 /p/themes/Dark
parent4b05dcf90838f78f7493a49fa7f8fdde0637ac02 (diff)
Certains input s'agrandissent à la sélection
Désormais, les champs marqués d'un .extend s'étendront sur 300px (taille par défaut = 180px). Cela a été impliqué dans tous les thèmes. Le champs de recherche bénéficie de cette amélioration (mais ce dernier est un peu plus grand par défaut) Voir issue #375
Diffstat (limited to 'p/themes/Dark')
-rw-r--r--p/themes/Dark/freshrss.css5
-rw-r--r--p/themes/Dark/global.css11
2 files changed, 13 insertions, 3 deletions
diff --git a/p/themes/Dark/freshrss.css b/p/themes/Dark/freshrss.css
index 19809c215..77dd1fc4f 100644
--- a/p/themes/Dark/freshrss.css
+++ b/p/themes/Dark/freshrss.css
@@ -31,7 +31,6 @@
}
.header > .item.search input {
width: 230px;
- transition: width 200ms linear;
}
.header .item.search input:focus {
width: 330px;
@@ -825,9 +824,9 @@ select.number option {
background: #1c1c1c;
}
-.header > .item.search input {
+input.extend {
-moz-transition: width 200ms linear;
- -webkit-transition: width 200ms linear;
+ -webkit-transition: width 200ms linear;
-o-transition: width 200ms linear;
-ms-transition: width 200ms linear;
}
diff --git a/p/themes/Dark/global.css b/p/themes/Dark/global.css
index b02f00526..f96f83fc8 100644
--- a/p/themes/Dark/global.css
+++ b/p/themes/Dark/global.css
@@ -87,6 +87,13 @@ label {
line-height: 25px;
cursor: pointer;
}
+input {
+ width: 180px;
+}
+textarea {
+ width: 360px;
+ height: 100px;
+}
input, select, textarea {
display: inline-block;
max-width: 100%;
@@ -116,6 +123,10 @@ input, select, textarea {
border-color: red;
box-shadow: 0 0 2px 1px red;
}
+ input:focus.extend {
+ width: 300px;
+ transition: width 200ms linear;
+ }
.form-group {
margin: 0;