mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-01-25 08:38:40 +00:00
Add sorting icons to tables and fix whitespace
This commit is contained in:
parent
949f11c584
commit
704a120a00
|
|
@ -3,24 +3,24 @@
|
|||
.ac-container{
|
||||
margin: 10px auto 30px auto;
|
||||
text-align: left;
|
||||
|
||||
|
||||
> input {
|
||||
display: none;
|
||||
|
||||
|
||||
&:checked + label {
|
||||
@include gradient-top-bottom(#ffffff, 0, $content-background-color, 100, #ffffff);
|
||||
color: #000;
|
||||
|
||||
|
||||
+ section {
|
||||
display: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+ label + section {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
label {
|
||||
display: block;
|
||||
padding: 5px 20px;
|
||||
|
|
@ -33,12 +33,12 @@
|
|||
border: 1px solid $content-border-color;
|
||||
@include border-radius(3px);
|
||||
@include gradient-top-bottom(#e0e3eb, 0, $content-background-color, 100, $content-background-color);
|
||||
|
||||
|
||||
&:hover {
|
||||
@include gradient-top-bottom(#ffffff, 0, $content-background-color, 100, #ffffff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
> section {
|
||||
background: $content-background-color;
|
||||
overflow: hidden;
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
margin: 5px;
|
||||
}
|
||||
|
||||
@each $tuple in
|
||||
'ok' #aaffad #81e27d #459442,
|
||||
'warning' #f8ffa8 #d6d949 #94972f,
|
||||
'error' #ff7d79 #ee5649 #a5302a,
|
||||
@each $tuple in
|
||||
'ok' #aaffad #81e27d #459442,
|
||||
'warning' #f8ffa8 #d6d949 #94972f,
|
||||
'error' #ff7d79 #ee5649 #a5302a,
|
||||
'info' #b6d2ff #85b0ee #4865a5 {
|
||||
.log-msg-status-#{nth($tuple, 1)} {
|
||||
background: #{nth($tuple, 2)};
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
&:first-child {
|
||||
@include border-left-radius(3px);
|
||||
}
|
||||
|
||||
|
||||
&:not(.last):after, &:before {
|
||||
content:" ";
|
||||
display: block;
|
||||
|
|
@ -34,35 +34,35 @@
|
|||
margin-top: -18px;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
|
||||
&:not(.last):after {
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
|
||||
&:before {
|
||||
border-left-color: $content-border-color;
|
||||
margin-left: 1px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
||||
&.active:not(.last):after, &:hover:not(.last):after {
|
||||
border-left: 14px solid #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.last {
|
||||
padding-right: 20px;
|
||||
@include border-right-radius(3px);
|
||||
|
||||
|
||||
&:before {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.active {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
||||
.active, li:hover {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
|
|
|||
10
button.scss
10
button.scss
|
|
@ -48,7 +48,7 @@ ul.btns {
|
|||
list-style: none;
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
|
||||
|
||||
li {
|
||||
background: $content-background-color;
|
||||
border-left: 1px solid $content-border-color;
|
||||
|
|
@ -63,22 +63,22 @@ ul.btns {
|
|||
&:last-child {
|
||||
border-right: 1px solid $content-border-color;
|
||||
}
|
||||
|
||||
|
||||
&:before {
|
||||
border-left-color: $content-border-color;
|
||||
margin-left: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
.active {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
|
||||
.active, li:hover {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
@each $tuple in
|
||||
@each $tuple in
|
||||
'ok' #5cff56, 'warning' #ff4b41, 'favorite' #d16059 {
|
||||
.#{nth($tuple, 1)} {
|
||||
color: #{nth($tuple, 2)};
|
||||
}
|
||||
}
|
||||
|
||||
@each $tuple in
|
||||
'green' #61BD6D, 'red' #D14841, 'blue' #2C82C9,
|
||||
'orange' #FBA026, 'lightblue' #54ACD2, 'yellow' #FAC51C, 'purple' #553982, 'pink' #ffa6e3, 'grey' #dcdcdc,
|
||||
@each $tuple in
|
||||
'green' #61BD6D, 'red' #D14841, 'blue' #2C82C9,
|
||||
'orange' #FBA026, 'lightblue' #54ACD2, 'yellow' #FAC51C, 'purple' #553982, 'pink' #ffa6e3, 'grey' #dcdcdc,
|
||||
'darkred' #B8312F, 'darkgreen' #41A85F, 'darkblue' #2969B0 {
|
||||
.#{nth($tuple, 1)} {
|
||||
background: #{nth($tuple, 2)};
|
||||
|
|
|
|||
12
form.scss
12
form.scss
|
|
@ -4,26 +4,26 @@ form {
|
|||
li {
|
||||
margin: 5px 0 5px 0;
|
||||
}
|
||||
|
||||
|
||||
td {
|
||||
white-space: nowrap;
|
||||
padding-bottom: 5px;
|
||||
|
||||
|
||||
textarea+i {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
label {
|
||||
font-size: 0.9em;
|
||||
color: #878787;
|
||||
text-shadow: -1px -1px 1px #ffffff;
|
||||
}
|
||||
|
||||
|
||||
i+i {
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
|
||||
.inputPrefix {
|
||||
border-left: 1px solid $content-border-color;
|
||||
border-top: 1px solid $content-border-color;
|
||||
|
|
@ -36,7 +36,7 @@ form {
|
|||
.layout td+td {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
|
||||
.list {
|
||||
font-size: 0.9em;
|
||||
|
||||
|
|
|
|||
20
image.scss
20
image.scss
|
|
@ -37,7 +37,7 @@ img {
|
|||
|
||||
div.slider-1 {
|
||||
overflow: hidden;
|
||||
|
||||
|
||||
figure {
|
||||
position: relative;
|
||||
width: 500%;
|
||||
|
|
@ -47,8 +47,8 @@ div.slider-1 {
|
|||
font-size: 0;
|
||||
animation: 30s slidy infinite;
|
||||
|
||||
img {
|
||||
width: 20%; float: left;
|
||||
img {
|
||||
width: 20%; float: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -58,7 +58,7 @@ div.slider-1 {
|
|||
position: relative;
|
||||
padding-top: auto;
|
||||
text-align: center;
|
||||
|
||||
|
||||
> img {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
|
|
@ -66,26 +66,26 @@ div.slider-1 {
|
|||
transition: all 0.5s;
|
||||
box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
|
||||
|
||||
input {
|
||||
display: none;
|
||||
|
||||
|
||||
&:checked+label {
|
||||
border-color: #666;
|
||||
opacity: 1;
|
||||
|
||||
|
||||
+img {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
~ img {
|
||||
opacity: 0;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
label {
|
||||
display: inline-block;
|
||||
margin-top: calc(50% + 15px);
|
||||
|
|
@ -93,7 +93,7 @@ div.slider-1 {
|
|||
border: 3px solid #999;
|
||||
cursor: pointer;
|
||||
opacity: 0.6;
|
||||
|
||||
|
||||
img{
|
||||
display: block;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,11 +42,11 @@ ul.h-list li {
|
|||
padding: 0;
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
|
||||
|
||||
td:first-child {
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
|
||||
span {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
|
@ -58,7 +58,7 @@ ul.h-list li {
|
|||
border-radius: 30px;
|
||||
background: #ccc;
|
||||
display: inline-block;
|
||||
|
||||
|
||||
&.active {
|
||||
background: #000;
|
||||
}
|
||||
|
|
|
|||
2
nav.scss
2
nav.scss
|
|
@ -14,7 +14,7 @@
|
|||
background: #2F2F2F;
|
||||
|
||||
span {
|
||||
width: 20px;
|
||||
width: 20px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
height: 20px; /* Can be anything */
|
||||
position: relative;
|
||||
background: none !important;
|
||||
|
||||
|
||||
> span {
|
||||
display: block;
|
||||
height: 100%;
|
||||
|
|
@ -188,7 +188,7 @@
|
|||
height: 70px;
|
||||
border-radius: 50%;
|
||||
background-color: tomato;
|
||||
|
||||
|
||||
.overlay {
|
||||
position: absolute;
|
||||
width: 60px;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
display: inline-block;
|
||||
margin-top: 0.3rem;
|
||||
overflow-x: auto;
|
||||
|
||||
|
||||
.inner {
|
||||
@include box-sizing(border-box);
|
||||
@include box-shadow-out(#ffffff);
|
||||
|
|
@ -57,7 +57,7 @@ section {
|
|||
border-bottom: 1px solid #e1e1e1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
> h2 {
|
||||
@include box-sizing(border-box);
|
||||
font-size: 1.2em;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.slider {
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
|
||||
|
||||
ul {
|
||||
display: inline;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4729,6 +4729,10 @@ section > h2 {
|
|||
/* Content box */
|
||||
/* Navigation */
|
||||
/* Colors */
|
||||
table .sort-asc, table .sort-desc {
|
||||
padding-left: 5px;
|
||||
cursor: pointer; }
|
||||
|
||||
.table {
|
||||
background: none; }
|
||||
.table caption {
|
||||
|
|
|
|||
17
table.scss
17
table.scss
|
|
@ -1,39 +1,44 @@
|
|||
@import "_mixins", "_vars";
|
||||
|
||||
table .sort-asc, table .sort-desc {
|
||||
padding-left: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.table {
|
||||
background: none;
|
||||
caption {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
thead {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
&.red {
|
||||
caption, thead {
|
||||
background: #B8312F;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.orange {
|
||||
caption, thead {
|
||||
background: #FBA026;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.green {
|
||||
caption, thead {
|
||||
background: #41A85F;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.blue {
|
||||
caption, thead {
|
||||
background: #2C82C9;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&.white {
|
||||
caption, thead {
|
||||
background: #fff;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
left: 50%;
|
||||
margin-left: -10px;
|
||||
}
|
||||
|
||||
|
||||
> i:after{
|
||||
border-top: 10px solid #000000;
|
||||
margin-top: 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user