-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding tabbable events #987
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,12 @@ | |
.rbc-event { | ||
padding: @event-padding; | ||
background-color: @event-bg; | ||
border: 0; | ||
border-radius: @event-border-radius; | ||
color: @event-color; | ||
cursor: pointer; | ||
width: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. instead lets do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm |
||
text-align: left; | ||
|
||
.rbc-slot-selecting & { | ||
cursor: inherit; | ||
|
@@ -15,6 +18,10 @@ | |
&.rbc-selected { | ||
background-color: darken(@event-bg, 10%); | ||
} | ||
|
||
&:focus { | ||
border: 2px solid red; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we rely on the default focus outline instead? that will also avoid the shifting of buttons as you tab and their border grows There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmmm I think only Chrome has a default focus outline. Looking at the agent stylesheet it seems to be: There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. you don't see an focus outline when tabbing through buttons on FF et all? They should all have something. The main reason i want to stick what the browser default here is it's easier for folks to reset and control themselves, as opposed to having to undo our styles and add something else. It doesn't need to be pretty, just easily changeable There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
} | ||
} | ||
|
||
.rbc-event-label { | ||
|
@@ -44,4 +51,3 @@ | |
border-bottom-left-radius: 0; | ||
border-bottom-right-radius: 0; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we probably need a more aggressive button style reset if we are gonna use the button tag. e.g.