-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathstyle.css
146 lines (123 loc) · 2.66 KB
/
style.css
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
134
135
136
137
138
139
140
141
142
143
144
145
146
body {
background: linear-gradient(120deg, #e0f7fa 0%, #ffffff 100%);
font-family: 'Arial', sans-serif;
color: #333;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container-fluid {
padding: 20px;
flex-grow: 1;
}
.card {
background: #ffffff;
border: none;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
height: 100%;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card-header {
background: linear-gradient(to right, #42a5f5, #478ed1);
color: white;
border-top-left-radius: 8px;
border-top-right-radius: 8px;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
padding: 10px 15px;
}
textarea {
resize: none;
border-radius: 5px;
border: 1px solid #ced4da;
transition: border-color 0.3s, box-shadow 0.3s;
}
textarea:focus {
border-color: #80bdff;
box-shadow: 0 0 8px rgba(128, 189, 255, 0.6);
}
label {
font-weight: bold;
}
#loading {
text-align: center;
font-style: italic;
}
.slider-container {
margin-top: 10px;
}
.history-container {
max-height: 600px;
overflow-y: auto;
padding: 10px;
}
.history-item {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 10px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
background: #f8f9fa;
transition: background-color 0.3s, box-shadow 0.3s;
}
.history-item:hover {
background-color: #f1f1f1;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.history-item button {
margin-left: 10px;
transition: background-color 0.3s, box-shadow 0.3s;
}
.history-item button:hover {
background-color: #0056b3;
color: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.history-item span {
flex-grow: 1;
margin-right: 20px;
}
#generateButton, #previewButton {
position: relative;
transition: background-color 0.3s;
}
#generateButton:disabled, #previewButton:disabled {
background-color: #6c757d;
cursor: not-allowed;
}
footer {
padding: 15px 20px;
background: linear-gradient(to right, #42a5f5, #478ed1);
color: white;
width: 100%;
text-align: center;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
margin-top: auto;
}
footer a {
color: #ffffff;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.container-fluid {
padding: 10px;
}
.card {
margin-bottom: 20px;
}
.history-container {
max-height: 300px;
}
}