Commit a4e61e4b authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: configure button focus

erp5_web_renderjs_ui: keep previous focus color
parent f7e5c3cd
...@@ -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>
...@@ -234,7 +232,7 @@ ...@@ -234,7 +232,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <unicode>zope</unicode> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -248,7 +246,7 @@ ...@@ -248,7 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1009.18653.16090.52258</string> </value> <value> <string>986.53918.32237.3225</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -268,7 +266,7 @@ ...@@ -268,7 +266,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1687535887.84</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