| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- .file-area {
- width: 100%;
- position: relative;
- }
- .file-area input[type=file] {
- position: absolute;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- opacity: 0;
- cursor: pointer;
- }
- .file-area .file-dummy {
- width: 100%;
- padding: 30px;
- background: rgba(255, 255, 255, 0.2);
- border: 2px dashed rgba(255, 255, 255, 0.2);
- text-align: center;
- transition: background 0.3s ease-in-out;
- }
- .file-area .file-dummy .success {
- display: none;
- }
- .file-area:hover .file-dummy {
- background: rgba(255, 255, 255, 0.1);
- }
- .file-area input[type=file]:focus + .file-dummy {
- outline: 2px solid rgba(255, 255, 255, 0.5);
- outline: -webkit-focus-ring-color auto 5px;
- }
- .file-area input[type=file]:valid + .file-dummy {
- border-color: rgba(0, 255, 0, 0.4);
- background-color: rgba(0, 255, 0, 0.3);
- }
- .file-area input[type=file]:valid + .file-dummy .success {
- display: inline-block;
- }
- .file-area input[type=file]:valid + .file-dummy .default {
- display: none;
- }
- /* ===================== BASIC STYLING ===================== */
- * {
- box-sizing: border-box;
-
- }
- html, body {
- margin: 0;
- padding: 0;
- font-weight: 300;
- height: 100%;
- background: #053777;
- color: #fff;
- font-size: 16px;
- overflow: hidden;
- background: -moz-linear-gradient(top, #053777 0%, #00659b 100%);
- /* FF3.6+ */
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #053777), color-stop(100%, #00659b));
- /* Chrome,Safari4+ */
- background: -webkit-linear-gradient(top, #053777 0%, #00659b 100%);
- /* Chrome10+,Safari5.1+ */
- background: -o-linear-gradient(top, #053777 0%, #00659b 100%);
- /* Opera 11.10+ */
- background: -ms-linear-gradient(top, #053777 0%, #00659b 100%);
- /* IE10+ */
- background: linear-gradient(to bottom, #053777 0%, #00659b 100%);
- /* W3C */
- }
- h1 {
- text-align: center;
- margin: 50px auto;
- font-weight: 100;
- }
- label {
- font-weight: 500;
- display: block;
- margin: 4px 0;
- text-transform: uppercase;
- font-size: 13px;
- overflow: hidden;
- }
- label span {
- float: right;
- text-transform: none;
- font-weight: 200;
- line-height: 1em;
- font-style: italic;
- opacity: 0.8;
- }
- .form-controll {
- display: block;
- padding: 8px 16px;
- width: 100%;
- font-size: 16px;
- background-color: rgba(255, 255, 255, 0.2);
- border: 1px solid rgba(255, 255, 255, 0.3);
- color: #fff;
- font-weight: 200;
- }
- .form-controll:focus {
- outline: 2px solid rgba(255, 255, 255, 0.5);
- outline: -webkit-focus-ring-color auto 5px;
- }
- button {
- padding: 8px 30px;
- background: rgba(255, 255, 255, 0.8);
- color: #053777;
- text-transform: uppercase;
- font-weight: 600;
- font-size: 11px;
- border: 0;
- text-shadow: 0 1px 2px #fff;
- cursor: pointer;
- margin-left: 15px;
- margin-right: 15px;
- }
- button:disabled {
- background: rgba(150, 150, 150, 0.9);
- }
- .form-group {
- max-width: 500px;
- margin: auto;
- margin-bottom: 30px;
- }
- .back-to-article {
- color: #fff;
- text-transform: uppercase;
- font-size: 12px;
- position: absolute;
- right: 20px;
- top: 20px;
- text-decoration: none;
- display: inline-block;
- background: rgba(0, 0, 0, 0.6);
- padding: 10px 18px;
- transition: all 0.3s ease-in-out;
- opacity: 0.6;
- }
- .back-to-article:hover {
- opacity: 1;
- background: rgba(0, 0, 0, 0.8);
- }
- .go-to-editor {
- color: #fff;
- text-transform: uppercase;
- font-size: 12px;
- position: absolute;
- left: 20px;
- top: 20px;
- text-decoration: none;
- display: inline-block;
- background: rgba(0, 0, 0, 0.6);
- padding: 10px 18px;
- transition: all 0.3s ease-in-out;
- opacity: 0.6;
- }
- .go-to-editor:hover {
- opacity: 1;
- background: rgba(0, 0, 0, 0.8);
- }
- option{
- background: rgba(54, 102, 152);
- }
- .center{
- text-align: center;
- }
|