Finished misc components

pull/310/head
cagataycivici 2020-04-24 19:21:34 +03:00
parent 1979589d83
commit 7114679ca7
4 changed files with 8 additions and 23 deletions

View File

@ -61,9 +61,6 @@ export default {
.p-inplace .p-inplace-display {
display: inline;
cursor: pointer;
border: 0 none;
padding: .25em;
font-weight: normal;
}
.p-inplace .p-inplace-content {

View File

@ -78,14 +78,6 @@ export default {
font-weight: bold;
}
.p-progressbar-indeterminate {
height: .5em;
}
.p-progressbar-indeterminate .p-progressbar-value {
border: 0 none;
}
.p-progressbar-indeterminate .p-progressbar-value::before {
content: '';
position: absolute;

View File

@ -105,5 +105,4 @@ export default {
stroke: #ffa700;
}
}
</style>

View File

@ -8,7 +8,7 @@
<div class="p-terminal-response">{{command.response}}</div>
</div>
</div>
<div>
<div class="p-terminal-prompt-container">
<span class="p-terminal-prompt">{{prompt}}</span>
<input ref="input" type="text" v-model="commandText" class="p-terminal-input" autocomplete="off" @keydown="onKeydown">
</div>
@ -64,23 +64,20 @@ export default {
.p-terminal {
height: 18em;
overflow: auto;
padding: .25em;
}
.p-terminal-prompt-container {
display: flex;
align-items: center;
}
.p-terminal-input {
flex: 1 1 auto;
border: 0 none;
background-color: transparent;
color: inherit;
padding: 0;
margin: 0 0 0 .125em;
width: 75%;
outline: none;
vertical-align: baseline;
}
.p-terminal-command {
margin-left: .125em;
-moz-margin-start: .125em;
outline: 0 none;
}
.p-terminal-input::-ms-clear {