Annotation-System/hmml_to_html/riscy.css

129 lines
3.8 KiB
CSS
Raw Normal View History

.title.riscy,
.title.riscy > .menu .refs,
.title.riscy > .menu .filter_container,
.title.riscy > .menu > .refs .ref,
.title.riscy > .menu > .filter_container .filter_mode,
.markers_container.riscy,
.markers_container.riscy > .marker {
background-color: #EEE;
border-color: rgba(246, 178, 26, 0.8);
2017-04-13 00:21:04 +00:00
}
.title.riscy,
.title.riscy > .menu > .refs .ref,
.title.riscy > .menu > .refs .ref .timecode:hover::before,
.markers_container.riscy > .marker > .content {
color: #000;
}
.title.riscy > .menu {
2017-04-13 00:21:04 +00:00
transition: box-shadow 800ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: inset 0 0 0 #2A3172;
}
.title.riscy > .menu:hover,
.title.riscy > .menu > .refs .ref:hover,
.title.riscy > .menu > .filter_container .filter_mode:hover,
.title.riscy > .menu > .filter_container .filter_content:hover,
.markers_container.riscy > .marker:hover > .content {
2017-04-13 00:21:04 +00:00
background-color: #FFF8E7;
}
.title.riscy > .menu.current {
2017-04-13 00:21:04 +00:00
box-shadow: inset 0px 0px 30px #2A3172;
}
.title.riscy > .menu > .refs .ref.current,
.title.riscy > .menu > .refs .ref.current .timecode:hover::before,
.markers_container.riscy > .marker > .progress .content {
color: #FFF;
2017-04-13 00:21:04 +00:00
}
.title.riscy > .menu > .refs .ref.current,
.markers_container.riscy > .marker > .progress .content {
background-color: rgb(42, 49, 114);
2017-04-13 00:21:04 +00:00
}
.title.riscy > .menu > .refs .ref .source,
.title.riscy > .menu > .refs .ref .quote_byline,
.title > .menu > .filter_container .filter_content.off .text {
color: #888;
}
.title.riscy > .menu > .refs .ref.current .source,
.title.riscy > .menu > .refs .ref.current .quote_byline {
2017-04-13 00:21:04 +00:00
color: #FFF8E7;
}
.title.riscy > .menu > .refs .ref.current:hover,
2017-04-13 00:21:04 +00:00
.markers_container.riscy > .marker:hover > .faded .content {
background-color: rgba(42, 49, 114, 0.7);
}
/* Regular */
.title.riscy > .menu > .refs .ref .ref_indices .timecode:hover,
2017-04-13 00:21:04 +00:00
.markers_container.riscy > .marker.current > .content {
color: #2A3172;
}
/* Blackboard */
.title.riscy .filter_content.blackboard,
.markers_container.riscy .blackboard > .content,
.markers_container.riscy > .marker.blackboard > .progress .content,
2017-04-13 00:21:04 +00:00
.markers_container.riscy > .marker:hover.blackboard > .faded .content {
background-size: 12px 12px;
background-position: center;
}
.title.riscy .filter_content.blackboard,
.markers_container.riscy .blackboard > .content {
2017-04-13 00:21:04 +00:00
background-image: linear-gradient(to right , rgba(51, 153, 255, .16) 1px, transparent 1px),
linear-gradient(to bottom, rgba(51, 153, 255, .16) 1px, transparent 1px);
}
.markers_container.riscy > .marker.blackboard > .progress .content {
background-image: linear-gradient(to right , rgba(255, 255, 255, .16) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, .16) 1px, transparent 1px);
}
.markers_container.riscy > .marker:hover.blackboard > .faded .content {
background-image: linear-gradient(to right , rgba(0, 0, 0, .16) 1px, transparent 1px),
linear-gradient(to bottom, rgba(0, 0, 0, .16) 1px, transparent 1px);
2017-04-13 00:21:04 +00:00
}
/* TODO(matt):
*
* .markers_container.riscy > marker.run
*/
@keyframes riscy_fade_mode {
0% { color: #FFF; }
100% { color: #000; }
}
@keyframes riscy_fade_text {
0% { color: #FFF; }
100% { color: #888; }
}
@keyframes riscy_fade_background {
0% { background-color: rgba(42, 49, 114, 0.7); }
100% { background-color: #EEE; }
}
/* TODO(matt): Get this to work! */
.title.riscy > .menu > .filter_container .filter_mode.responsible {
animation-name: riscy_fade_mode;
}
.title.riscy .filter_content.responsible .text {
animation-name: riscy_fade_text;
}
.title.riscy > .menu.filter.responsible,
.title.riscy .filter_content.responsible,
.title.riscy > .menu > .filter_container .filter_mode.responsible {
animation-name: riscy_fade_background;
}