|
| 1 | +/** |
| 2 | + * Base styles |
| 3 | + * TODO Move to the app structure |
| 4 | + */ |
| 5 | +.splash { |
| 6 | + text-align: center; |
| 7 | + margin: 10% 0 0 0; |
| 8 | + box-sizing: border-box; |
| 9 | +} |
| 10 | + |
| 11 | +.splash .message { |
| 12 | + font-size: 72px; |
| 13 | + line-height: 72px; |
| 14 | + text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px; |
| 15 | + text-transform: uppercase; |
| 16 | + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
| 17 | +} |
| 18 | + |
| 19 | +.splash .fa-spinner { |
| 20 | + text-align: center; |
| 21 | + display: inline-block; |
| 22 | + font-size: 72px; |
| 23 | + margin-top: 50px; |
| 24 | +} |
| 25 | + |
| 26 | +.page-host { |
| 27 | + position: absolute; |
| 28 | + left: 0; |
| 29 | + right: 0; |
| 30 | + top: 50px; |
| 31 | + bottom: 0; |
| 32 | + overflow-x: hidden; |
| 33 | + overflow-y: auto; |
| 34 | +} |
| 35 | + |
| 36 | +@media print { |
| 37 | + .page-host { |
| 38 | + position: absolute; |
| 39 | + left: 10px; |
| 40 | + right: 0; |
| 41 | + top: 50px; |
| 42 | + bottom: 0; |
| 43 | + overflow-y: inherit; |
| 44 | + overflow-x: inherit; |
| 45 | + } |
| 46 | +} |
| 47 | + |
| 48 | +section { |
| 49 | + margin: 0 20px; |
| 50 | +} |
| 51 | + |
| 52 | +.navbar-nav li.loader { |
| 53 | + margin: 12px 24px 0 6px; |
| 54 | +} |
| 55 | + |
| 56 | +.pictureDetail { |
| 57 | + max-width: 425px; |
| 58 | +} |
| 59 | + |
| 60 | +/* animate page transitions */ |
| 61 | +section.au-enter-active { |
| 62 | + -webkit-animation: fadeIn 0.5s; |
| 63 | + animation: fadeIn 0.5s; |
| 64 | +} |
| 65 | +section.au-leave-active { |
| 66 | + -webkit-animation: fadeOut 0.5s; |
| 67 | + animation: fadeOut 0.5s; |
| 68 | +} |
| 69 | + |
| 70 | +div.au-stagger { |
| 71 | + /* 50ms will be applied between each successive enter operation */ |
| 72 | + -webkit-animation-delay: 50ms; |
| 73 | + animation-delay: 50ms; |
| 74 | +} |
| 75 | + |
| 76 | +.card-container.au-enter { |
| 77 | + opacity: 0 !important; |
| 78 | +} |
| 79 | + |
| 80 | +.card-container.au-enter-active { |
| 81 | + -webkit-animation: fadeIn 2s; |
| 82 | + animation: fadeIn 2s; |
| 83 | +} |
| 84 | + |
| 85 | +.card { |
| 86 | + overflow: hidden; |
| 87 | + position: relative; |
| 88 | + border: 1px solid #CCC; |
| 89 | + border-radius: 8px; |
| 90 | + text-align: center; |
| 91 | + padding: 0; |
| 92 | + background-color: #337ab7; |
| 93 | + color: rgb(136, 172, 217); |
| 94 | + margin-bottom: 32px; |
| 95 | + box-shadow: 0 0 5px rgba(0, 0, 0, .5); |
| 96 | +} |
| 97 | + |
| 98 | +.card .content { |
| 99 | + margin-top: 10px; |
| 100 | +} |
| 101 | + |
| 102 | +.card .content .name { |
| 103 | + color: white; |
| 104 | + text-shadow: 0 0 6px rgba(0, 0, 0, .5); |
| 105 | + font-size: 18px; |
| 106 | +} |
| 107 | + |
| 108 | +.card .header-bg { |
| 109 | + /* This stretches the canvas across the entire hero unit */ |
| 110 | + position: absolute; |
| 111 | + top: 0; |
| 112 | + left: 0; |
| 113 | + width: 100%; |
| 114 | + height: 70px; |
| 115 | + border-bottom: 1px #FFF solid; |
| 116 | + border-radius: 6px 6px 0 0; |
| 117 | +} |
| 118 | + |
| 119 | +.card .avatar { |
| 120 | + position: relative; |
| 121 | + margin-top: 15px; |
| 122 | + z-index: 100; |
| 123 | +} |
| 124 | + |
| 125 | +.card .avatar img { |
| 126 | + width: 100px; |
| 127 | + height: 100px; |
| 128 | + -webkit-border-radius: 50%; |
| 129 | + -moz-border-radius: 50%; |
| 130 | + border-radius: 50%; |
| 131 | + border: 2px #FFF solid; |
| 132 | +} |
| 133 | + |
| 134 | +/* animation definitions */ |
| 135 | +@keyframes fadeInRight { |
| 136 | + 0% { |
| 137 | + opacity: 0; |
| 138 | + -webkit-transform: translate3d(100%, 0, 0); |
| 139 | + -ms-transform: translate3d(100%, 0, 0); |
| 140 | + transform: translate3d(100%, 0, 0) |
| 141 | + } |
| 142 | + 100% { |
| 143 | + opacity: 1; |
| 144 | + -webkit-transform: none; |
| 145 | + -ms-transform: none; |
| 146 | + transform: none |
| 147 | + } |
| 148 | +} |
| 149 | + |
| 150 | +@keyframes fadeIn { |
| 151 | + 0% { |
| 152 | + opacity: 0; |
| 153 | + } |
| 154 | + 100% { |
| 155 | + opacity: 1; |
| 156 | + } |
| 157 | +} |
| 158 | + |
| 159 | +@keyframes fadeOut { |
| 160 | + 0% { |
| 161 | + opacity: 1; |
| 162 | + } |
| 163 | + 100% { |
| 164 | + opacity: 0; |
| 165 | + } |
| 166 | +} |
| 167 | + |
| 168 | +// Use swap-order "with" |
| 169 | +@keyframes slideRightIn { |
| 170 | + 0% { |
| 171 | + transform: translate(-100%, 0); |
| 172 | + } |
| 173 | + 100% { |
| 174 | + transform: translate(0, 0); |
| 175 | + } |
| 176 | +} |
0 commit comments