1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145
|
/* CSS shared by all themes */
.underline {
text-decoration: underline;
}
svg.sn-flow-chart {
width: auto;
height: 300px;
}
@media (max-width: 576px) {
svg.sn-flow-chart {
display: none;
}
}
@media (prefers-reduced-motion: no-preference) {
svg.sn-flow-chart {
--time: 1.5s;
}
svg.sn-flow-chart .specification {
animation: move-spec var(--time) ease-in-out forwards;
}
svg.sn-flow-chart .implementation {
animation: move-impl var(--time) ease-in-out forwards;
}
svg.sn-flow-chart .testcase1,
svg.sn-flow-chart .testcase2 {
animation: move-test var(--time) ease-in-out forwards;
}
svg.sn-flow-chart path.arrow.req-spec {
animation: move-arrow-req-spec var(--time) ease-in-out forwards, show-arrow var(--time) cubic-bezier(0.6, 0, 1.0, 1.0) forwards;
}
svg.sn-flow-chart path.arrow.spec-impl {
animation: move-arrow-spec-impl var(--time) ease-in-out forwards, show-arrow var(--time) cubic-bezier(0.6, 0, 1.0, 1.0) forwards;
}
svg.sn-flow-chart path.arrow.impl-test1,
svg.sn-flow-chart path.arrow.impl-test2 {
animation: move-arrow-impl-test var(--time) ease-in-out forwards, show-arrow var(--time) cubic-bezier(0.6, 0, 1.0, 1.0) forwards;
}
}
@keyframes move-arrow-req-spec {
from {
transform: translateY(-20px);
}
to {
transform: translateY(0);
}
}
@keyframes move-spec {
from {
transform: translateY(-40px);
}
to {
transform: translateY(0);
}
}
@keyframes move-arrow-spec-impl {
from {
transform: translateY(-60px);
}
to {
transform: translateY(0);
}
}
@keyframes move-impl {
from {
transform: translateY(-80px);
}
to {
transform: translateY(0);
}
}
@keyframes move-arrow-impl-test {
from {
transform: translateY(-100px);
}
to {
transform: translateY(0);
}
}
@keyframes move-test {
from {
transform: translateY(-120px);
}
to {
transform: translateY(0);
}
}
@keyframes show-arrow {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Make the grid examples easier to see */
.needs-grid-example {
width: 100% !important;
}
table.needs-grid-example {
border: 1px solid var(--color-table-border);
}
:root {
--sn-architecture-bg: url(../architecture_bg-light.png);
}
.architecture-bg {
background-repeat: no-repeat;
background-size: cover;
background-image: var(--sn-architecture-bg);
}
.needs-example {
padding-left: .6em !important;
border-left: .2rem solid var(--sn-color-docs-example, green) !important;
border-radius: 3px !important;
margin-top: 1.5em !important;
margin-bottom: 1.5em !important;
}
|