Annotation-System/hmml_to_html/cinera__hmdshow.css

146 lines
4.6 KiB
CSS
Raw Normal View History

2017-06-15 22:15:58 +00:00
.title.hmdshow,
.title.hmdshow > .menu .refs,
.title.hmdshow > .menu .filter_container,
.title.hmdshow > .menu > .refs .ref,
.title.hmdshow > .menu > .filter_container .filter_mode,
.title.hmdshow > .menu > .credits_container,
.title.hmdshow > .menu > .credits_container .credit,
.markers_container.hmdshow,
.markers_container.hmdshow > .marker {
background-color: #EEE;
border-color: rgba(120, 4, 4, 0.8);
}
.title.hmdshow,
.title.hmdshow > .menu > .refs .ref,
.title.hmdshow > .menu > .refs .ref .timecode.focused:before,
.title.hmdshow > .menu > .credits_container .credit .name,
.markers_container.hmdshow > .marker > .content {
color: #000;
}
.title.hmdshow > .menu {
transition: box-shadow 800ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: inset 0 0 0 #CB957A;
}
.title.hmdshow > .menu.current {
box-shadow: inset 0px 0px 30px #CB957A;
}
.title.hmdshow > .menu > .refs .ref .ref_indices .timecode.focused,
.markers_container.hmdshow > .marker.current > .content {
color: #000;
}
.title.hmdshow > .menu > .refs .ref.current .ref_indices .timecode.focused {
color: rgba(120, 4, 4, 0.8);
}
.title.hmdshow > .menu.visible,
.title.hmdshow > .menu > .quotes_container .ref.focused,
.title.hmdshow > .menu > .references_container .ref.focused,
.title.hmdshow > .menu > .filter_container .filter_mode:hover,
.title.hmdshow > .menu > .filter_container .filter_content.focused,
.title.hmdshow > .menu > .credits_container .credit *.focused,
.markers_container.hmdshow > .marker:hover > .content {
background-color: #CB957A;
}
.title.hmdshow > .menu > .refs .ref.current .source,
.title.hmdshow > .menu > .refs .ref.current .quote_byline,
.title.hmdshow > .menu > .refs .ref.current .ref_indices .timecode.focused:before {
color: #C4C4C4;
}
.title.hmdshow > .menu > .refs .ref.current,
.markers_container.hmdshow > .marker > .progress .content {
color: #FFF;
}
.title.hmdshow > .menu > .refs .ref.current,
.markers_container.hmdshow > .marker > .progress .content {
background-color: rgb(203, 149, 122);
}
.markers_container.hmdshow > .marker:hover > .faded .content {
background-color: rgba(203, 149, 122, 0.7);
}
.title.hmdshow > .menu > .refs .ref .source,
.title.hmdshow > .menu > .refs .ref .quote_byline,
.title.hmdshow > .menu > .filter_container .filter_content.off .text,
.title.hmdshow > .menu > .credits_container .credit .role {
color: #3D3D3D;
}
/* Blackboard */
.title.hmdshow .filter_content.blackboard,
.markers_container.hmdshow .blackboard > .content,
.markers_container.hmdshow .off_blackboard > .content,
.markers_container.hmdshow > .marker.blackboard > .progress .content,
.markers_container.hmdshow > .marker:hover.blackboard > .faded .content {
background-size: 12px 12px;
background-position: center;
}
.title.hmdshow .filter_content.blackboard,
.markers_container.hmdshow .blackboard > .content {
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.hmdshow .off_blackboard > .content {
background-image: linear-gradient(to right , rgba(51, 153, 255, .08) 1px, transparent 1px),
linear-gradient(to bottom, rgba(51, 153, 255, .08) 1px, transparent 1px);
}
.markers_container.hmdshow > .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.hmdshow > .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);
}
/* TODO(matt):
*
* .markers_container.hmdshow > marker.run
*/
@keyframes hmdshow_fade_mode {
0% { color: #FFF; }
100% { color: #000; }
}
@keyframes hmdshow_fade_text {
0% { color: #000; }
100% { color: #888; }
}
@keyframes hmdshow_fade_background {
0% { background-color: rgba(246, 178, 26, 0.8);}
100% { background-color: #EEE; }
}
/* TODO(matt): Get this to work! */
.title.hmdshow > .menu > .filter_container .filter_mode.responsible {
animation-name: hmdshow_fade_mode;
}
.title.hmdshow .filter_content.responsible .text {
animation-name: hmdshow_fade_text;
}
.title.hmdshow > .menu.filter.responsible,
.title.hmdshow .filter_content.responsible,
.title.hmdshow > .menu > .filter_container .filter_mode.responsible {
animation-name: hmdshow_fade_background;
}