-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.css
More file actions
92 lines (78 loc) · 1.35 KB
/
App.css
File metadata and controls
92 lines (78 loc) · 1.35 KB
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
.App {
text-align: center;
line-height: 2rem;
background-color: rgb(135, 244, 72);
min-height: 100vh;
padding-bottom: 4rem;
}
#txtarea {
border-radius: 10px;
padding: 8px;
margin-top: 5px;
width: 95%;
resize: vertical;
font-size: 14px;
}
#select {
border-radius: 10px;
padding: 5px 8px;
background-color: rgb(159, 159, 238);
margin-right: 10px;
font-size: 14px;
}
#btn {
background-color: rgb(54, 232, 54);
border-radius: 21px;
padding: 8px 15px;
margin-top: 10px;
cursor: pointer;
font-weight: bold;
}
#btn:disabled {
background-color: lightgreen;
cursor: not-allowed;
}
button.add-remove-btn {
background-color: rgb(255, 99, 71);
color: white;
border: none;
border-radius: 10px;
padding: 4px 8px;
margin-left: 10px;
cursor: pointer;
}
button.add-remove-btn:hover {
background-color: rgb(255, 69, 0);
}
.valid-json {
border: 2px solid green;
border-radius: 10px;
padding: 8px;
width: 95%;
}
.invalid-json {
border: 2px solid red;
border-radius: 10px;
padding: 8px;
width: 95%;
}
label {
font-weight: bold;
}
textarea {
font-family: Arial, sans-serif;
}
h1 {
margin-bottom: 2rem;
}
h2 {
margin-top: 2rem;
}
#form-section, #json-section, #language-section, #translate-btn {
margin-top: 1rem;
margin-bottom: 1rem;
}
.translated-output {
margin-top: 2rem;
text-align: left;
}