last-draft-js-plugins
Version:
Last Draft draft-js-plugins
268 lines (242 loc) • 5.5 kB
CSS
.draftJsSidebarPlugin__buttonWrapper__1Dmqh {
display: inline-block;
}
.draftJsSidebarPlugin__button__qi1gf {
background: #fbfbfb;
color: #404040;
font-size: 18px;
border: 0;
padding-top: 5px;
vertical-align: bottom;
height: 46px;
width: 46px;
}
.draftJsSidebarPlugin__button__qi1gf svg {
fill: currentColor;
}
.draftJsSidebarPlugin__button__qi1gf:hover, .draftJsSidebarPlugin__button__qi1gf:focus {
background: #f3f3f3;
outline: 0; /* reset for :focus */
}
.draftJsSidebarPlugin__active__3qcpF {
background: #efefef;
color: #444;
}
.draftJsSidebarPlugin__active__3qcpF svg {
fill: #444;
}
.draftJsSidebarPlugin__separator__3M3L7 {
display: inline-block;
border-right: 1px solid #ddd;
height: 24px;
margin: 0 0.5em;
}
.draftJsSidebarPlugin__blockType__27Jwn {
box-sizing: border-box;
background: #181818;
color: #fff;
margin: 0;
border-radius: 13px;
cursor: pointer;
height: 26px;
width: 26px;
text-align: center;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.draftJsSidebarPlugin__blockType__27Jwn svg {
-webkit-transform: scale(0.7);
transform: scale(0.7);
}
.draftJsSidebarPlugin__spacer__2Os2z {
position: absolute;
left: 50%;
-webkit-transform: translate(-50%);
transform: translate(-50%);
width: 74px;
height: 8px;
}
.draftJsSidebarPlugin__popup__GHzbY {
position: absolute;
left: 130px;
-webkit-transform: translate(-50%);
transform: translate(-50%);
border: 1px solid #ddd;
background: #fff;
border-radius: 2px;
box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.3);
box-sizing: border-box;
display: -webkit-box;
display: flex;
margin-top: -40px;
}
.draftJsSidebarPlugin__wrapper__3on36 {
position: absolute;
z-index: 3;
}
.draftJsSidebarPlugin__modalWrapper__EaX74 {
white-space: nowrap;
background: #fff;
box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.3);
}
.draftJsSidebarPlugin__modalInput__1sp75 {
background-color: transparent;
border: none;
color: #181818 ;
font-size: 15px;
height: auto;
line-height: 1.2;
margin: 0;
padding: 16px;
width: 270px;
}
.draftJsSidebarPlugin__modalInput__1sp75:focus {
outline: none;
}
.draftJsSidebarPlugin__modalButton__ffoIL {
padding: 0;
cursor: pointer;
border: 0;
height: 46px;
width: 46px;
background: transparent;
padding-right: 16px;
color: #ccc;
}
.draftJsSidebarPlugin__modalButton__ffoIL:hover {
color: #9d1d20;
}
.draftJsSidebarPlugin__modalButtonWrapper__27s-M {
display: inline-block;
vertical-align: bottom;
}
.draftJsSidebarPlugin__wrapper__ih9FN {
position: absolute;
border: 1px solid #F1F1F1;
border-radius: 2px;
background-color: inherit;
box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.3);
height: 400px;
overflow-y: scroll;
z-index: 100;
padding: 1rem;
margin-top: -3rem;
}
.draftJsSidebarPlugin__picker__iDUNn {
display: -webkit-box;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
border-radius: 2px;
-webkit-box-align: baseline;
align-items: baseline;
}
.draftJsSidebarPlugin__gif__3NqJR {
cursor: pointer;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
padding: 0.21rem;
}
.draftJsSidebarPlugin__input__33l4h {
background-color: white;
border: 1px solid #ddd;
border-radius: 2px;
color: inherit;
font-size: 15px;
height: auto;
line-height: 1.2;
padding: 1rem;
margin: 1rem 0.2rem;
z-index: 100;
}
.draftJsSidebarPlugin__input__33l4h:focus {
outline: none;
}
.draftJsSidebarPlugin__closeWrapper__Fz-as {
position: absolute;
top: 0.2rem;
right: 0;
cursor: pointer;
border: 0;
background: transparent;
color: #ccc;
width: 200px;
margin: 0 1rem;
}
.draftJsSidebarPlugin__closeWrapper__Fz-as:hover {
color: #9d1d20;
}
.draftJsSidebarPlugin__close__3IRgw {
display: block;
margin: 0 0 0 auto;
}
.draftJsSidebarPlugin__wrapper__2Hef_ {
position: absolute;
margin-top: 1rem;
border: 1px solid #F1F1F1;
border-radius: 2px;
background-color: inherit;
box-shadow: 0 1px 18px 0 rgba(0, 0, 0, 0.3);
width: 370px;
min-height: 360px;
z-index: 100;
margin-top: -3rem;
}
.draftJsSidebarPlugin__picker__2FUMw {
display: -webkit-box;
display: flex;
flex-wrap: wrap;
padding: 0.8rem;
padding-top: 0;
margin-top: 1rem;
border-radius: 2px;
-webkit-box-align: baseline;
align-items: baseline;
float: left;
width: 85%;
}
.draftJsSidebarPlugin__emoji__2ci96 {
cursor: pointer;
display: -webkit-box;
display: flex;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
padding: 0.21rem;
}
.draftJsSidebarPlugin__tabWrapper__v0rd2 {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
float: left;
width: 15%;
height: 100%;
border-right: 1px solid rgba(0, 0, 0, 0.1);
}
.draftJsSidebarPlugin__tab__1djJ6 {
font-size: 1.5rem;
padding-left: 0.35rem;
padding: 0.8rem;
margin: 0;
cursor: pointer;
}
.draftJsSidebarPlugin__tab__1djJ6 img {
height: 24px ;
width: 24px ;
}
.draftJsSidebarPlugin__closeWrapper__15umu {
position: absolute;
top: 1rem;
right: 2px;
cursor: pointer;
border: 0;
background: transparent;
color: #ccc;
}
.draftJsSidebarPlugin__closeWrapper__15umu:hover {
color: #9d1d20;
}