Matteo Scandolo | 46b5610 | 2015-12-16 14:23:08 -0800 | [diff] [blame^] | 1 | body { |
| 2 | opacity: 1; |
| 3 | -webkit-transition: opacity 1s ease; |
| 4 | -moz-transition: opacity 1s ease; |
| 5 | transition: opacity 1s; |
| 6 | } |
| 7 | |
| 8 | .ng-cloak { |
| 9 | opacity: 0; |
| 10 | } |
| 11 | |
| 12 | .ng-invalid { |
| 13 | border: 1px solid red !important; |
| 14 | } |
| 15 | |
| 16 | section { |
| 17 | padding-top: 30px; |
| 18 | } |
| 19 | |
| 20 | .page-header h1 > small > a { |
| 21 | color: #999; |
| 22 | } |
| 23 | .page-header h1 > small > a:hover { |
| 24 | text-decoration: none; |
| 25 | } |
| 26 | |
| 27 | .footer { |
| 28 | text-align: center; |
| 29 | padding: 30px 0; |
| 30 | margin-top: 70px; |
| 31 | border-top: 1px solid #e5e5e5; |
| 32 | background-color: #f5f5f5; |
| 33 | } |
| 34 | |
| 35 | .bs-social { |
| 36 | margin-top: 20px; |
| 37 | margin-bottom: 20px; |
| 38 | text-align: center; |
| 39 | } |
| 40 | |
| 41 | @media (min-width: 768px) { |
| 42 | |
| 43 | .bs-social { |
| 44 | text-align: left; |
| 45 | } |
| 46 | |
| 47 | } |
| 48 | |
| 49 | .nav, .pagination, .carousel, .panel-title a { |
| 50 | cursor: pointer; |
| 51 | } |
| 52 | |
| 53 | .bs-social-buttons { |
| 54 | display: inline-block; |
| 55 | margin-bottom: 0; |
| 56 | padding-left: 0; |
| 57 | list-style: none; |
| 58 | } |
| 59 | .bs-social-buttons li { |
| 60 | display: inline-block; |
| 61 | padding: 5px 8px; |
| 62 | line-height: 1; |
| 63 | } |
| 64 | |
| 65 | @media (max-width: 767px) { |
| 66 | |
| 67 | .visible-xs.collapse.in { |
| 68 | display: block!important; |
| 69 | } |
| 70 | .visible-xs.collapse { |
| 71 | display: none!important; |
| 72 | } |
| 73 | |
| 74 | } |
| 75 | |
| 76 | .navbar .collapse { |
| 77 | border-top: 1px solid #e7e7e7; |
| 78 | margin-left: -15px; |
| 79 | margin-right: -15px; |
| 80 | padding-right: 15px; |
| 81 | padding-left: 15px; |
| 82 | } |
| 83 | |
| 84 | .show-grid { |
| 85 | margin-bottom: 15px; |
| 86 | } |
| 87 | |
| 88 | /* |
| 89 | * Container |
| 90 | * |
| 91 | * Tweak to width of container. |
| 92 | */ |
| 93 | |
| 94 | /*@media (min-width: 1200px) { |
| 95 | .container{ |
| 96 | max-width: 970px; |
| 97 | } |
| 98 | }*/ |
| 99 | |
| 100 | /* |
| 101 | * Tabs |
| 102 | * |
| 103 | * Tweaks to the Tabs. |
| 104 | */ |
| 105 | |
| 106 | .code .nav-tabs { |
| 107 | border-bottom: 1px solid #ccc; |
| 108 | } |
| 109 | |
| 110 | .code pre, .code code { |
| 111 | border-top: none; |
| 112 | border-top-left-radius: 0; |
| 113 | border-top-right-radius: 0; |
| 114 | } |
| 115 | |
| 116 | .code .nav-tabs>li.active>a, .code .nav-tabs>li.active>a:hover, .code .nav-tabs>li.active>a:focus { |
| 117 | background-color: #f8f8f8; |
| 118 | border: 1px solid #ccc; |
| 119 | border-bottom-color: transparent; |
| 120 | } |
| 121 | |
| 122 | /* |
| 123 | * Button Inverse |
| 124 | * |
| 125 | * Buttons in the masthead. |
| 126 | */ |
| 127 | |
| 128 | .btn-outline-inverse { |
| 129 | color: #fff; |
| 130 | background-color: transparent; |
| 131 | border-color: #cdbfe3; |
| 132 | margin: 10px; |
| 133 | } |
| 134 | |
| 135 | @media (min-width: 768px) { |
| 136 | |
| 137 | .btn-outline-inverse { |
| 138 | width: auto; |
| 139 | margin: 20px 5px 20px 0; |
| 140 | padding: 18px 24px; |
| 141 | font-size: 21px; |
| 142 | } |
| 143 | |
| 144 | } |
| 145 | |
| 146 | .btn-outline-inverse:hover, .btn-outline-inverse:focus, .btn-outline-inverse:active { |
| 147 | color: #563d7c; |
| 148 | text-shadow: none; |
| 149 | background-color: #fff; |
| 150 | border-color: #fff; |
| 151 | } |
| 152 | |
| 153 | |
| 154 | /* Page headers */ |
| 155 | .bs-header { |
| 156 | padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */ |
| 157 | font-size: 16px; |
| 158 | text-align: center; |
| 159 | text-shadow: 0 1px 0 rgba(0,0,0,.15); |
| 160 | color: #cdbfe3; |
| 161 | background-color: #563d7c; |
| 162 | background-image: url(header.png); |
| 163 | } |
| 164 | .bs-header a { |
| 165 | color: #fff; |
| 166 | font-weight: normal; |
| 167 | } |
| 168 | .bs-header h1 { |
| 169 | color: #fff; |
| 170 | } |
| 171 | .bs-header p { |
| 172 | font-weight: 200; |
| 173 | line-height: 1.4; |
| 174 | } |
| 175 | .bs-header .container { |
| 176 | position: relative; |
| 177 | } |
| 178 | |
| 179 | @media (min-width: 768px) { |
| 180 | .bs-header { |
| 181 | font-size: 30px; |
| 182 | text-align: left; |
| 183 | } |
| 184 | .bs-header h1 { |
| 185 | font-size: 100px; |
| 186 | line-height: 1; |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | @media (min-width: 992px) { |
| 191 | .bs-header p { |
| 192 | margin-right: 25%; |
| 193 | } |
| 194 | } |
| 195 | |
| 196 | .navbar-inner { |
| 197 | -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.175); |
| 198 | box-shadow: 0 3px 3px rgba(0,0,0,0.175); |
| 199 | } |
| 200 | |
| 201 | /* |
| 202 | * Side navigation |
| 203 | * |
| 204 | * Scrollspy and affixed enhanced navigation to highlight sections and secondary |
| 205 | * sections of docs content. |
| 206 | */ |
| 207 | |
| 208 | /* By default it's not affixed in mobile views, so undo that */ |
| 209 | .bs-sidebar.affix { |
| 210 | position: static; |
| 211 | } |
| 212 | |
| 213 | /* First level of nav */ |
| 214 | .bs-sidenav { |
| 215 | margin-top: 30px; |
| 216 | margin-bottom: 30px; |
| 217 | padding-top: 10px; |
| 218 | padding-bottom: 10px; |
| 219 | text-shadow: 0 1px 0 #fff; |
| 220 | background-color: #f7f5fa; |
| 221 | border-radius: 5px; |
| 222 | } |
| 223 | |
| 224 | /* All levels of nav */ |
| 225 | .bs-sidebar .nav > li > a { |
| 226 | display: block; |
| 227 | color: #716b7a; |
| 228 | padding: 5px 20px; |
| 229 | } |
| 230 | .bs-sidebar .nav > li > a:hover, |
| 231 | .bs-sidebar .nav > li > a:focus { |
| 232 | text-decoration: none; |
| 233 | background-color: #e5e3e9; |
| 234 | border-right: 1px solid #dbd8e0; |
| 235 | } |
| 236 | .bs-sidebar .nav > .active > a, |
| 237 | .bs-sidebar .nav > .active:hover > a, |
| 238 | .bs-sidebar .nav > .active:focus > a { |
| 239 | font-weight: bold; |
| 240 | color: #563d7c; |
| 241 | background-color: transparent; |
| 242 | border-right: 1px solid #563d7c; |
| 243 | } |
| 244 | |
| 245 | /* Nav: second level (shown on .active) */ |
| 246 | .bs-sidebar .nav .nav { |
| 247 | display: none; /* Hide by default, but at >768px, show it */ |
| 248 | margin-bottom: 8px; |
| 249 | } |
| 250 | .bs-sidebar .nav .nav > li > a { |
| 251 | padding-top: 3px; |
| 252 | padding-bottom: 3px; |
| 253 | padding-left: 30px; |
| 254 | font-size: 90%; |
| 255 | } |
| 256 | |
| 257 | /* Show and affix the side nav when space allows it */ |
| 258 | @media (min-width: 992px) { |
| 259 | .bs-sidebar .nav > .active > ul { |
| 260 | display: block; |
| 261 | } |
| 262 | /* Widen the fixed sidebar */ |
| 263 | .bs-sidebar.affix, |
| 264 | .bs-sidebar.affix-bottom { |
| 265 | width: 213px; |
| 266 | } |
| 267 | .bs-sidebar.affix { |
| 268 | position: fixed; /* Undo the static from mobile first approach */ |
| 269 | top: 80px; |
| 270 | } |
| 271 | .bs-sidebar.affix-bottom { |
| 272 | position: absolute; /* Undo the static from mobile first approach */ |
| 273 | } |
| 274 | .bs-sidebar.affix-bottom .bs-sidenav, |
| 275 | .bs-sidebar.affix .bs-sidenav { |
| 276 | margin-top: 0; |
| 277 | margin-bottom: 0; |
| 278 | } |
| 279 | } |
| 280 | @media (min-width: 1200px) { |
| 281 | /* Widen the fixed sidebar again */ |
| 282 | .bs-sidebar.affix-bottom, |
| 283 | .bs-sidebar.affix { |
| 284 | width: 263px; |
| 285 | } |
| 286 | } |
| 287 | |
| 288 | |
| 289 | /* Not enough room on mobile for markup tab, js tab, and plunk btn. |
| 290 | And no one cares about plunk button on a phone anyway */ |
| 291 | @media only screen and (max-device-width: 480px) { |
| 292 | #plunk-btn { |
| 293 | display: none; |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | .navbar-nav .dropdown .navbar-brand { |
| 298 | max-width: 100%; |
| 299 | margin-right: inherit; |
| 300 | margin-left: inherit; |
| 301 | } |
| 302 | |
| 303 | .header-placeholder { |
| 304 | height: 50px; |
| 305 | } |
| 306 | |
| 307 | @media screen and (min-width: 768px) { |
| 308 | |
| 309 | .dropdown.open > .navbar-brand + .dropdown-menu { |
| 310 | left: 10px; |
| 311 | } |
| 312 | |
| 313 | .header-placeholder { |
| 314 | height: 50px; |
| 315 | } |
| 316 | |
| 317 | .navbar-nav .dropdown .navbar-brand { |
| 318 | max-width: 200px; |
| 319 | margin-right: 5px; |
| 320 | margin-left: 10px; |
| 321 | } |
| 322 | |
| 323 | } |