From de9294727c95d6acec82f335c8517930c2f211b1 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 13 Jun 2017 22:49:57 +0200 Subject: [PATCH] Added tel input type to admin CSS. --- django/contrib/admin/static/admin/css/base.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/django/contrib/admin/static/admin/css/base.css b/django/contrib/admin/static/admin/css/base.css index b2a40c49b2..5dfeaffe81 100644 --- a/django/contrib/admin/static/admin/css/base.css +++ b/django/contrib/admin/static/admin/css/base.css @@ -423,7 +423,7 @@ textarea { } input[type=text], input[type=password], input[type=email], input[type=url], -input[type=number], textarea, select, .vTextField { +input[type=number], input[type=tel], textarea, select, .vTextField { border: 1px solid #ccc; border-radius: 4px; padding: 5px 6px; @@ -431,8 +431,8 @@ input[type=number], textarea, select, .vTextField { } input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, -input[type=url]:focus, input[type=number]:focus, textarea:focus, select:focus, -.vTextField:focus { +input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus, +textarea:focus, select:focus, .vTextField:focus { border-color: #999; }