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
const css = `
html {
font-family: Roboto, "Open Sans", sans-serif;
background: #eceaea;
}
h1 {
text-align: center;
}
input {
display: inline-block;
padding: 0 16px 0 12px;
width: 100%;
line-height: 30px;
height: 32px;
border: 1px solid #dddbda;
border-radius: 4px;
background-color: #fff;
color: rgb(8, 7, 7);
transition: border .1s linear,background-color .1s linear;
}
input:focus{
border-color: #1b96ff;
color: var(--sds-c-input-text-color-focus);
box-shadow: rgb(1, 118, 211) 0px 0px 3px 0px;
}
button, .add-user_button {
margin-top: 1rem;
margin-right: 0.25rem;
display: inline-block;
outline: none;
cursor: pointer;
padding: 0 16px;
background-color: #fff;
border-radius: 0.25rem;
border: 1px solid #0070d2;
color: #0070d2;
font-size: 13px;
line-height: 30px;
font-weight: 400;
text-align: center;
}
button:hover {
background-color: #f4f6f9;
}
.add-user_container {
max-width: 500px;
margin: auto;
.add-user_form{
display: none;
}
.add-user_button {
display:block;
}
}
.add-user_container.open {
.add-user_form{
display: block;
}
.add-user_button {
display:none;
}
}
.users-table {
max-width: 750px;
margin: auto;
table {
width: 100%;
border-collapse: separate;
border-bottom: 1px solid #e5e5e5;
td {
background: white;
padding: 4px;
&.icon {
width: 47px;
}
}
}
button {
margin: 0;
}
}
`;
export default css;
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
January 17, 2024