aboutsummaryrefslogblamecommitdiffstats
path: root/alphabetlearning/static/css/forms.css
blob: f57668a8569c0969d0c4d2b53811d00ff652bb75 (plain) (tree)
1
2
3
4
5
6
7
8
9





                        
                             
                        
                  
                          





                              










                                                                                



                                                                                
                       
                     





                                                                                        

                                 


                                  


                         



                               

                                 





                           
                       






                                 
                        





                               

                                 






                               

                                 



                  






                         

                        












                                   
.form-container {
    margin-top: 24px; 
    margin-bottom: 54px;
    margin-left: 5px;
    margin-right: 5px;
    overflow: auto;
    border: 2px solid sienna;
    border-radius: 10px;
    padding: 20px;
    background-color: tan;
}

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;
    font-weight: 500;
    width: 100%;
	margin-left: 2px;
}

form input[type=text], form input[type="password"], form input[type="email"], textarea {
    color: #6A6C6F;
    background-color: papayawhip;
    /* 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; */
    background-color: papayawhip;
    width: 100%;
    padding: 0.75em 18px;
}

form input[type="submit"] {
    border: 0px;
    background: olive;;
    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; */
    background-color: papayawhip;
    width: 100px;
    padding: 0.75em 18px;
}

form input[type="file"] {
    border: 1px solid darkgray;
    border-radius: 5px;
    background-color: papayawhip;
    /* 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;
}