Commit f6b09edc authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: configure button focus

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