update menu

This commit is contained in:
2024-01-24 17:01:14 +07:00
parent 9f670e9ab0
commit 401157b54e
9 changed files with 679 additions and 389 deletions

View File

@@ -1,3 +1,4 @@
@charset "UTF-8";
*,
::after,
::before {
@@ -126,6 +127,7 @@ a {
.icons {
background: url(../images/global-sprite.png) no-repeat;
background-size: 400px 400px;
background-position: 0 40px;
}
.admin-global-container {
@@ -169,6 +171,9 @@ a {
.admin-menu-container details[open] .icons {
filter: brightness(100);
}
.admin-menu-container details[open] .fa-angle-right {
transform: rotate(90deg);
}
.admin-menu-container summary {
display: flex;
align-items: center;
@@ -203,6 +208,11 @@ a {
.admin-menu-container .item:hover .icons {
filter: brightness(100);
}
.admin-menu-container .item .icons {
width: 20px;
height: 20px;
margin-right: 13px;
}
.admin-menu-container .title {
width: calc(100% - 33px);
}
@@ -227,6 +237,10 @@ a {
.admin-menu-container .sub-menu a:hover {
text-decoration: underline;
}
.admin-menu-container .sub-menu a.current {
font-weight: 700;
text-decoration: none;
}
.admin-menu-container .sub-menu a::before {
content: "";
width: 8px;
@@ -240,11 +254,6 @@ a {
.admin-menu-container .sub-menu a:last-child {
margin: 0;
}
.admin-menu-container .icons {
width: 20px;
height: 20px;
margin-right: 13px;
}
.admin-menu-container .icon-home {
background-position: -9px -7px;
}
@@ -285,6 +294,21 @@ a {
position: absolute;
right: 10px;
}
.admin-menu-container .icon-investor_relation {
background-position: -9px -126px;
}
.admin-menu-container .icon-job {
background-position: -52px -126px;
}
.admin-menu-container .icon-pcbuilder {
background-position: -99px -126px;
}
.admin-menu-container .icon-payinstall {
background-position: -142px -125px;
}
.admin-menu-container .icon-distributor {
background-position: -187px -126px;
}
.admin-menu {
color: #fff;
@@ -325,6 +349,9 @@ a {
height: 41px;
display: none;
}
.admin-menu .item:nth-child(n+13) .sub-menu {
top: unset;
}
.admin-menu .sub-menu {
padding: 10px 22px 10px 15px;
border-radius: 6px;
@@ -350,6 +377,10 @@ a {
.admin-menu .sub-menu a:hover {
text-decoration: underline;
}
.admin-menu .sub-menu a.current {
font-weight: 700;
text-decoration: none;
}
.admin-menu .sub-menu a::before {
content: "";
width: 8px;
@@ -428,6 +459,21 @@ a {
.admin-menu .icon-logout {
background-position: 6px -34px;
}
.admin-menu .icon-investor_relation {
background-position: 6px -115px;
}
.admin-menu .icon-job {
background-position: -37px -114px;
}
.admin-menu .icon-pcbuilder {
background-position: -83px -114px;
}
.admin-menu .icon-payinstall {
background-position: -128px -114px;
}
.admin-menu .icon-distributor {
background-position: -173px -114px;
}
.admin-menu .logo {
position: relative;
}
@@ -649,4 +695,91 @@ input[type=radio]:focus:before {
.admin-header-container .menu-hide {
margin-left: 30px;
}
/* Bán hàng */
.order-page .order-page-title a {
margin: 0 2px 0 0;
border-radius: 4px 4px 0px 0px;
background: #F6F6F6;
color: #919699;
font-weight: 500;
padding: 0 24px;
}
.order-page .order-page-title a:hover, .order-page .order-page-title a.current, .order-page .order-page-title a.active {
background: #0041E8;
color: #fff;
}
.order-page .order-page-table {
line-height: 20px;
text-align: center;
}
.order-page .order-page-table a {
color: #0041E8;
}
.order-page .order-page-table a:hover {
text-decoration: underline;
}
.order-page .order-page-table table {
width: 100%;
}
.order-page .order-page-table thead {
background: #F6F6F6;
font-weight: 600;
}
.order-page .order-page-table thead td {
padding: 8px;
}
.order-page .order-page-table td {
padding: 14px 8px;
border: 1px solid #ECECEC;
text-transform: capitalize;
}
.order-page .order-page-table td * {
display: inline-block;
}
.order-page .order-page-table select {
border-radius: 4px;
border: 1px solid #D8D8D8;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
height: 32px;
display: block;
width: 100%;
padding: 0 0 0 5px;
}
.order-page .order-page-table .icons {
width: 30px;
height: 30px;
border: 1px solid #ECECEC;
background-color: #F9F9F9;
border-radius: 5px;
}
.order-page .order-page-table .icon-edit {
border: 1px solid #0041E8;
background-color: #F5F7FF;
background-position: -108px -82px;
margin-right: 6px;
}
.order-page .order-page-table .icon-delete {
background-position: -145px -82px;
}
.paging {
margin: 30px 0;
display: flex;
align-items: center;
justify-content: center;
line-height: 28px;
}
.paging a {
margin: 0 3px;
min-width: 28px;
text-align: center;
font-size: 16px;
padding: 0 10px;
border-radius: 4px;
}
.paging a:hover, .paging a.current, .paging a.active {
background: #0041E8;
color: #fff;
}/*# sourceMappingURL=pc_style.css.map */

File diff suppressed because one or more lines are too long

View File

@@ -109,6 +109,7 @@ a {
.icons {
background: url(../images/global-sprite.png) no-repeat;
background-size: 400px 400px;
background-position: 0 40px;
}
.admin-global-container {
max-width: 1720px;
@@ -151,6 +152,9 @@ a {
.icons {
filter: brightness(100);
}
.fa-angle-right {
transform: rotate(90deg);
}
}
}
summary {
@@ -185,6 +189,11 @@ a {
.icons {
filter: brightness(100);
}
}
.icons {
width: 20px;
height: 20px;
margin-right: 13px;
}
}
.title {
@@ -209,6 +218,10 @@ a {
&:hover {
text-decoration: underline;
}
&.current {
font-weight: 700;
text-decoration: none;
}
&::before {
content: "";
width: 8px;
@@ -223,12 +236,7 @@ a {
margin: 0;
}
}
}
.icons {
width: 20px;
height: 20px;
margin-right: 13px;
}
}
.icon-home {
background-position: -9px -7px;
}
@@ -269,6 +277,21 @@ a {
position: absolute;
right: 10px;
}
.icon-investor_relation {
background-position: -9px -126px;
}
.icon-job {
background-position: -52px -126px;
}
.icon-pcbuilder {
background-position: -99px -126px;
}
.icon-payinstall {
background-position: -142px -125px;
}
.icon-distributor {
background-position: -187px -126px;
}
}
.admin-menu {
color: #fff;
@@ -311,6 +334,11 @@ a {
height: 41px;
display: none;
}
&:nth-child(n+13){
.sub-menu{
top: unset;
}
}
}
.sub-menu {
padding: 10px 22px 10px 15px;
@@ -335,6 +363,10 @@ a {
&:hover {
text-decoration: underline;
}
&.current {
font-weight: 700;
text-decoration: none;
}
&::before {
content: "";
width: 8px;
@@ -415,6 +447,21 @@ a {
.icon-logout {
background-position: 6px -34px;
}
.icon-investor_relation {
background-position: 6px -115px;
}
.icon-job {
background-position: -37px -114px;
}
.icon-pcbuilder {
background-position: -83px -114px;
}
.icon-payinstall {
background-position: -128px -114px;
}
.icon-distributor {
background-position: -173px -114px;
}
.logo {
position: relative;
}
@@ -661,3 +708,94 @@ input[type="radio"] {
margin-left: 30px;
}
}
/* Bán hàng */
.order-page {
.order-page-title{
a {
margin: 0 2px 0 0;
border-radius: 4px 4px 0px 0px;
background: #F6F6F6;
color: #919699;
font-weight: 500;
padding: 0 24px;
&:hover, &.current, &.active {
background: #0041E8;
color: #fff;
}
}
}
.order-page-table {
line-height: 20px;
text-align: center;
a{
color: #0041E8;
&:hover{
text-decoration: underline;
}
}
table{
width: 100%;
}
thead {
background: #F6F6F6;
font-weight: 600;
td{
padding: 8px;
}
}
td{
padding: 14px 8px;
border: 1px solid #ECECEC;
text-transform: capitalize;
*{
display: inline-block;
}
}
select {
border-radius: 4px;
border: 1px solid #D8D8D8;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
height: 32px;
display: block;
width: 100%;
padding: 0 0 0 5px;
}
.icons {
width: 30px;
height: 30px;
border: 1px solid #ECECEC;
background-color: #F9F9F9;
border-radius: 5px;
}
.icon-edit {
border: 1px solid #0041E8;
background-color: #F5F7FF;
background-position: -108px -82px;
margin-right: 6px;
}
.icon-delete {
background-position: -145px -82px;
}
}
}
.paging {
margin: 30px 0;
display: flex;
align-items: center;
justify-content: center;
line-height: 28px;
a{
margin: 0 3px;
min-width: 28px;
text-align: center;
font-size: 16px;
padding: 0 10px;
border-radius: 4px;
&:hover, &.current, &.active {
background: #0041E8;
color: #fff;
}
}
}