Skip to content

Commit 9231b4a

Browse files
committed
Theme: Comment for new visual focus class
1 parent d9fc576 commit 9231b4a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

themes/base/theme.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
.ui-widget-content .ui-state-default,
5353
.ui-widget-header .ui-state-default,
5454
.ui-button,
55+
56+
/* We use html here because we need a greater specificity to make sure disabled
57+
works properly when clicked or hovered */
5558
html .ui-button.ui-state-disabled:hover,
5659
html .ui-button.ui-state-disabled:active {
5760
border: 1px solid #c5c5c5/*{borderColorDefault}*/;
@@ -95,6 +98,8 @@ a.ui-button:focus {
9598
color: #2b2b2b/*{fcHover}*/;
9699
text-decoration: none;
97100
}
101+
102+
/* This cant be configured with themeroller because its new may end up added later */
98103
.ui-visual-focus {
99104
box-shadow: 0 0 3px 1px rgb(94, 158, 214);
100105
}
@@ -197,7 +202,7 @@ a.ui-button:active,
197202
.ui-state-focus .ui-icon,
198203
.ui-button:hover .ui-icon,
199204
.ui-button:focus .ui-icon,
200-
.ui-state-default .ui-icon{
205+
.ui-state-default .ui-icon {
201206
background-image: url("images/ui-icons_555555_256x240.png")/*{iconsHover}*/;
202207
}
203208
.ui-state-active .ui-icon,

0 commit comments

Comments
 (0)