Commit 770805ea authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: configure button focus

erp5_web_renderjs_ui: keep previous focus color
parent 404e1200
...@@ -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
......
...@@ -75,9 +75,7 @@ ...@@ -75,9 +75,7 @@
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
<value> <value> <string>text/css</string> </value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
...@@ -246,7 +244,7 @@ ...@@ -246,7 +244,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>990.6663.38009.56354</string> </value> <value> <string>986.53918.32237.3225</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -264,7 +262,7 @@ ...@@ -264,7 +262,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1613660719.23</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