-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
134 lines (129 loc) · 4.67 KB
/
Copy pathstyles.css
File metadata and controls
134 lines (129 loc) · 4.67 KB
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
/*button,button:hover{border:none;color:#fff;padding:10px}
.chat__messages,.chat__sidebar ul{list-style-type:none}
*{box-sizing:border-box;margin:0;padding:0;font-family:HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;font-weight:300;font-size:.95rem}
li,ul{list-style-position:inside}
h3{font-weight:600;text-align:center;font-size:1.5rem}
button{background:#265f82;cursor:pointer;transition:background .3s ease}
button:hover{background:#1F4C69}
button:disabled{cursor:default;background:#698ea5}
.centered-form{display:flex;align-items:center;height:100vh;width:100vw;justify-content:center;background:-moz-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:-webkit-gradient(linear,left top,right bottom,color-stop(0,rgba(49,84,129,1)),color-stop(100%,rgba(39,107,130,1)));background:-webkit-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:-o-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:-ms-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:linear-gradient(325deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%)}
.centered-form__form{background:rgba(250,250,250,.9);border:1px solid #e1e1e1;border-radius:5px;padding:0 20px;margin:20px;width:230px}
.form-field{margin:20px 0}
.form-field>*{width:100%}
.form-field label{display:block;margin-bottom:7px}
.form-field input,.form-field select{border:1px solid #e1e1e1;padding:10px}
.chat{display:flex}
.chat__sidebar{overflow-y:scroll;width:260px;height:100vh;background:-moz-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:-webkit-gradient(linear,left top,right bottom,color-stop(0,rgba(49,84,129,1)),color-stop(100%,rgba(39,107,130,1)));background:-webkit-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:-o-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:-ms-linear-gradient(125deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%);background:linear-gradient(325deg,rgba(39,107,130,1) 0,rgba(49,84,129,1) 100%)}
.chat__footer,.chat__sidebar li{background:#e6eaee;padding:10px}
.chat__sidebar h3{color:#e6eaee;margin:10px 20px;text-align:left}
.chat__sidebar li{border:1px solid #e1e1e1;border-radius:5px;margin:10px}
.chat__main{display:flex;flex-direction:column;height:100vh;width:100%}
.chat__messages{flex-grow:1;overflow-y:scroll;-webkit-overflow-scrolling:touch;padding:10px}
.chat__footer{display:flex;flex-shrink:0}
.chat__footer form{flex-grow:1;display:flex}
.chat__footer form *{margin-right:10px}
.chat__footer input{border:none;padding:10px;flex-grow:1}
.message{padding:10px}
.message__title{display:flex;margin-bottom:5px}
.message__title h4{font-weight:600;margin-right:10px}
.message__title span{color:#999}@media (max-width:600px){*{font-size:1rem}.chat__sidebar{display:none}.chat__footer{flex-direction:column}.chat__footer form{margin-bottom:10px}.chat__footer button{margin-right:0}}
*/
body {
margin:0;
padding: 0;
font-family: sans-serif;
background: #24292e
}
.box {
width: 300px;
padding:40px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #191919;
border-radius: 25px;
box-shadow: 5px 5px 5px 2px black;
text-align: center;
}
.box h2 {
color:white;
text-transform: uppercase;
font-weight: 600;
margin-bottom: 40px;
}
.box label {
color: white;
text-transform: uppercase;
}
.box input{
border: 0;
background: none;
background-color: white;
color: #24292e;
font-weight: bold;
font-size: 1rem;
display: block;
margin:20px auto;
text-align: center;
border: 1px solid #24292e;
padding: 14px 10px;
width: 250px;
outline: none;
border-radius: 24px;
transition: 0.25s;
}
.button {
display: inline-block;
text-decoration: none;
border: 1px solid #24292e;
font-weight: bold;
border-radius: 10rem;
background-color: #24292e;
color: white;
width: 100px;
box-shadow: 5px 5px 5px 2px black;
padding: 15px;
margin-top: 2px;
/*float: right;*/
font-size: 1rem;
transition: all .2s;
position: relative;
outline: 0;
overflow: hidden;
z-index: 1;
}
.button:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #24292e;
border-radius: 10rem;
z-index: -2;
}
.button:before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0%;
height: 100%;
background-color: white;
transition: all 0.2s;
border-radius: 10rem;
z-index: -1;
}
.button:hover {
color: #24292e;
}
.button:hover:before {
width: 100%;
}
.button:active {
-webkit-transform: translateY(-1px);
transform: translateY(-1px);
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}