vue3-icon-picker
Version:
Vue 3 icon picker
143 lines (140 loc) • 4.87 kB
CSS
[data-v-c4d143c9] svg {
display: block;
width: var(--1eeac9aa);
height: var(--1eeac9aa);
color: var(--84e10a4c);
}
.vue-recycle-scroller{position:relative}.vue-recycle-scroller.direction-vertical:not(.page-mode){overflow-y:auto}.vue-recycle-scroller.direction-horizontal:not(.page-mode){overflow-x:auto}.vue-recycle-scroller.direction-horizontal{display:flex}.vue-recycle-scroller__slot{flex:auto 0 0}.vue-recycle-scroller__item-wrapper{flex:1;box-sizing:border-box;overflow:hidden;position:relative}.vue-recycle-scroller.ready .vue-recycle-scroller__item-view{position:absolute;top:0;left:0;will-change:transform}.vue-recycle-scroller.direction-vertical .vue-recycle-scroller__item-wrapper{width:100%}.vue-recycle-scroller.direction-horizontal .vue-recycle-scroller__item-wrapper{height:100%}.vue-recycle-scroller.ready.direction-vertical .vue-recycle-scroller__item-view{width:100%}.vue-recycle-scroller.ready.direction-horizontal .vue-recycle-scroller__item-view{height:100%}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}
.v3ip__custom-select[data-v-f12906fd] {
position: relative;
width: 100%;
text-align: left;
outline: none;
height: 36px;
line-height: 36px;
min-width: 200px;
}
.v3ip__custom-select .v3ip__selected[data-v-f12906fd] {
background-color: #fff;
border-radius: 6px;
border: 1px solid rgb(224, 224, 230);
color: #333639;
padding-left: 1em;
padding-right: 1.4em;
cursor: pointer;
user-select: none;
min-height: 36px;
display: flex;
align-items: center;
}
.v3ip__custom-select .v3ip__selected .multiple[data-v-f12906fd] {
align-items: center;
display: flex;
}
.v3ip__custom-select .v3ip__selected .multiple .item[data-v-f12906fd] {
display: inline-block;
margin-right: 10px;
}
.v3ip__custom-select .v3ip__selected .placeholder[data-v-f12906fd] {
color: silver;
}
.v3ip__custom-select .v3ip__selected.open[data-v-f12906fd] {
border: 1px solid #c2c2c2;
border-radius: 6px 6px 0px 0px;
}
.v3ip__custom-select .v3ip__selected.open[data-v-f12906fd]:after {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg);
top: 12px;
}
.v3ip__custom-select .v3ip__selected[data-v-f12906fd]:after {
position: absolute;
content: '';
top: 17px;
right: 1em;
width: 0;
height: 0;
border: 5px solid transparent;
border-color: #333639 transparent transparent transparent;
}
.v3ip__custom-select .v3ip__selected.disabled[data-v-f12906fd] {
cursor: default;
background-color: whitesmoke;
}
.v3ip__custom-select .v3ip__items[data-v-f12906fd] {
color: #222;
border-radius: 0px 0px 6px 6px;
overflow: hidden;
border-right: 1px solid #c2c2c2;
border-left: 1px solid #c2c2c2;
border-bottom: 1px solid #c2c2c2;
position: absolute;
background-color: #fff;
left: 0;
right: 0;
z-index: 1;
max-height: 225px;
overflow-y: auto;
display: flex;
}
.v3ip__custom-select .v3ip__items div[data-v-f12906fd] {
color: #222;
cursor: pointer;
user-select: none;
display: flex;
align-items: center;
justify-content: center;
height: 40px;
}
.v3ip__custom-select .v3ip__items div[data-v-f12906fd]:hover {
background-color: rgb(243, 243, 245);
}
.v3ip__custom-select .v3ip__items div.active[data-v-f12906fd] {
background-color: var(--589c7ffe);
}
.v3ip__search[data-v-f12906fd] {
width: 100%;
display: flex;
justify-content: center;
position: relative;
z-index: 1;
}
.v3ip__search input[data-v-f12906fd],
.v3ip__search input[data-v-f12906fd]:focus-visible {
width: 100%;
border-radius: 0;
line-height: 30px;
border: 1px solid #c2c2c2;
border-top: none;
padding-right: 1em;
padding-left: 1em;
}
.v3ip__search input[data-v-f12906fd]:focus-visible {
border: 1px solid #858585;
outline: 0;
}
.v3ip__empty[data-v-f12906fd] {
border-radius: 0px 0px 6px 6px;
border-right: 1px solid #c2c2c2;
border-left: 1px solid #c2c2c2;
border-bottom: 1px solid #c2c2c2;
background-color: #fff;
padding-bottom: 5px;
padding-top: 5px;
position: relative;
z-index: 1;
}
.v3ip__empty > .default-text[data-v-f12906fd] {
text-align: center;
}
.fade-enter-active[data-v-f12906fd],
.fade-leave-active[data-v-f12906fd] {
transition: opacity 0.25s ease;
}
.fade-enter-from[data-v-f12906fd],
.fade-leave-to[data-v-f12906fd] {
opacity: 0;
}