Moving forward.
[wolnelektury.git] / src / wolnelektury / static / 2022 / styles / layout / _simple.scss
1 .page-simple {
2     margin: 0 16px 70px 16px;
3     padding-bottom: 30px;
4     
5     border-radius: 10px;
6     background: #E1F1F2;
7     display: flex;
8     flex-direction: column;
9     align-items: center;
10
11     .white-box {
12         // for legacy templates
13         width: 100%;
14         display: flex;
15         flex-direction: column;
16         align-items: center;
17     }
18     
19     h1 {
20         width: 100%;
21         margin: 0 0 50px 0;
22         padding: 32px 45px;
23         border-radius: 10px 10px 0 0;
24
25         font-style: italic;
26         font-weight: 300;
27         font-size: 48px;
28         line-height: 55px;
29         letter-spacing: -0.02em;
30         background: #083F4D;
31         color: #92BD39;
32     }
33
34     > p, form, > .normal-text {
35         margin-left: 16px;
36         margin-right: 16px;
37         width: auto;
38
39         @include rwd($break3) {
40             min-width: 300px;
41             margin-left: 50px;
42             margin-right: 50px;
43         }
44     }
45
46     .wlfund {
47         margin: 0;
48         width: 90%;
49         border-collapse: separate;
50
51         tr {
52             td {
53                 padding: .625rem .3125rem .625rem;
54                 border-top: .625rem solid rgba(255,255,255,0);
55                 border-bottom: 1px solid #083F4D;
56                 text-align: center;
57             }
58         }
59     }
60
61     .form-info {
62         h2 {
63             font-size: 1.5em;
64             margin-top: 0;
65         }
66     }
67
68 }
69
70 .page-simple, .nice-controls {
71     button, input[type=submit] {
72         margin: 24px 0;
73         height: 56px;
74         background: #083F4D;
75         border: none;
76         border-radius: 3px;
77         font-weight: 600;
78         font-size: 20px;
79         line-height: 25px;
80         display: flex;
81         align-items: center;
82         justify-content: center;
83         text-align: center;
84         color: #FFFFFF;
85         width: 100%;
86
87         @include rwd($break3) {
88             width: 340px;
89         }
90         
91         &.active {
92             outline: 2px solid #083F4D;
93             outline-offset: 3px;
94         }
95         
96         &:disabled {
97             opacity: .8;
98         }
99
100         &.button-orange {
101             background: #FFA500;
102             color: black;
103             transition: all cubic-bezier(0.25, 1, 0.5, 1) 350ms;
104             &:hover {
105                 background: #92BD39;
106             }
107         }
108     }
109
110     label {
111         font-style: normal;
112         font-weight: 600;
113         font-size: 15px;
114         line-height: 160%;
115         color: #083F4D;
116         margin-top: 24px;
117     }
118
119     input, textarea, select {
120         display: block;
121         width: 100%;
122         background: #FFFFFF;
123         color: black;
124         border: 1px solid #D5ECED;
125         border-radius: 3px;
126         transition: all cubic-bezier(0, 0, 0.2, 1) 250ms;
127         padding: 10px;
128         outline: 0;
129     }
130     input, select {
131         height: 56px;
132     }
133     input[type=checkbox], input[type=radio] {
134         display: inline;
135         float: left;
136         width: 1.2em;
137         height: 1.2em;
138         vertical-align: middle;
139         margin-right: 1em;
140     }
141 }