Commit ba42a10a authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: configure button focus

erp5_web_renderjs_ui: keep previous focus color
parent e00ee144
......@@ -427,10 +427,13 @@ button::-moz-focus-inner {
padding: 0px;
}
input[type=submit]:hover,
button:hover,
button:hover {
outline: none;
}
input[type=submit]:focus,
button:focus {
outline: none;
outline-offset: -2px;
outline: 2px solid #3388cc;
}
/**********************************************
* Media
......
......@@ -75,9 +75,7 @@
</item>
<item>
<key> <string>content_type</string> </key>
<value>
<none/>
</value>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
......@@ -246,7 +244,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>989.27549.43950.31078</string> </value>
<value> <string>986.53918.32237.3225</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -264,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1611220748.32</float>
<float>1600941690.9</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -529,10 +529,16 @@ input[type=submit], button {
background:transparent;
color: @colorforeground;
&:hover, &:focus {
&:hover {
outline: none;
}
&:focus {
// XXX TODO
outline-offset: -2px;
outline: 2px @border-type @focus-border-color;
}
/*
// XXX TODO
// transition: background-color 0.2s ease-out;
......
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