before designs

This commit is contained in:
Nancy Butler 2019-10-30 13:08:25 -07:00 committed by Nancy Butler
parent 289b80c7ea
commit fa2addcc09
2 changed files with 54 additions and 1 deletions

View File

@ -200,3 +200,56 @@ $transition-duration: 150ms;
fill: rgba(60,60,60,0.26);
text-shadow: 0 1px 0 #fff
}
/*inline single-option select*/
.v-select.inline {
background-color: var(--input-bg);
.vs__selected {
color: var(--input-text);
margin: auto;
position: absolute;
top: 1em;
align-self: center;
}
.vs__dropdown-menu {
min-width: 0px;
}
.vs__dropdown-toggle {
background-color: var(--input-bg);
border:none;
height: 100%;
padding: none;
}
.vs__selected-options {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.vs__search {
background-color: var(--input-bg);
border: 1px dashed blue;
width: 100%;
}
.vs__open-indicator{
fill: var(--input-label);
}
.vs__clear {
display:none;
}
&.vs--open {
& .vs__selected {
top: 0;
align-self: end;
transform: scaleX(0);
// font-size: .9em;
transition: all 2s;
}
}
}

View File

@ -96,7 +96,6 @@ export default {
console.log('done?');
},
saveRouter() {
console.log(this.routes);
this.value.spec = { routes: this.routes };
debugger;
this.save(this.done);
@ -123,5 +122,6 @@ export default {
</button> -->
<InputWithSelect :options="['Apples', 'Oranges']" :label="'a label'" @input="checkInput" />
<v-select :options="['Apples', 'Oranges']" class="inline" placeholder="'placeholder'" />
</div>
</template>