Liveteract-JS-Library / pub / css / examples.css
examples.css
Raw
body{
    margin: 0;
    background-color: #d0e1e4;
    /* z-index: 150; */
}
#topbar{
    width: 100%;
    height: 60px;
    background-image: linear-gradient(#3F26BF, #0066FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20pt;
    font-family: 'Dancing Script', cursive;
}
p{
    font-family: 'arial', cursive;
}
#actionList{
    left: 80%;
    height: 250px;
    width: 150px;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    padding-top: 15px;
    background-color: bisque;
}

.actionButton{
    width: auto;
    height: auto;
    border: none;
    padding: 10px;
    cursor: pointer;
    background-color: lightgray;
}

.interactiveArea{
    position: relative;
    /* display: block; */
    margin: 20px;
    border: 3px dashed springgreen;
    /* width: calc(100% - 46px); */
    width: 80vh;
    /* height: calc(100vh - 106px); */
    height: 50vh;
    background-color: grey;
    /* z-index: 0; */
    overflow:auto;
}

#ibar{
    background-color: cornflowerblue;
    display: flex;
    justify-content: center;
    align-items: center;
    position:absolute;
    height: 70px;
    width:100%;
    top: 20px
}

#example1{
    background-color: red;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 150px;
}

.textbox{
    /* border: 1px solid cyan; */
    /* display: flex; */
    /* padding: 10px; */
    /* left: 45%; */
    /* margin: 0; */
    /* margin-top: 50px; */
    width: 500px;
    /* word-wrap: normal; */
    /* align-items: middle; */
    position: relative;
    /* z-index: 1; */
}

#text1{
    top: 20%;
    background-color: wheat;
    position: absolute;
}


#picture{
    margin: 40px;
    width: 700px;
    height: 500px;
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    background-color: lightgrey;
}


#image{
    background-image: url('../images/crystal.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    height: 500px;
    width: calc(500px * 1.33);
    top: 90px;
}
#image img{
    visibility: hidden;
    object-fit: contain;
    width: inherit;
    height: inherit;
}


#demo{
    width: 100%;
    height: 70vh;
    background-color: green;
    position: relative;
    /* display: block; */
    margin: 20px;
    border: 3px dashed springgreen;
    background-color: grey;
    overflow:auto;
}


#dragExample{
    background-color: red;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 150px;
}
#snapExample{
    background-color: red;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 150px;
}

#resizeExample{
    background-color: red;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 150px;
}
#removeExample1{
    background-color: red;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 150px;
}
#removeExample2{
    background-color: blue;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 540px;
}

#alignExample1{
    background-color: red;
    height: 50px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 150px;
}
#alignExample2{
    background-color: blue;
    height: 200px;
    width: 100px;
    position: absolute;
    top: 150px;
    left: 540px;
}

.gridCodePair{
    padding-top: 20px;
    display: flex;
}