|
14 | 14 | margin-top: 1em;
|
15 | 15 | }
|
16 | 16 |
|
| 17 | + // Common margin utility classes |
| 18 | + .m-b-20 { |
| 19 | + margin-bottom: 20px; |
| 20 | + } |
| 21 | + |
| 22 | + .m-r-10 { |
| 23 | + margin-right: 10px; |
| 24 | + } |
| 25 | + |
17 | 26 | // Form field underlines for light mode
|
18 | 27 | ::ng-deep .mat-form-field.mat-form-field .mat-form-field-underline {
|
19 | 28 | background-color: rgb(0 0 0 / 42%);
|
|
29 | 38 | }
|
30 | 39 | }
|
31 | 40 |
|
| 41 | +.showcollectionsheet { |
| 42 | + .container { |
| 43 | + max-width: 73rem; |
| 44 | + } |
| 45 | +} |
| 46 | + |
| 47 | +// Card styling in collection sheet |
| 48 | +.showcollectionsheet .container mat-card { |
| 49 | + padding: 24px; |
| 50 | + border-radius: 8px; |
| 51 | + box-shadow: 0 2px 10px rgb(0 0 0 / 8%); |
| 52 | +} |
| 53 | + |
| 54 | +// Parameters button styling |
| 55 | +.showcollectionsheet .container .m-b-20 { |
| 56 | + margin-bottom: 20px; |
| 57 | + padding: 10px 0; |
| 58 | + display: flex; |
| 59 | + align-items: center; |
| 60 | +} |
| 61 | + |
| 62 | +.showcollectionsheet .container .m-b-20 button { |
| 63 | + min-width: 120px; |
| 64 | + font-weight: 500; |
| 65 | + box-shadow: 0 2px 4px rgb(0 0 0 / 10%); |
| 66 | + transition: all 0.3s ease; |
| 67 | +} |
| 68 | + |
| 69 | +.showcollectionsheet .container .m-b-20 button:hover { |
| 70 | + box-shadow: 0 4px 8px rgb(0 0 0 / 15%); |
| 71 | + transform: translateY(-2px); |
| 72 | +} |
| 73 | + |
| 74 | +// Heading styling |
| 75 | +.showcollectionsheet .container h2.mat-h2 { |
| 76 | + margin-bottom: 20px; |
| 77 | + font-weight: 500; |
| 78 | + color: rgb(0 0 0 / 87%); |
| 79 | + border-bottom: 1px solid rgb(0 0 0 / 12%); |
| 80 | + padding-bottom: 10px; |
| 81 | +} |
| 82 | + |
| 83 | +// Table styling |
| 84 | +.showcollectionsheet .container table.mat-elevation-z1 { |
| 85 | + width: 100%; |
| 86 | + margin-bottom: 24px; |
| 87 | + box-shadow: none; |
| 88 | + border: 1px solid rgb(0 0 0 / 12%); |
| 89 | +} |
| 90 | + |
| 91 | +.showcollectionsheet .container table.mat-elevation-z1 th.mat-header-cell { |
| 92 | + font-weight: 500; |
| 93 | + color: rgb(0 0 0 / 87%); |
| 94 | + background-color: rgb(0 0 0 / 4%); |
| 95 | +} |
| 96 | + |
| 97 | +.showcollectionsheet .container table.mat-elevation-z1 td.mat-cell, |
| 98 | +.showcollectionsheet .container table.mat-elevation-z1 th.mat-header-cell { |
| 99 | + padding: 12px 16px; |
| 100 | +} |
| 101 | + |
| 102 | +.showcollectionsheet .container table.mat-elevation-z1 tr.mat-row:hover { |
| 103 | + background-color: rgb(0 0 0 / 2%); |
| 104 | +} |
| 105 | + |
32 | 106 | // Dark theme form field underlines
|
33 | 107 | .dark-theme .container {
|
34 | 108 | ::ng-deep .mat-form-field.mat-form-field .mat-form-field-underline {
|
|
45 | 119 | }
|
46 | 120 | }
|
47 | 121 |
|
48 |
| -.showcollectionsheet { |
49 |
| - .container { |
50 |
| - max-width: 73rem; |
51 |
| - } |
| 122 | +// Dark theme card styling |
| 123 | +.dark-theme .showcollectionsheet .container mat-card { |
| 124 | + background-color: #424242; |
| 125 | +} |
| 126 | + |
| 127 | +// Dark theme button styling |
| 128 | +.dark-theme .showcollectionsheet .container .m-b-20 button { |
| 129 | + box-shadow: 0 2px 4px rgb(0 0 0 / 30%); |
| 130 | +} |
| 131 | + |
| 132 | +// Dark theme heading styling |
| 133 | +.dark-theme .showcollectionsheet .container h2.mat-h2 { |
| 134 | + color: rgb(255 255 255 / 87%); |
| 135 | + border-bottom-color: rgb(255 255 255 / 12%); |
| 136 | +} |
| 137 | + |
| 138 | +// Dark theme table styling |
| 139 | +.dark-theme .showcollectionsheet .container table.mat-elevation-z1 { |
| 140 | + border-color: rgb(255 255 255 / 12%); |
| 141 | +} |
| 142 | + |
| 143 | +.dark-theme .showcollectionsheet .container table.mat-elevation-z1 th.mat-header-cell { |
| 144 | + color: rgb(255 255 255 / 87%); |
| 145 | + background-color: rgb(255 255 255 / 10%); |
| 146 | +} |
| 147 | + |
| 148 | +.dark-theme .showcollectionsheet .container table.mat-elevation-z1 tr.mat-row:hover { |
| 149 | + background-color: rgb(255 255 255 / 5%); |
52 | 150 | }
|
53 | 151 |
|
54 | 152 | .alert {
|
|
60 | 158 | line-height: 1.43;
|
61 | 159 | border-radius: 4px;
|
62 | 160 | letter-spacing: normal;
|
| 161 | +} |
63 | 162 |
|
64 |
| - .message { |
65 |
| - padding: 8px 0; |
66 |
| - } |
| 163 | +.alert .message { |
| 164 | + padding: 8px 0; |
| 165 | +} |
67 | 166 |
|
68 |
| - .alert-check { |
69 |
| - color: #f44336; |
70 |
| - margin-right: 2px; |
71 |
| - } |
| 167 | +.alert .alert-check { |
| 168 | + color: #f44336; |
| 169 | + margin-right: 2px; |
72 | 170 | }
|
0 commit comments