File size: 2,570 Bytes
893662b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.fullscreen-modal {
    top: 0;
    left: 0;
    overflow: auto;
    width: 100vw;
    height: 100vh;

    .modal-content {
        max-height: 100vh;
        overflow-y: auto;
        overflow-x: auto;
    }

}

.modal-content {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;

    .label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;

        .name {
            margin: 0;
            font-size: 1.5rem;
            color: #333;
        }

        .close-button {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            color: #666;

            &:hover {
                color: #333;
            }
        }
    }

    form {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 15px;
        align-items: center;
        width: 100%;
        box-sizing: border-box;

        label {
            display: contents;

            span.title {
                font-weight: 500;
                color: #444;
                text-align: right;
                padding-right: 10px;
            }

            input {
                max-width: 100%;
            }
        }

        .button-group {
            grid-column: span 2;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            margin-top: 20px;

            button {
                padding: 10px 20px;
                border: none;
                border-radius: 5px;
                font-size: 1rem;
                cursor: pointer;
                transition: background-color 0.2s;

                &:first-child {
                    background-color: #007bff;
                    color: white;

                    &:hover {
                        background-color: #0056b3;
                    }
                }

                &:nth-child(2) {
                    background-color: #28a745;
                    color: white;

                    &:hover {
                        background-color: #218838;
                    }
                }

                &:last-child {
                    background-color: #6c757d;
                    color: white;

                    &:hover {
                        background-color: #5a6268;
                    }
                }
            }
        }
    }
}