Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save shawnphoffman/7632279 to your computer and use it in GitHub Desktop.

Select an option

Save shawnphoffman/7632279 to your computer and use it in GitHub Desktop.
Windows 8 HTML/JS App: Selected items color overrides. Added the checkmark and checkmarkbackground css.
/* override selection color */
.win-container.win-selected .win-selectionborder {
border-color: #000 !important;
}
.win-container.win-selected:hover .win-selectionborder {
border-color: #000 !important;
}
.win-selected .win-selectionbackground {
background-color: #0c9ced !important;
}
.win-selected:hover .win-selectionbackground {
background-color: #0c9ced !important;
}
.win-selected .win-selectioncheckmark {
color: #FFF;
}
.win-selected:hover .win-selectioncheckmark {
color: #FFF;
}
.win-selected:hover .win-selectioncheckmarkbackground {
border-top: solid 20px #000;
border-right: solid 20px #000;
border-left: solid 20px transparent;
border-bottom: solid 20px transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment