All files / app/web-ui/css base-css.ts

100% Statements 134/134
100% Branches 0/0
100% Functions 0/0
100% Lines 134/134

Press n or j to go to the next uncovered block, b, p or k for the previous block.

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 1341x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x
export const viewCSS = `
* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    overflow-y: scroll;
    overflow-x: hidden;
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    flex-wrap: wrap;
    padding: 1rem;
}
.content {
    max-width: 26rem;
    background-color: #fff;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
}
.logo {
    width: 100%;
    margin: 0 auto;
}
.innerContent {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
button {
    width: 80%;
    padding: 0.5rem;
    background-color:rgb(66, 129, 255);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 1rem;
}
button.inverted {
    background-color: #fff;
    color: rgb(66, 129, 255);
    border: 1px solid rgb(66, 129, 255);
}
button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(66, 129, 255, 0.3);
}
button:disabled {
    background-color: rgb(147, 157, 179);
    cursor: not-allowed;
    transform: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
 
@media only screen and (orientation: portrait) {
    html {
        font-size: 250%;
    }
}
 
#notificationButton {
    max-width: 26rem;
    width: 100%;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-top: 0;
    margin-bottom: 1rem;
}
 
#notificationButton #bellIcon {
    width: 2rem;
    height: 2rem;
    margin-right: 0.5rem;
}
#notificationButton #bellIcon svg {
    width: 100%;
    height: 100%;
}
#notificationButton span {
    font-size: 1.2rem;
}
`
 
export const viewCSSDark = `
 body {
    background-color: #1a1a1a;
    color: #e0e0e0;
}
 
.content {
    background-color: #2d2d2d;
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.1);
}
 
button {
    background-color: rgb(66, 129, 255);
    color: #fff;
}
 
button.inverted {
    background-color: #2d2d2d;
    color: rgb(66, 129, 255);
    border: 1px solid rgb(66, 129, 255);
}
 
#notificationButton {
    background-color: rgb(66, 129, 255);
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.2);
}
`