Annotation-System/hmml_to_html/obbg.css

176 lines
5.9 KiB
CSS
Raw Normal View History

2017-04-13 00:21:04 +00:00
/*
* Colours:
* Main Purple: #372F46 or rgba(55, 47, 70, 1);
* Highlight Green: #3A4A3F or rbga(58, 74, 63, 1);
*/
2017-04-13 00:21:04 +00:00
.title.obbg {
background-color: #EEE;
color: #000;
border-color: #372F46;
2017-04-13 00:21:04 +00:00
}
.title.obbg .refs_container {
transition: box-shadow 800ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: inset 0 0 0 #372F46;
}
.title.obbg .refs_container:hover {
background-color: #FFF8E7;
}
.title.obbg > .refs_container.current {
box-shadow: inset 0px 0px 30px #372F46;
}
.title.obbg .refs_container .refs {
background-color: #EEE;
border-color: #372F46;
2017-04-13 00:21:04 +00:00
}
.title.obbg .refs_container > .refs .ref {
border-color: #372F46;
2017-04-13 00:21:04 +00:00
color: #000000;
}
.title.obbg .refs_container > .refs .ref.current {
background-color: #372F46;
color: #FFFFFF;
}
.title.obbg .refs_container > .refs .ref:hover {
background-color: #DDD;
2017-04-13 00:21:04 +00:00
}
.title.obbg .refs_container > .refs .ref.current:hover {
background-color: #68557E;
2017-04-13 00:21:04 +00:00
}
.title.obbg .refs_container > .refs .ref .source {
color: #888;
}
.title.obbg .refs_container > .refs .ref .quote_byline {
color: #888;
}
2017-04-13 00:21:04 +00:00
.title.obbg .refs_container > .refs .ref.current .source {
color: #FFF8E7;
}
/* Regular */
.markers_container.obbg {
background-color: #EEE;
2017-04-13 00:21:04 +00:00
}
.markers_container.obbg > .marker {
border-color: #888;
2017-04-13 00:21:04 +00:00
}
.markers_container.obbg > .marker:hover > .content {
background-color: #DDD;
2017-04-13 00:21:04 +00:00
}
.markers_container.obbg > .marker:hover > .faded .content {
background-color: #68557E;
2017-04-13 00:21:04 +00:00
color: #FFFFFF;
}
.markers_container.obbg > .marker > .content {
color: #000000;
}
.markers_container.obbg > .marker.current > .content {
color: #102369;
2017-04-13 00:21:04 +00:00
}
.markers_container.obbg > .marker > .progress .content {
background-color: #372C44;
color: #EEE;
2017-04-13 00:21:04 +00:00
}
/* Blackboard */
.markers_container.obbg > .marker:hover.blackboard > .content {
background-color: #FFF8E7;
background-size: 12px 12px;
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);
background-position: center;
}
.markers_container.obbg > .marker:hover.blackboard > .faded .content {
background-color: rgba(42, 49, 114, 0.7);
background-size: 12px 12px;
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);
background-position: center;
color: #FFFFFF;
}
.markers_container.obbg > .marker.blackboard > .content {
background-color: #FFFFFF;
background-size: 12px 12px;
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);
background-position: center;
color: #000000;
}
.markers_container.obbg > .marker.blackboard.current > .content {
color: #2A3172;
}
.markers_container.obbg > .marker.blackboard > .progress .content {
background-color: #2A3172;
background-size: 12px 12px;
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);
background-position: center;
color: #FFFFFF;
}
/* TODO(matt):
*
* .markers_container.obbg > marker.run
*/
/* Run */
.markers_container.obbg > .marker.run > .content {
background: rgb(114,171,206); /* Old browsers */
background: -moz-linear-gradient(top, rgba(114,171,206,.5) 0%, rgba(82,178,82,.5) 18%, rgba(82,178,82,.5) 22%, rgba(198,194,110,.5) 38%, rgba(198,194,110,.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(114,171,206,.5) 0%,rgba(82,178,82,.5) 18%,rgba(82,178,82,.5) 22%,rgba(198,194,110,.5) 38%,rgba(198,194,110,.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(114,171,206,.5) 0%,rgba(82,178,82,.5) 18%,rgba(82,178,82,.5) 22%,rgba(198,194,110,.5) 38%,rgba(198,194,110,.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#72abce', endColorstr='#c6c26e',GradientType=0 ); /* IE6-9 */
color: #000000;
}
.markers_container.obbg > .marker:hover.run > .content {
background: rgb(114,171,206); /* Old browsers */
background: -moz-linear-gradient(top, rgba(114,171,206,.5) 0%, rgba(82,178,82,.5) 18%, rgba(82,178,82,.5) 22%, rgba(198,194,110,.5) 38%, rgba(198,194,110,.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(114,171,206,.5) 0%,rgba(82,178,82,.5) 18%,rgba(82,178,82,.5) 22%,rgba(198,194,110,.5) 38%,rgba(198,194,110,.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(114,171,206,.6) 0%,rgba(82,178,82,.6) 18%,rgba(82,178,82,.6) 22%,rgba(198,194,110,.6) 38%,rgba(198,194,110,.6) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#72abce', endColorstr='#c6c26e',GradientType=0 ); /* IE6-9 */
}
.markers_container.obbg > .marker:hover.run > .faded .content {
background-color: rgba(42, 49, 114, 0.7);
background-size: 12px 12px;
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);
background-position: center;
color: #FFFFFF;
}
.markers_container.obbg > .marker.run.current > .content {
color: #2A3172;
}
.markers_container.obbg > .marker.run > .progress .content {
background-color: #2A3172;
background-size: 12px 12px;
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);
background-position: center;
color: #FFFFFF;
}