-
Notifications
You must be signed in to change notification settings - Fork 39
/
fontawesome.css
161 lines (137 loc) · 3.44 KB
/
fontawesome.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
.mce-fontawesome-panel .mce-container-body > .mce-container,
.mce-fontawesome-panel .mce-container-body > .mce-container > .mce-container-body {
height: auto !important;
width: 670px;
}
.mce-fontawesome-panel .mce-container-body > .mce-container {
position: static;
margin-top: 10px;
margin-left: 10px;
}
.mce-fontawesome-panel-title {
display: flex;
align-items: center;
font-weight: 700;
margin-top: 5px;
margin-bottom: 4px;
cursor: pointer;
padding: 6px;
border-bottom: 1px solid transparent;
}
.mce-fontawesome-panel-title:hover,
.mce-fontawesome-panel-title:focus {
background-color: rgba(0,0,0,.1);
}
.mce-fontawesome-panel-search .mce-fontawesome-panel-title:hover,
.mce-fontawesome-panel-search .mce-fontawesome-panel-title:focus {
background-color: transparent;
}
.mce-fontawesome-panel-accordion-open .mce-fontawesome-panel-title {
border-bottom: 1px solid #eee;
}
.mce-fontawesome-panel-accordion:first-child .mce-fontawesome-panel-title {
margin-top: 0;
}
.mce-fontawesome-panel-accordion-indicator {
margin-left: auto;
font-family: FontAwesome;
}
.mce-fontawesome-panel-content {
transition: .5s height;
overflow: hidden;
}
.mce-fontawesome-panel .mce-icon-cell {
position: relative;
float: left;
width: 29px;
height: 29px;
}
.mce-fontawesome-panel .fa {
display: block;
line-height: 29px;
font-family: FontAwesome;
cursor: pointer;
text-align: center;
border-radius: 3px;
}
.mce-fontawesome-panel .fa:hover,
.mce-fontawesome-panel .fa:focus {
background-color: rgba(0,0,0,.1);
}
/* Search */
.mce-fontawesome-search-container {
position: absolute;
margin: 10px 0 0 10px;
}
.mce-fontawesome-search-container::before {
font-family: FontAwesome;
content: "\f002";
position: absolute;
top: 0;
left: 0;
line-height: 30px;
color: rgba(0,0,0,.4);
}
.mce-fontawesome-search-container-clear {
position: absolute;
display: none;
top: 0;
right: 0;
}
.mce-fontawesome-panel-search .mce-fontawesome-search-container-clear {
display: block;
}
.mce-fontawesome-search-container-clear span {
line-height: 30px;
color: rgba(0,0,0,.4);
}
.mce-fontawesome-search-container-clear:hover span,
.mce-fontawesome-search-container-clear:focus span {
color: rgba(0,0,0,.8);
}
.mce-fontawesome-search-container input {
display: block;
width: 200px;
height: 30px;
line-height: 30px;
margin: 0;
padding: 0 25px 0 25px;
border: 0 solid;
border-bottom: 1px solid rgba(0,0,0,.2);
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
.mce-fontawesome-search-container input::-webkit-input-placeholder {
color: rgba(0,0,0,.4);
}
.mce-fontawesome-search-container input::-moz-placeholder {
color: rgba(0,0,0,.4);
}
.mce-fontawesome-search-container input:-ms-input-placeholder {
color: rgba(0,0,0,.4);
}
.mce-fontawesome-search-noresults {
text-align: center;
color: rgba(0, 0, 0, 0.4);
position: absolute;
left: 0px;
right: 0px;
top: calc(50% - 8px);
}
/* Toolbar icon */
.mce-i-flag {
display: inline-block;
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin-right: 1px;
position: relative;
top: 1px;
}
.mce-i-flag:before {
content: "\f024";
}