@@ -29,6 +29,107 @@ main {
2929 display : flex;
3030 flex-flow : column;
3131 }
32+ main > section > details {
33+ flex : 0 ;
34+ position : relative;
35+ padding : 10px ;
36+ width : 100% ;
37+ height : max-content;
38+ background-color : # fafbfc ;
39+
40+ box-shadow : 0 0 5px 0 # 333 ;
41+
42+ z-index : 2 ;
43+ }
44+ main > section > details > summary {
45+ cursor : pointer;
46+ }
47+ main > section > details > ul , main > section > details > p {
48+ padding : 10px 10px 10px 30px ;
49+ }
50+ main > section > form {
51+ position : relative;
52+ flex : 1 ;
53+ width : 100% ;
54+
55+ z-index : 1 ;
56+ }
57+ main > section > form > div {
58+ position : absolute;
59+ padding : 20px ;
60+ left : 0 ;
61+ top : 50% ;
62+ width : 100% ;
63+ height : max-content;
64+ max-height : calc (100% - 60px );
65+ overflow : auto;
66+
67+ transform : translateY (calc (-50% - 30px ));
68+
69+ display : flex;
70+ flex-direction : column;
71+ align-items : center;
72+ }
73+ main > section > form > div > label {
74+ display : block;
75+ margin : 0 5px 10px 5px ;
76+ float : left;
77+ width : 800px ;
78+ max-width : calc (100% - 10px );
79+ }
80+ main > section > form > div > label input [type = "text" ] {
81+ margin : 5px 0 ;
82+ padding : 7px 14px ;
83+ border : none;
84+ border-bottom : 1px solid # aaa ;
85+ width : 100% ;
86+ font-size : 14px ;
87+
88+ border-radius : 5px ;
89+ }
90+ main > section > form > div > label > span > input [type = "text" ] {
91+ width : 300px ;
92+ max-width : calc (100% - 50px );
93+ }
94+ main > section > form > nav {
95+ position : absolute;
96+ padding : 0 15px ;
97+ left : 0 ;
98+ bottom : 0 ;
99+ width : 100% ;
100+ height : 40px ;
101+
102+ display : flex;
103+ justify-content : space-between;
104+ }
105+ main > section > form > nav > button {
106+ text-decoration : none;
107+ width : 100px ;
108+ height : 30px ;
109+ background-color : # 0366d6 ;
110+ color : # fff ;
111+ text-align : center;
112+ border : none;
113+ cursor : pointer;
114+
115+ border-radius : 5px ;
116+
117+ display : flex;
118+ justify-content : center;
119+ align-items : center;
120+ }
121+ main > section > form > nav > button .finish , main > section > form > nav > button .new {
122+ background-color : # 2ea44f ;
123+ }
124+ main > section > form > nav > button : only-child {
125+ margin-left : auto;
126+ }
127+ main > section > form > nav > button : hover {
128+ transform : scale (1.05 );
129+ }
130+ main > section > form > nav > button : active {
131+ transform : scale (1 );
132+ }
32133
33134footer {
34135 position : fixed;
0 commit comments