Skip to content
Snippets Groups Projects
Commit 35e1e792 authored by Muhammad Nurdin Husen's avatar Muhammad Nurdin Husen
Browse files

Design dropdown changes

parent 8b76569a
Branches
4 merge requests!40Release First Version,!32Output feature,!31Output feature,!21Add dockerize
Pipeline #24186 passed with stage
in 45 seconds
......@@ -7,12 +7,14 @@
Choose Standard
</h5>
</div>
<div class="col dropdown users-margin">
<vue-dropdown
:config="config"
@setSelectedOption="setNewSelectedOption($event)"
>
</vue-dropdown>
<div class="col dropdown-container users-margin">
<div class="standard-dropdown">
<vue-dropdown
:config="config"
@setSelectedOption="setNewSelectedOption($event)"
>
</vue-dropdown>
</div>
</div>
</div>
<div class="row">
......@@ -218,34 +220,19 @@ export default {
padding-right: 1rem;
}
/* .select-box select{
background: #fff;
color: #1E889B;
padding-left: 1.5rem;
padding-right: 1rem;
padding-bottom: 0.3rem;
padding-top: 0.3rem;
border: none;
width: 8rem;
-webkit-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
.standard-dropdown{
background: yellow;
width: 200px;
overflow-x: hidden;
border-radius: 25px;
-webkit-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
border-radius: 0.3rem;
-webkit-appearance: button;
outline: none;
}
.select-box:before{
content:'\f0d7';
width: 5rem;
background: #1E889B;
} */
.dropdown {
font-size: 0.55rem;
.dropdown{
color: #1E889B;
font-family: 'Open Sans Regular';
width: 10rem;
}
</style>
\ No newline at end of file
......@@ -21,18 +21,14 @@
<div class="row">
<div class="col">
<div class="json-container">
<json-viewer v-if="type === 'json'"
<div class="json-data" v-if="type === 'json'">
<json-viewer
:value="json"
:expand-depth=5
boxed
>
</json-viewer>
<div id="xml" v-if="type === 'xml'"></div>
<!-- <div class="json-data">
<h6>{{ json }}</h6>
</div>
<br> -->
<div id="xml" v-if="type === 'xml'"></div>
<button class="btn-action btn-right" @click="closeOutputViewer()">
<i class="ml-3 mt-1 fa fa-angle-left" />
Back
......@@ -228,6 +224,7 @@ export default {
/* margin-top: 2.8rem; */
/* padding-left: 1.5rem; */
padding-right: 1rem;
margin-top: 1rem;
}
.json-container{
......@@ -237,14 +234,14 @@ export default {
}
.json-data{
background: #e2e2e2;
font-family: 'Courier New', Courier, monospace;
border-radius: 0.5rem;
height: 15rem;
padding-left: 1.5rem;
padding-top: 1rem;
height: 20rem;
overflow-y:scroll;
word-wrap:break-word;
-webkit-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
}
#xml{
......@@ -252,5 +249,8 @@ export default {
overflow-y: scroll;
padding-left: 1.5rem;
padding-top: 1rem;
-webkit-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
}
</style>
\ No newline at end of file
......@@ -7,12 +7,14 @@
Choose Standard
</h5>
</div>
<div class="col dropdown users-margin">
<vue-dropdown
:config="config"
@setSelectedOption="setNewSelectedOption($event)"
>
</vue-dropdown>
<div class="col dropdown-container users-margin">
<div class="standard-dropdown">
<vue-dropdown
:config="config"
@setSelectedOption="setNewSelectedOption($event)"
>
</vue-dropdown>
</div>
</div>
</div>
<div class="row">
......@@ -226,11 +228,18 @@ export default {
padding-right: 1rem;
}
.dropdown {
font-size: 0.55rem;
.standard-dropdown{
background: yellow;
width: 200px;
overflow-x: hidden;
border-radius: 25px;
-webkit-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
-moz-box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
box-shadow: 2px 5px 5px 0px rgba(0,0,0,0.15);
}
.dropdown{
color: #1E889B;
font-family: 'Open Sans Regular';
width: 10rem;
}
</style>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment