Commit fbb50a50 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Do not remove outline

It prevent accessibility, as focused elements are not visible
parent 01cd4fbf
...@@ -232,11 +232,6 @@ a { ...@@ -232,11 +232,6 @@ a {
color: #2FA2E4; color: #2FA2E4;
text-decoration: none; text-decoration: none;
} }
a:active,
a:hover,
a:focus {
outline: none;
}
a[href=""] { a[href=""] {
color: #1F1F1F; color: #1F1F1F;
} }
...@@ -345,10 +340,6 @@ textarea { ...@@ -345,10 +340,6 @@ textarea {
border-radius: 0; border-radius: 0;
font-family: "Courier New", Courier, monospace; font-family: "Courier New", Courier, monospace;
} }
textarea:active,
textarea:focus {
outline: none;
}
::-webkit-input-placeholder { ::-webkit-input-placeholder {
color: #575757; color: #575757;
} }
...@@ -376,24 +367,12 @@ button { ...@@ -376,24 +367,12 @@ button {
background-color: #FFFFFF; background-color: #FFFFFF;
color: #1F1F1F; color: #1F1F1F;
cursor: pointer; cursor: pointer;
outline: 0 solid #1F1F1F;
}
input[type=submit]:active,
button:active,
input[type=submit]:focus,
button:focus {
outline: 0 solid #1F1F1F;
} }
input[type=submit]::-moz-focus-inner, input[type=submit]::-moz-focus-inner,
button::-moz-focus-inner { button::-moz-focus-inner {
border: 0px; border: 0px;
padding: 0px; padding: 0px;
} }
input[type=submit]:disabled,
button:disabled {
color: #FFFFFF;
outline: 0 solid #FFFFFF;
}
/********************************************** /**********************************************
* Media * Media
**********************************************/ **********************************************/
......
...@@ -230,7 +230,7 @@ ...@@ -230,7 +230,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>951.35286.47701.22630</string> </value> <value> <string>952.10134.56146.36130</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1466520882.85</float> <float>1467039078.03</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -261,10 +261,6 @@ mark { ...@@ -261,10 +261,6 @@ mark {
text-decoration: none; text-decoration: none;
&:active, &:hover, &:focus {
outline: none;
}
&[href=""] { &[href=""] {
color: @colorforeground; color: @colorforeground;
} }
...@@ -404,10 +400,6 @@ textarea { ...@@ -404,10 +400,6 @@ textarea {
color: @colortextboxforeground; color: @colortextboxforeground;
border-radius: 0; border-radius: 0;
font-family: @monospace; font-family: @monospace;
&:active, &:focus {
outline: none;
}
} }
::-webkit-input-placeholder { ::-webkit-input-placeholder {
...@@ -427,9 +419,6 @@ textarea { ...@@ -427,9 +419,6 @@ textarea {
} }
input[type=submit], button { input[type=submit], button {
&:active, &:focus {
outline: 0 @border-type @colorforeground;
}
&::-moz-focus-inner { &::-moz-focus-inner {
border : 0px; border : 0px;
padding: 0px; padding: 0px;
...@@ -448,11 +437,6 @@ input[type=submit], button { ...@@ -448,11 +437,6 @@ input[type=submit], button {
color: @colorforeground; color: @colorforeground;
cursor: pointer; cursor: pointer;
outline: 0 @border-type @colorforeground;
&:disabled {
color: @colorbackground;
outline: 0 @border-type @colorbackground;
}
} }
/********************************************** /**********************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment