main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[0c6b92a] | 1 | .modalOverlay {
|
---|
| 2 | position: fixed;
|
---|
| 3 | top: 0;
|
---|
| 4 | left: 0;
|
---|
| 5 | width: 100vw;
|
---|
| 6 | height: 100vh;
|
---|
| 7 | background: rgba(0, 0, 0, 0.7);
|
---|
| 8 | display: flex;
|
---|
| 9 | align-items: center;
|
---|
| 10 | justify-content: center;
|
---|
| 11 | animation: fadeIn 0.3s ease-out;
|
---|
| 12 | }
|
---|
| 13 |
|
---|
| 14 | @keyframes fadeIn {
|
---|
| 15 | from {
|
---|
| 16 | opacity: 0;
|
---|
| 17 | }
|
---|
| 18 | to {
|
---|
| 19 | opacity: 1;
|
---|
| 20 | }
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | .modalContent {
|
---|
| 24 | background: white;
|
---|
| 25 | padding: 30px;
|
---|
| 26 | border-radius: 12px;
|
---|
| 27 | width: 450px;
|
---|
| 28 | max-width: 90%;
|
---|
| 29 | box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.2);
|
---|
| 30 | transition: transform 0.3s ease;
|
---|
| 31 | animation: scaleUp 0.3s ease-out;
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | @keyframes scaleUp {
|
---|
| 35 | from {
|
---|
| 36 | transform: scale(0.9);
|
---|
| 37 | }
|
---|
| 38 | to {
|
---|
| 39 | transform: scale(1);
|
---|
| 40 | }
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | h2 {
|
---|
| 44 | font-size: 1.75rem;
|
---|
| 45 | margin-bottom: 20px;
|
---|
| 46 | color: #333;
|
---|
| 47 | }
|
---|
| 48 |
|
---|
| 49 | ul {
|
---|
| 50 | padding-left: 0;
|
---|
| 51 | list-style: none;
|
---|
| 52 | margin-bottom: 20px;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | li {
|
---|
| 56 | margin-bottom: 10px;
|
---|
| 57 | display: flex;
|
---|
| 58 | justify-content: space-between;
|
---|
| 59 | align-items: center;
|
---|
| 60 | }
|
---|
| 61 |
|
---|
| 62 | li button {
|
---|
| 63 | background-color: #ff4d4d;
|
---|
| 64 | color: white;
|
---|
| 65 | border: none;
|
---|
| 66 | padding: 8px 12px;
|
---|
| 67 | border-radius: 8px;
|
---|
| 68 | cursor: pointer;
|
---|
| 69 | transition: background-color 0.3s ease;
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | li button:hover {
|
---|
| 73 | background-color: #cc0000;
|
---|
| 74 | }
|
---|
| 75 |
|
---|
| 76 | .modalActions {
|
---|
| 77 | display: flex;
|
---|
| 78 | justify-content: center;
|
---|
| 79 | }
|
---|
| 80 |
|
---|
| 81 | .modalActions button {
|
---|
| 82 | padding: 10px 20px;
|
---|
| 83 | font-size: 1rem;
|
---|
| 84 | border: none;
|
---|
| 85 | border-radius: 8px;
|
---|
| 86 | cursor: pointer;
|
---|
| 87 | transition: background-color 0.3s ease;
|
---|
| 88 | }
|
---|
| 89 |
|
---|
| 90 | .modalActions button:hover {
|
---|
| 91 | background-color: #f5f5f5;
|
---|
| 92 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.