Annotation-System/hmml_to_html/cinera__lecture.css

146 lines
4.6 KiB
CSS

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