aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/static/css/forms.css
blob: 7e6be8a07f1492713c56a90b20a1886bdc83cb43 (plain) (blame)
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
.form-container {
    margin-top: 24px; 
    margin-bottom: 54px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: auto;
    border: 1px solid lightgray;
    border-radius: 10px;
    padding: 20px;
    background: lightgray;
}

form label {
    font-weight: bold;
	font-size: 1.2em;
	display: inline-block;
    margin-bottom: 3px;
}

form label.required::after {
    content: ' *';
    color: red;
}

form label[for=id_pdf_files]::after, form label[for=id_thumbnail_files]::after {
    content: ' *';
    color: red;
}

form input[type="text"], form input[type="password"], form input[type="email"] {
    padding: 0.75em 18px;
    border-radius: 5px;
    width: 100%;
	margin-left: 2px;
}

form input[type=text], form input[type="password"], form input[type="email"], textarea {
    color: #6A6C6F;
    background: #FFFFFF;
    /*border: 2px solid #E4E5E7;*/
    border: 1px solid darkgray;
    border-radius: 5px;
	margin-left: 2px;
}

form select {
    display: block;
    border: 1px solid darkgray;
    border-radius: 5px;
    background: white;
    width: 100%;
    padding: 0.75em 18px;
}

form input[type="submit"] {
    border: 0px;
    background: darkmagenta;
    border-radius: 5px;
    padding: 10px;
    color: white;
    width: 200px;
}

form input[type="submit"]:hover {
    background: #30053b;
    color: white;
}

form input[type="number"] {
    border: 1px solid darkgray;
    border-radius: 2px;
    background: white;
    width: 100px;
    padding: 0.75em 18px;
}

form input[type="file"] {
    border: 1px solid darkgray;
    border-radius: 5px;
    background: white;
    width: 400px;
    padding: 10px;
}



.helptext {
	font-size: 0.9em;
}

form div {
    margin-bottom: 20px;
	margin-top: 8px;
}

form div:last-child {
    border-top: 1px dashed #E4E5E7;
}

textarea {
    padding: 18px;
    width: 100%;
    height: 266px;
}