-
Notifications
You must be signed in to change notification settings - Fork 0
/
commentbox1.css
118 lines (106 loc) · 2.01 KB
/
commentbox1.css
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
* {
box-sizing: border-box;
}
.warning {
background-color: orange;
color: #fff;
padding: 2em;
}
.clearfix::after {
content: "";
display: table;
clear: both;
}
.commentbox-app {
font-family: 'Montserrat', sans-serif;
color: #4a4a4a;
font-size: 45px;
.container {
max-width: 1120px;
margin: auto;
padding: 0 10px;
}
.heading {
color: dodgerblue;
border-left: 3px solid dodgerblue;
line-height: 1;
padding-left: 12px;
}
.comment-input,
.comment-btn {
float: left;
display: inline-block;
height: 70px;
}
.comment-input {
appearance: none;
border: 0;
border-left: 3px solid transparent;
background-color: #EEE;
padding: 10px 10px 10px 32px;
transition: .65s ease;
&:focus {
border-color: orange;
background-color: #fff;
}
}
.comment-btn {
appearance: none;
background-color: #fff;
font-size: 30px;
text-decoration: none;
color: orange;
padding: 10px 32px;
line-height: 1.5;
transition: 0.65s ease;
&,
&:focus,
&:active {
border: 0;
}
&:hover {
background-color: orange;
color: #fff;
}
&:hover + .comment-input {
background-color: #fff;
border-color: orange;
}
}
.remove-all-btn {
appearance: none;
border: 1px solid #ccc;
color: #222;
background-color: #eee;
padding: .3em .6em;
font-size: 40%;
}
.comment-stream {
list-style: none;
padding: 0;
margin-top: 65px;
.comment-remove {
display: none;
background-color: red;
color: #fff;
font-size: 20px;
text-decoration: none;
margin-left: 12px;
padding: 0 12px;
opacity: .75;
cursor: pointer;
&:hover {
opacity: 1;
}
}
li {
font-size: 28px;
padding-left: 10px;
border-left: 3px solid #4a4a4a;
margin-bottom: 25px;
&:hover .comment-remove {
display: inline-block;
}
}
}
}