core.scss 9.46 KB
Newer Older
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
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";

/* set the overriding variables */
$grid-breakpoints: (
        xxxs: 0,
        xxs: 320px,
        xs: 568px,
        sm: 667px,
        md: 768px,
        lg: 992px,
        xl: 1200px,
        xxl: 1440px,
        xxxl: 1600px
);

$container-max-widths: (
        xxxs: 0,
        xxs: 320px,
        xs: 568px,
        sm: 667px,
        md: 768px,
        lg: 992px,
        xl: 1200px,
        xxl: 1440px,
        xxxl: 1600px
);

29
@import "~bootstrap/scss/bootstrap";
30
@import "~tablesorter/dist/css/theme.bootstrap_4.min.css";
31 32 33 34
@import "~tokenfield/dist/tokenfield.css";
@import "~jquery-ui/themes/base/all.css";
@import "~tooltipster/dist/css/tooltipster.bundle.css";
@import "~pnotify/dist/PNotifyBrightTheme.css";
echel0n's avatar
echel0n committed
35
@import "~jquery-confirm/css/jquery-confirm.css";
echel0n's avatar
echel0n committed
36
@import "~toggle-checkbox-radio/dist/toggle-checkbox-radio.css";
37
@import "~bootstrap-formhelpers/dist/css/bootstrap-formhelpers.css";
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

$fa-font-path: "[email protected]/fontawesome-free/webfonts";
@import "[email protected]/fontawesome-free/scss/fontawesome";
@import "[email protected]/fontawesome-free/scss/fa-regular";
@import "[email protected]/fontawesome-free/scss/fa-brands";
@import "[email protected]/fontawesome-free/scss/fa-solid";

body {
  color: #fff;
  background-color: #222;
}

.navbar-default {
  background-color: #15528F;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#297AB8', endColorstr='#15528F');
  background: -webkit-gradient(linear, left top, left bottom, from(#297AB8), to(#15528F));
  background: -moz-linear-gradient(top, #297AB8, #15528F);
  border-color: #3E3F3A;
}

.progress-100 {
  background-image: -moz-linear-gradient(#395f07, #2a4705) !important;
  background-image: linear-gradient(#395f07, #2a4705) !important;
  background-image: -webkit-linear-gradient(#395f07, #2a4705) !important;
  background-image: -o-linear-gradient(#395f07, #2a4705) !important;
}

.progress-80 {
  background-image: -moz-linear-gradient(#a6cf41, #5b990d) !important;
  background-image: linear-gradient(#a6cf41, #5b990d) !important;
  background-image: -webkit-linear-gradient(#a6cf41, #5b990d) !important;
  background-image: -o-linear-gradient(#a6cf41, #5b990d) !important;
}

.progress-60 {
  background-image: -moz-linear-gradient(#fad440, #f2a70d) !important;
  background-image: linear-gradient(#fad440, #f2a70d) !important;
  background-image: -webkit-linear-gradient(#fad440, #f2a70d) !important;
  background-image: -o-linear-gradient(#fad440, #f2a70d) !important;
}

.progress-40 {
  background-image: -moz-linear-gradient(#fab543, #f2700d) !important;
  background-image: linear-gradient(#fab543, #f2700d) !important;
  background-image: -webkit-linear-gradient(#fab543, #f2700d) !important;
  background-image: -o-linear-gradient(#fab543, #f2700d) !important;
}

.progress-20 {
  background-image: -moz-linear-gradient(#da5945, #b11a10) !important;
  background-image: linear-gradient(#da5945, #b11a10) !important;
  background-image: -webkit-linear-gradient(#da5945, #b11a10) !important;
  background-image: -o-linear-gradient(#da5945, #b11a10) !important;
}

echel0n's avatar
echel0n committed
93
.listing-default {
94
  background-color: #f5f1e4;
echel0n's avatar
echel0n committed
95 96 97
}

.listing-current {
98
  background-color: #ffb65e;
echel0n's avatar
echel0n committed
99 100 101
}

.listing-overdue {
102
  background-color: #ffb0b0;
echel0n's avatar
echel0n committed
103 104 105
}

.listing-toofar {
106
  background-color: #bedeed;
echel0n's avatar
echel0n committed
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 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252
span.any-hd {
  background: #2672b6 repeating-linear-gradient(
                  -45deg,
                  #2672b6,
                  #2672b6 10px,
                  #5b990d 10px,
                  #5b990d 20px
  );
}

span.Custom {
  background-color: #621993;
}

span.HD {
  background-color: #2672B6;
}

span.HDTV {
  background-color: #2672B6;
}

span.HD720p {
  background-color: #5b990d;
}

span.HD1080p {
  background-color: #2672B6;
}

span.UHD-4K {
  background-color: #7500FF;
}

span.UHD-8K {
  background-color: #410077;
}

span.RawHD {
  background-color: #cd7300;
}

span.RawHDTV {
  background-color: #cd7300;
}

span.SD {
  background-color: #BE2625;
}

span.SDTV {
  background-color: #BE2625;
}

span.SDDVD {
  background-color: #BE2625;
}

span.Any {
  background-color: #666;
}

span.Unknown {
  background-color: #999;
}

span.Proper {
  background-color: #3F7F00;
}

.unaired {
  background-color: #f5f1e4;
}

.skipped {
  background-color: #bedeed;
}

.good {
  background-color: #c3e3c8;
}

.qual {
  background-color: #ffda8a;
}

.wanted {
  background-color: #ffb65e;
}

.snatched {
  background-color: #ebc1ea;
}

.missed {
  background-color: #ffb0b0;
}

span.unaired {
  color: #584b20;
  border: 1px solid #584b20;
}

span.skipped {
  color: #1d5068;
  border: 1px solid #1d5068;
}

span.good {
  color: #295730;
  border: 1px solid #295730;
}

span.qual {
  color: #765100;
  border: 1px solid #765100;
}

span.wanted {
  color: #894305;
  border: 1px solid #894305;
}

span.snatched {
  color: #652164;
  border: 1px solid #652164;
}

span.missed {
  color: #890000;
  border: 1px solid #890000;
}

span.unaired b,
span.skipped b,
span.good b,
span.qual b,
span.wanted b,
span.missed b,
span.snatched b {
  color: #000000;
  font-weight: 800;
}

253 254 255 256 257 258 259 260 261 262
.img-banner {
  width: 360px;
  height: 66px;
}

.img-smallposter {
  width: 45px;
  height: 66px;
}

263
.back-to-top {
echel0n's avatar
echel0n committed
264 265 266 267 268
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
269 270
}

echel0n's avatar
echel0n committed
271 272 273 274 275
input[type=checkbox].toggle {
  border-color: darkgrey;
  background-color: darkgrey;
}

276 277 278 279 280 281
// Stepper
.sickrage-stepper {
  .stepwizard-step p {
    margin-top: 0;
    color: #666;
  }
282

283 284 285
  .stepwizard-row {
    display: table-row;
  }
286

287 288 289 290 291
  .stepwizard {
    display: table;
    width: 100%;
    position: relative;
  }
292

293 294 295 296
  .stepwizard-step button[disabled] {
    /*opacity: 1 !important;
    filter: alpha(opacity=100) !important;*/
  }
297

298 299 300 301
  .stepwizard .btn.disabled, .stepwizard .btn[disabled], .stepwizard fieldset[disabled] .btn {
    opacity: 1 !important;
    color: #bbb;
  }
302

303 304 305 306 307 308 309 310 311 312
  .stepwizard-row:before {
    top: 14px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
    z-index: 0;
  }
313

314 315 316 317 318
  .stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;
  }
319

320 321 322 323 324 325 326 327 328 329 330
  .btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
  }
}

331 332 333 334 335 336
#quicksearch:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

echel0n's avatar
echel0n committed
337 338
.btn {
  @extend .btn-primary;
echel0n's avatar
echel0n committed
339
  @extend .shadow-lg;
340 341
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.15) 51%, rgba(0,0,0,0.05));
  background-repeat: repeat-x;
echel0n's avatar
echel0n committed
342 343
}

344 345 346 347 348
.badge {
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0.2) 49%, rgba(0,0,0,0.15) 51%, rgba(0,0,0,0.05));
  background-repeat: repeat-x;
}

echel0n's avatar
echel0n committed
349 350 351 352 353 354 355 356 357
.input-group-append, .input-group-prepend {
  .btn {
    @extend .btn-secondary;
  }
}

.table {
  @extend .table-bordered;
  @extend .table-dark;
358
  @extend .shadow;
359

360 361 362 363
  th {
    @extend .text-center;
    @extend .text-nowrap;
  }
364

365 366 367
  th, td {
    @extend .p-1;
  }
368

369
  .table-fit {
echel0n's avatar
echel0n committed
370
    @extend .text-center;
371 372 373
    white-space: nowrap;
    width: 1%;
  }
echel0n's avatar
echel0n committed
374 375
}

echel0n's avatar
echel0n committed
376
.card {
echel0n's avatar
echel0n committed
377
  @extend .bg-dark;
378
  @extend .shadow;
echel0n's avatar
echel0n committed
379 380 381 382 383 384

  .form-control {
    @extend .bg-light;
    @extend .border-0;
    @extend .shadow;
  }
echel0n's avatar
echel0n committed
385 386
}

echel0n's avatar
echel0n committed
387
.card-header {
echel0n's avatar
echel0n committed
388
  @extend .bg-secondary;
389
  @extend .shadow;
echel0n's avatar
echel0n committed
390 391 392 393 394 395 396 397 398 399 400 401 402

  .nav-link {
    @extend .bg-dark;
    @extend .text-white;
    @extend .shadow;
  }

  .form-control {
    @extend .bg-dark;
    @extend .text-white;
    @extend .border-0;
    @extend .shadow;
  }
echel0n's avatar
echel0n committed
403 404
}

405
.ui-autocomplete {
406 407 408
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
409 410 411
}

* html .ui-autocomplete {
412
  height: 500px;
413 414
}

415 416 417 418
#popover-target label {
  margin: 0 5px;
  display: block;
}
419

420 421 422
#popover-target input {
  margin-right: 5px;
}
423

424 425 426 427
#popover-target .disabled {
  color: #ddd;
}

428 429
.dropdown-menu {
  @extend .bg-dark;
echel0n's avatar
echel0n committed
430

431 432 433
  .dropdown-item {
    @extend .text-white;
  }
echel0n's avatar
echel0n committed
434

435 436 437 438 439
  .dropdown-item:hover {
    @extend .bg-dark;
  }
}

echel0n's avatar
echel0n committed
440
.submenu {
echel0n's avatar
echel0n committed
441
  @extend .bg-dark;
echel0n's avatar
echel0n committed
442 443 444 445 446
  @extend .p-1;

  .btn {
    @extend .btn-secondary;
    @extend .shadow;
447 448
    @extend .mt-1;
    @extend .mb-1;
echel0n's avatar
echel0n committed
449
  }
echel0n's avatar
echel0n committed
450 451 452 453
}

.show-legend {
  @extend .pr-5;
echel0n's avatar
echel0n committed
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517
}

.quicksearch-container {
  position: relative;
  display: inline-block;
  margin-left: 10px;
  width: 360px;
  height: 40px;
  vertical-align: super;
}

.quicksearch-input-container {
  font-size: 13px;
  font-family: Open Sans Semibold, Helvetica Neue, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-flow: row nowrap;
  flex-flow: row nowrap;
  padding: 4px;
  height: 40px;
  border-radius: 4px;
  background: hsla(0, 0%, 100%, .08);
  color: #eee;
  -webkit-transition: background-color .2s, color .2s;
  transition: background-color .2s, color .2s;
}

.quicksearch-input {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  height: 100%;
  outline: 0;
  border: none;
  background: transparent;
  color: #eee;
}

.quicksearch-input-btn {
  margin: 0;
  padding: 0;
  outline: none;
  border: 0;
  border-radius: 0;
  background: none;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: color .2s;
  transition: color .2s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
518
}