This repository has been archived on 2026-05-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
codiki-old/src/main/ts/src/app/posts/create-update/create-update-post.component.scss
T

233 lines
3.8 KiB
SCSS

.card {
margin-bottom: 50px;
}
.card-header {
padding-top: 24px;
padding-left: 24px;
padding-right: 24px;
padding-bottom: 0px;
border-width: 0px;
}
.tabs {
width: 50%;
text-align: center;
line-height: 62px;
}
.tabs.active {
border-bottom: 4px solid white;
}
.custom-select {
border: 0px;
border-bottom: 1px #aaa solid;
border-radius: 0;
padding-left: 0;
margin-bottom: 20px;
}
.custom-select:focus {
-webkit-box-shadow: 0;
box-shadow: 0;
}
.md-form {
margin-bottom: 35px;
}
#footer {
line-height: 57px;
padding-left: 15px;
}
#toolbox {
margin-left: 5px;
margin-bottom: 15px;
}
.btn-floating {
border-radius: 50%;
padding: 0;
margin: 2px;
width: 40px;
height: 40px;
background-color: #3f51b5;
text-align: center;
box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
transition: box-shadow 0.3s ease-in-out;
}
.btn-floating:hover {
box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}
#text {
padding: 0;
height: 250px;
overflow-y: scroll;
}
.wrap {
top: 40%;
width: 100%;
margin: 0 auto;
}
/* select starting stylings ------------------------------*/
.select {
position: relative;
width: 100%;
}
.select-text {
position: relative;
font-family: inherit;
background-color: transparent;
width: 100%;
padding: 10px 10px 10px 0;
font-size: 18px;
border-radius: 0;
border: none;
border-bottom: 1px solid #bdbdbd;
}
/* Remove focus */
.select-text:focus {
outline: none;
border-bottom: 1px solid rgba(0,0,0, 0);
}
/* Use custom arrow */
.select .select-text {
appearance: none;
-webkit-appearance:none
}
.select:after {
position: absolute;
top: 18px;
right: 10px;
/* Styling the down arrow */
width: 0;
height: 0;
padding: 0;
content: '';
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid #bdbdbd;
pointer-events: none;
}
/* LABEL ======================================= */
.select-label {
color: #757575;
font-size: 1rem;
font-weight: normal;
position: absolute;
pointer-events: none;
left: 0;
top: -5px;
transition: 0.2s ease all;
}
/* active state */
.select-text:focus ~ .select-label {
color: #2F80ED;
}
.select-text:focus ~ .select-label, .select-text:valid ~ .select-label {
top: -20px;
transition: 0.2s ease all;
font-size: 14px;
}
/* BOTTOM BARS ================================= */
.select-bar {
position: relative;
display: block;
width: 100%;
}
.select-bar:before, .select-bar:after {
content: '';
height: 2px;
width: 0;
bottom: 1px;
position: absolute;
background: #2F80ED;
transition: 0.2s ease all;
}
.select-bar:before {
left: 50%;
}
.select-bar:after {
right: 50%;
}
/* active state */
.select-text:focus ~ .select-bar:before, .select-text:focus ~ .select-bar:after {
width: 50%;
}
/* HIGHLIGHTER ================================== */
.select-highlight {
position: absolute;
height: 60%;
width: 40%;
top: 25%;
left: 0;
pointer-events: none;
opacity: 0.5;
}
$btnSize: 45px;
.fixed-action-btn {
display: block;
position: absolute;
bottom: 10px;
right: 40px;
z-index: 997;
width: $btnSize;
height: $btnSize;
border-radius: 50%;
line-height: $btnSize;
text-align: center;
font-size: 25px;
box-shadow: 0 5px 11px 0 rgba(0,0,0,.18), 0 4px 15px 0 rgba(0,0,0,.15);
transition: box-shadow 0.3s ease-in-out;
}
.fixed-action-btn:hover {
box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19);
}
#image-div {
height: 60vh;
overflow-y: scroll;
}
.uploaded-image {
display: inline-flex;
position: relative;
width: 300px;
height: 300px;
background-color: #fff;
border-radius: 3px;
box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.12),0 1px 5px 0 rgba(0,0,0,0.2);
cursor:pointer;
margin-right: 15px;
margin-bottom: 15px;
}
#codeTmp {
padding: 0;
height: 250px;
overflow-y: scroll;
}