mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-09 06:38:39 +00:00
new form layout and other tpl fixes
This commit is contained in:
parent
be1b35a508
commit
3292bc2162
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
|
|
||||||
.ac-container{
|
.ac-container {
|
||||||
margin: 1rem auto 1rem auto;
|
margin: 1rem auto 1rem auto;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|
||||||
|
|
@ -44,8 +44,59 @@
|
||||||
height: auto;
|
height: auto;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
border-left: 1rem solid var(--box-border);
|
border-left: 1px solid var(--box-border);
|
||||||
border-right: 1rem solid var(--box-border);
|
border-right: 1px solid var(--box-border);
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.more-container {
|
||||||
|
> label {
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
border-bottom: 1px solid var(--box-border);
|
||||||
|
cursor: pointer;
|
||||||
|
color: var(--link-color);
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
|
.expand {
|
||||||
|
transition: all .3s ease;
|
||||||
|
transform: rotateZ(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
i {
|
||||||
|
flex-grow: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> input {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
> input {
|
||||||
|
&:checked {
|
||||||
|
+ label {
|
||||||
|
border-bottom: none;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
|
||||||
|
.expand {
|
||||||
|
transition: all .3s ease;
|
||||||
|
transform: rotateZ(90deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
~ div {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> div {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
list-style: none;
|
list-style: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
button, input[type="submit"], input[type="button"], label.button, a.button {
|
button, input[type="submit"], input[type="button"], label.button, a.button {
|
||||||
|
|
@ -21,6 +22,7 @@ button, input[type="submit"], input[type="button"], label.button, a.button {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
font-size: .9rem;
|
font-size: .9rem;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
&::-moz-focus-inner {
|
&::-moz-focus-inner {
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
canvas {
|
canvas {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px solid var(--box-border);
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
39
form.scss
39
form.scss
|
|
@ -1,6 +1,6 @@
|
||||||
form {
|
form {
|
||||||
li {
|
li {
|
||||||
margin: 5px 0 5px 0;
|
margin: 5px 0 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
|
|
@ -14,7 +14,7 @@ form {
|
||||||
|
|
||||||
label {
|
label {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: #878787;
|
color: rgba(0, 0, 0, 80);
|
||||||
}
|
}
|
||||||
|
|
||||||
i+i {
|
i+i {
|
||||||
|
|
@ -34,3 +34,38 @@ form {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
& + * {
|
||||||
|
margin-top: .75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
flex: 0 0 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-control {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
& +.input-control {
|
||||||
|
margin-left: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
* + .form-group {
|
||||||
|
margin-top: .75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.form-group {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
3
nav.scss
3
nav.scss
|
|
@ -9,12 +9,13 @@ body > nav {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-side-outer {
|
#nav-side-outer {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
user-select: none;
|
||||||
scrollbar-color: var(--button-colored-background) var(--nav-category-background);
|
scrollbar-color: var(--button-colored-background) var(--nav-category-background);
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@
|
||||||
border-top: 1px solid #ebedf2;
|
border-top: 1px solid #ebedf2;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.portlet-body > h2 {
|
||||||
|
border-bottom: 1px solid #ebedf2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.plain-portlet {
|
.plain-portlet {
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ section {
|
||||||
}
|
}
|
||||||
|
|
||||||
> h2 {
|
> h2 {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
416
styles.css
416
styles.css
File diff suppressed because it is too large
Load Diff
22
table.scss
22
table.scss
|
|
@ -39,6 +39,19 @@ table .sort-asc, table .sort-desc, table .filter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.default.sticky {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
thead {
|
||||||
|
th, td {
|
||||||
|
background: var(--table-head-background);
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
table.default {
|
table.default {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -101,8 +114,10 @@ table.default {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus {
|
&:focus, &:hover {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
transform: scale(1);
|
||||||
|
box-shadow: 0 0 5px rgba(90, 71, 114, 0.3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -112,9 +127,12 @@ table.default {
|
||||||
}
|
}
|
||||||
|
|
||||||
thead {
|
thead {
|
||||||
height: 3rem;
|
|
||||||
background: var(--table-head-background);
|
background: var(--table-head-background);
|
||||||
|
|
||||||
|
tr {
|
||||||
|
height: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
td {
|
td {
|
||||||
border-bottom: 1px solid var(--box-border);
|
border-bottom: 1px solid var(--box-border);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
1
tag.scss
1
tag.scss
|
|
@ -7,6 +7,7 @@ span {
|
||||||
color: var(--text-on-background-color-2);
|
color: var(--text-on-background-color-2);
|
||||||
background: var(--button-colored-background);
|
background: var(--button-colored-background);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
user-select: none;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
color: var(--text-on-background-color-2);
|
color: var(--text-on-background-color-2);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user