mirror of https://github.com/rancher/dashboard.git
before designs
This commit is contained in:
parent
289b80c7ea
commit
fa2addcc09
|
|
@ -200,3 +200,56 @@ $transition-duration: 150ms;
|
||||||
fill: rgba(60,60,60,0.26);
|
fill: rgba(60,60,60,0.26);
|
||||||
text-shadow: 0 1px 0 #fff
|
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;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -96,7 +96,6 @@ export default {
|
||||||
console.log('done?');
|
console.log('done?');
|
||||||
},
|
},
|
||||||
saveRouter() {
|
saveRouter() {
|
||||||
console.log(this.routes);
|
|
||||||
this.value.spec = { routes: this.routes };
|
this.value.spec = { routes: this.routes };
|
||||||
debugger;
|
debugger;
|
||||||
this.save(this.done);
|
this.save(this.done);
|
||||||
|
|
@ -123,5 +122,6 @@ export default {
|
||||||
</button> -->
|
</button> -->
|
||||||
|
|
||||||
<InputWithSelect :options="['Apples', 'Oranges']" :label="'a label'" @input="checkInput" />
|
<InputWithSelect :options="['Apples', 'Oranges']" :label="'a label'" @input="checkInput" />
|
||||||
|
<v-select :options="['Apples', 'Oranges']" class="inline" placeholder="'placeholder'" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue