Commit 5c0702f5 authored by Romain Courteaud's avatar Romain Courteaud

WIP erp5_web_renderjs_ui: XXX ugly more visible focus

parent 53497114
...@@ -267,7 +267,7 @@ a:hover { ...@@ -267,7 +267,7 @@ a:hover {
} }
a:focus { a:focus {
outline-offset: -2px; outline-offset: -2px;
outline: 2px solid #3388cc; outline: 2px solid #ffff8a;
} }
@media not screen and (max-width: 85em) { @media not screen and (max-width: 85em) {
a[accesskey]:after { a[accesskey]:after {
...@@ -418,10 +418,13 @@ button::-moz-focus-inner { ...@@ -418,10 +418,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,7 +75,9 @@ ...@@ -75,7 +75,9 @@
</item> </item>
<item> <item>
<key> <string>content_type</string> </key> <key> <string>content_type</string> </key>
<value> <string>text/css</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
...@@ -230,7 +232,7 @@ ...@@ -230,7 +232,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>georgios.dagkakis</string> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -244,7 +246,7 @@ ...@@ -244,7 +246,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>980.28021.30830.63778</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,8 +264,8 @@ ...@@ -262,8 +264,8 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1593579172.65</float> <float>1600941690.9</float>
<string>GMT+2</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
@colorsubheaderbackground: #0E81C2; @colorsubheaderbackground: #0E81C2;
@colorsubheaderlink: #f8fff3; @colorsubheaderlink: #f8fff3;
@colorfocus: #3388cc; @colorfocus: #ffff8a;
@colorblocklinkbackground: #e0e0e0; @colorblocklinkbackground: #e0e0e0;
@paneldarkerbackgroundcolor: @black; @paneldarkerbackgroundcolor: @black;
...@@ -526,10 +526,16 @@ input[type=submit], button { ...@@ -526,10 +526,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