@hicoder/angular-cli
Version:
Angular UI componenets and service generator. It works with the mean-rest-express package to generate the end to end web application. The input to this generator is the Mongoose schema defined for the express application. mean-rest-express exposes the Res
163 lines (140 loc) • 2.58 kB
CSS
.edit {
width: 100%;
max-width: 750px;
margin: 0 auto;
}
fieldset > .form-control, .input-group, .form-check, .alert {
width: 90%;
}
.row > .form-control, .input-group, .form-check, .alert {
width: 100%; /* use the width of column */
}
.action-buttons {
width: 100%;
display: flex;
justify-content: flex-end;
flex-flow: wrap;
align-items: center;
margin: 0.5rem 0;
}
.action-buttons .btn {
margin: 0.25rem;
}
.action-buttons-center {
width: 100%;
display: flex;
justify-content: center;
flex-flow: wrap;
align-items: center;
margin: 0.5rem 0;
}
.action-buttons-center .btn {
margin: 0.25rem;
}
.card-title {
text-align: center;
}
.card span {
margin-left: 1rem;
}
.form-label {
font-weight: bold;
}
/*
.ng-valid[required], .ng-valid.required {
border-left: 5px solid #42A948; /* green *
}
*/
/*
.ng-valid:not(form) {
border-left: 5px solid #42A948; /* green *
}
*/
.ng-invalid:not(form) {
border-left: 5px solid #a94442; /* red */
}
.input-group-append .btn-outline-secondary {
border: 1px solid #ced4da;
border-radius: .25rem;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.ref-badge {
border: 1px solid #eceff3; /*rgba(0,0,0,.125); */
background-color: #eceff3;
}
.icon-search, .icon-clear {
z-index: 1;
pointer-events: auto;
cursor: pointer;
margin-left: 1rem;
}
.pointer {
cursor: pointer;
}
.input-group > span {
margin-left: 0.5rem;
}
.icon-clear-inside {
z-index: 3;
vertical-align: middle;
padding: 0.75rem 0.5rem 0rem 0.5rem;
cursor: pointer;
position: relative;
margin-left: -2rem; /* text 1 + left 0.5 + right 0.5 = 2 rem*/
border: 0;
height: 2rem;
}
.icon-clear-inside-sm {
z-index: 3;
cursor: pointer;
position: absolute;
margin: auto;
bottom: 0;
top: 0;
right: 1.5rem;
height: 1.5rem;
}
.icon-clear-badge {
cursor: pointer;
margin-left: 1rem;
}
.icon-clear-bg-light {
cursor: pointer;
margin-left: 1rem;
opacity: 0.7;
}
.icon-clear-bg-light:hover {
opacity: 1;
}
.icon-clear-badge-ontop {
cursor: pointer;
position: absolute;
margin: 0.15rem;
right: 0;
bottom: 0;
background: white;
opacity: 0.7;
}
.icon-clear-badge-ontop:hover {
opacity: 1;
}
.important-tip {
color: #dc3545;
}
.currency {
margin-right: 10px;
}
<%- include('/css/array-values.css'); %>
.new-area {
width: 90%;
padding: 5px 0 5px 20px;
background-color: #0000000d;
}
.picture-small-block {
display: inline-block;
width: 4rem;
height: 4rem;
position: relative;
margin: 0.25rem;
}