Diff of /frontend/src/styles.scss [000000] .. [0eda78]

Switch to unified view

a b/frontend/src/styles.scss
1
@tailwind base;
2
3
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,300;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
4
5
body {
6
  font-family: 'Work Sans', sans-serif;
7
8
  @apply bg-blue-50 #{!important};
9
}
10
11
12
@tailwind components;
13
@tailwind utilities;
14
15
@import 'ngx-toastr/toastr';
16
17
#toast-container {
18
  position: fixed;
19
  z-index: 999999;
20
  top: unset;
21
  left: 20px; /* Adjust the value as needed */
22
  bottom: 0; /* Adjust the value as needed */
23
  /*overrides*/
24
}
25
26
.ngx-toastr {
27
  margin-top: 10px !important;
28
  margin-bottom: 10px !important;
29
}
30
31
.bg-dots-darker {
32
  fill: #162E51 !important;
33
  background-image:url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(0,0,0,0.09)'/%3E%3C/svg%3E");
34
}
35
@media (prefers-color-scheme: dark) {
36
  .dark\:bg-dots-lighter {
37
    background-image:url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E")
38
  }
39
}
40
41
#rendered-output {
42
  .highlight {
43
    @apply rounded px-[3px] py-0.5;
44
45
    &.blue {
46
      @apply bg-blue-300 text-blue-900 dark:bg-blue-900 dark:text-blue-100;
47
    }
48
49
    &.green {
50
      @apply bg-green-300 text-green-900 dark:bg-green-900 dark:text-green-100;
51
    }
52
53
    &.red {
54
      @apply bg-red-300 text-red-900 dark:bg-red-900 dark:text-red-100;
55
    }
56
57
    &.yellow {
58
      @apply bg-yellow-300 text-yellow-900 dark:bg-yellow-900 dark:text-yellow-100;
59
    }
60
61
    .descriptor {
62
      @apply ml-1 text-sm uppercase align-text-bottom opacity-80;
63
    }
64
  }
65
}