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 {
color: #2FA2E4;
text-decoration: none;
}
a:active,
a:hover,
a:focus {
outline: none;
}
a[href=""] {
color: #1F1F1F;
}
......@@ -345,10 +340,6 @@ textarea {
border-radius: 0;
font-family: "Courier New", Courier, monospace;
}
textarea:active,
textarea:focus {
outline: none;
}
::-webkit-input-placeholder {
color: #575757;
}
......@@ -376,24 +367,12 @@ button {
background-color: #FFFFFF;
color: #1F1F1F;
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,
button::-moz-focus-inner {
border: 0px;
padding: 0px;
}
input[type=submit]:disabled,
button:disabled {
color: #FFFFFF;
outline: 0 solid #FFFFFF;
}
/**********************************************
* Media
**********************************************/
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>951.35286.47701.22630</string> </value>
<value> <string>952.10134.56146.36130</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1466520882.85</float>
<float>1467039078.03</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -261,10 +261,6 @@ mark {
text-decoration: none;
&:active, &:hover, &:focus {
outline: none;
}
&[href=""] {
color: @colorforeground;
}
......@@ -404,10 +400,6 @@ textarea {
color: @colortextboxforeground;
border-radius: 0;
font-family: @monospace;
&:active, &:focus {
outline: none;
}
}
::-webkit-input-placeholder {
......@@ -427,9 +419,6 @@ textarea {
}
input[type=submit], button {
&:active, &:focus {
outline: 0 @border-type @colorforeground;
}
&::-moz-focus-inner {
border : 0px;
padding: 0px;
......@@ -448,11 +437,6 @@ input[type=submit], button {
color: @colorforeground;
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