13-12-2023

This commit is contained in:
2023-12-13 15:14:16 +07:00
commit 0462184512
35 changed files with 2213 additions and 0 deletions

69
README.md Normal file
View File

@@ -0,0 +1,69 @@
<h1>Hướng dẫn các bước làm dự án mẫu</h1>
<h2>Mô tả</h2>
<p>Là nơi tổng hợp các giao diện dự án của khách hàng.</p>
<h2>Hướng dẫn tạo dự án mẫu</h2>
<p>
Quy trình:
<ol>
<li>Kéo tất cả file giao diện từ Repo về máy</li>
<li>Tạo 1 folder dự án mẫu</li>
<li>Upload code lên Repo (<a href="#huong-dan-su-dung-git">Hướng dẫn up code sử dụng git</a>)</li>
<li>Cắt giao diện</li>
<li>Cuối mỗi ngày sẽ upload code đã cắt trong ngày hôm đó</li>
</ol>
</p>
<p>Khi cắt 1 giao diện mẫu mới sẽ có cấu trúc các file theo thư mục "<a href="" target="_blank">ten-du-an</a>" đã tạo ở trên (Download folder mẫu về, chỉnh sửa các thông tin theo quy định và cắt ghép).</p>
<h2>Hướng dẫn đặt tên</h2>
<p>Mỗi thư mục sẽ đặt tên theo quy định: <strong>ten-du-an</strong>. Mô tả của thư mục sẽ là URL dẫn đến giao diện đã được cắt ghép hoàn chỉnh </p>
<p>VD: Giao diện mẹ và bé, mẫu 2 </p>
<ul>
<li>Tên folder: <strong>ten-du-an</strong></li>
<li>Mô tả: <a href="">url-du-an</a></li>
</ul>
<h2>Quy định cấu trúc</h2>
<p>Sử dụng Tailwind để style giao diện.</p>
<p> Tài liệu tham khảo </p>
<ul>
<li><a href="https://tailwindui.com/"> https://tailwindui.com/ </a></li>
<li><a href="https://tailblocks.cc/"> https://tailblocks.cc/ </a></li>
<li><a href="https://www.hyperui.dev/"> https://www.hyperui.dev/ </a></li>
<li><a href="https://flowbite.com/docs/plugins/charts/"> Biểu đồ </a></li>
</ul>
<h2 id="huong-dan-su-dung-git">Hướng dẫn up code sử dụng git</h2>
<p> Các bước up code:
<ol>
<li>Lấy tất cả code từ git url về máy</li>
<li>Kiểm tra trạng thái</li>
<li>Nếu có sự thay đổi, sẽ thêm file có sự thay đổi (Sẽ được thông báo ở bước 2)</li>
<li>Tạo ghi chú (Không viết tiếng việt có dấu)</li>
<li>Upload code</li>
</ol>
</p>
<p></p>
<ol>
<li><strong>git pull (git URL) master:</strong> Lấy code về máy</li>
<li><strong>git status:</strong> Kiểm tra file nào có sự thay đổi</li>
<li><strong>git add 'tên file có sự thay đổi':</strong> Là file được báo đỏ ở git status</li>
<li><strong>git commit -m 'nội dung mô tả' :</strong> Comment nội dung </li>
<li><strong>git push origin master :</strong> Upload code</li>
</ol>
<p>VD: Upload code từ url 'https://repo.hurasoft.com/ducdt/admin_hura.git', Thêm/Sửa file README.md</p>
<ol>
<li>git pull https://repo.hurasoft.com/ducdt/admin_hura.git master</li>
<li>git status</li>
<li>git add 'README.md'</li>
<li>git commit -m 'Huong dan, quy dinh'</li>
<li>git push origin master</li>
</ol>

BIN
images/arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

BIN
images/global-sprite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
images/icons/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

BIN
images/icons/10.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 B

BIN
images/icons/11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 909 B

BIN
images/icons/12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

BIN
images/icons/13.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
images/icons/14.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
images/icons/15.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

BIN
images/icons/16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

BIN
images/icons/17.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

BIN
images/icons/18.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 825 B

BIN
images/icons/19.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

BIN
images/icons/2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
images/icons/20.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

BIN
images/icons/21.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

BIN
images/icons/22.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

BIN
images/icons/23.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

BIN
images/icons/24.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

BIN
images/icons/25.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

BIN
images/icons/3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

BIN
images/icons/4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/icons/5.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

BIN
images/icons/6.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 619 B

BIN
images/icons/7.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 674 B

BIN
images/icons/8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/icons/9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

1190
index.html Normal file

File diff suppressed because it is too large Load Diff

14
js/charts.js Normal file

File diff suppressed because one or more lines are too long

63
js/tailwindcss.js Normal file

File diff suppressed because one or more lines are too long

475
scss/pc_style.css Normal file
View File

@@ -0,0 +1,475 @@
*, ::after, ::before {
box-sizing: border-box;
}
button, input, select {
outline: none !important;
color: #000;
border-radius: 0;
}
button, input {
overflow: visible;
}
button, input, optgroup, select, textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
border-radius: 0;
}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type=number] {
-moz-appearance: textfield;
}
body {
color: #000;
font-family: "Inter", sans-serif;
background: #FAFAFB;
position: relative;
font-size: 14px;
word-break: break-word;
counter-reset: section;
font-weight: 400;
line-height: 1.5;
margin: auto;
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
}
::-webkit-scrollbar-track {
background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background: grey;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #ccc;
}
::-webkit-scrollbar {
width: 8px;
height: 10px;
}
.clearfix::after {
content: "";
clear: both;
display: block;
}
.inherit {
font-size: inherit;
font-weight: inherit;
line-height: inherit;
margin: 0;
}
.line-clamp-2 {
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
text-overflow: ellipsis;
-webkit-line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-4 {
text-overflow: ellipsis;
-webkit-line-clamp: 4;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-5 {
text-overflow: ellipsis;
-webkit-line-clamp: 5;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.icons {
background: url(../images/global-sprite.png) no-repeat;
background-size: 400px 400px;
}
.admin-global-container {
max-width: 1720px;
margin: auto;
display: flex;
}
.admin-menu-container {
position: relative;
overflow: auto;
background: #004E99;
color: #fff;
width: 16%;
padding: 20px 0;
line-height: 20px;
}
.admin-menu-container a {
color: #fff;
}
.admin-menu-container .menu-logo {
display: table;
margin-bottom: 50px;
margin-left: 16px;
}
.admin-menu-container .menu-logo img {
height: 22px;
}
.admin-menu-container .menu-list {
margin: 50px 0;
}
.admin-menu-container details[open] svg {
transform: rotate(90deg);
}
.admin-menu-container details[open] summary {
background: #81B5E4;
}
.admin-menu-container details[open] summary a {
font-weight: 700;
}
.admin-menu-container details[open] .icons {
filter: brightness(100);
}
.admin-menu-container summary {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
padding-right: 16px;
border-radius: 4px;
position: relative;
transition: 0.3s all;
}
.admin-menu-container summary a {
padding: 8px 16px;
display: flex;
align-items: center;
}
.admin-menu-container svg {
position: absolute;
right: 16px;
transition: 0.3s all;
}
.admin-menu-container .item {
display: flex;
align-items: center;
padding: 0 16px;
line-height: 36px;
transition: 0.3s all;
border-radius: 4px;
}
.admin-menu-container .item:hover {
background: #81B5E4;
}
.admin-menu-container .item:hover .icons {
filter: brightness(100);
}
.admin-menu-container .title {
width: calc(100% - 33px);
}
.admin-menu-container .sub-menu {
padding: 13px 13px 13px 45px;
position: relative;
}
.admin-menu-container .sub-menu::before {
content: "";
width: 1px;
height: calc(100% - 39px);
background: #79B0E2;
position: absolute;
left: 20px;
top: 20px;
}
.admin-menu-container .sub-menu a {
display: block;
margin-bottom: 15px;
position: relative;
}
.admin-menu-container .sub-menu a:hover {
text-decoration: underline;
}
.admin-menu-container .sub-menu a::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79B0E2;
position: absolute;
top: 6px;
left: -28px;
}
.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;
}
.admin-menu-container .icon-sell {
background-position: -45px -7px;
}
.admin-menu-container .icon-product {
background-position: -81px -8px;
}
.admin-menu-container .icon-user {
background-position: -117px -8px;
}
.admin-menu-container .icon-marketing {
background-position: -154px -8px;
}
.admin-menu-container .icon-content {
background-position: -187px -8px;
}
.admin-menu-container .icon-stats {
background-position: -224px -8px;
}
.admin-menu-container .icon-system {
background-position: -262px -8px;
}
.admin-menu-container .icon-settings {
background-position: -297px -8px;
}
.admin-menu-container .icon-support {
background-position: -332px -7px;
}
.admin-menu-container .icon-account {
background-position: -367px -9px;
}
.admin-menu-container .icon-logout {
background-position: -9px -45px;
}
.admin-menu {
color: #fff;
z-index: 1;
}
.admin-menu .item {
display: flex;
align-items: center;
transition: 0.3s all;
position: relative;
}
.admin-menu .item:hover {
background: #81B5E4;
}
.admin-menu .item:hover .icons {
filter: brightness(100);
}
.admin-menu .item:hover .sub-menu {
left: calc(100% + 8px);
opacity: 1;
visibility: inherit;
}
.admin-menu .sub-menu {
padding: 10px 22px 10px 15px;
border-radius: 6px;
background: #004E99;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
white-space: nowrap;
min-width: 150px;
z-index: -1;
transition: 0.2s all;
position: absolute;
left: calc(100% + 30px);
top: 0;
opacity: 0;
visibility: hidden;
min-width: 200px;
}
.admin-menu .sub-menu a {
display: block;
margin-bottom: 12px;
line-height: 18px;
position: relative;
}
.admin-menu .sub-menu a:hover {
text-decoration: underline;
}
.admin-menu .sub-menu a::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79B0E2;
position: absolute;
top: 6px;
left: -18px;
}
.admin-menu .sub-menu a:last-child {
margin: 0;
}
.admin-menu .menu-list {
padding-left: 16px;
margin-top: 10px;
position: relative;
}
.admin-menu .menu-list::before {
content: "";
width: 1.5px;
background: #79B0E2;
position: absolute;
left: 1px;
top: 7px;
bottom: 7px;
}
.admin-menu .icons {
width: 50px;
height: 40px;
}
.admin-menu .icon-home {
background-position: 7px 3px;
}
.admin-menu .icon-sell {
background-position: -29px 3px;
}
.admin-menu .icon-product {
background-position: -66px 3px;
}
.admin-menu .icon-user {
background-position: -103px 3px;
}
.admin-menu .icon-marketing {
background-position: -139px 3px;
}
.admin-menu .icon-content {
background-position: -172px 3px;
}
.admin-menu .icon-stats {
background-position: -208px 3px;
}
.admin-menu .icon-system {
background-position: -247px 3px;
}
.admin-menu .icon-settings {
background-position: -282px 2px;
margin-left: -1px;
}
.admin-menu .icon-support {
background-position: -318px 3px;
}
.admin-menu .icon-account {
background-position: -354px 2px;
}
.admin-menu .icon-logout {
background-position: 6px -34px;
}
.admin-content-container .note-list {
min-width: 144px;
}
.admin-content-container .note-list a {
display: block;
padding: 0 10px;
line-height: 35px;
transition: 0.2s all;
}
.admin-content-container .note-list a:hover {
background: #F5F7FF;
color: #0041E8;
font-weight: 600;
}
.admin-content-container .content-holder {
padding: 16px 0 16px 16px;
}
.table-fixed {
text-align: center;
}
.table-fixed td {
padding: 13px 8px;
border: 1px solid #ECECEC;
}
.table-fixed tbody td {
padding: 5px 8px;
}
.table-fixed tbody td:nth-child(2), .table-fixed tbody td:nth-child(3) {
text-align: left;
}
.table-fixed tbody td:nth-child(2) {
color: #0041E8;
}
.admin-home-tab {
overflow: auto;
}
.admin-home-tab a {
color: #A0A8B5;
padding: 9px 7.7px;
text-align: center;
border-right: 1px solid #DDE1EB;
white-space: nowrap;
}
.admin-home-tab a:last-child {
border: 0;
}
.admin-home-tab a:hover, .admin-home-tab a.current {
background: #0041E8;
color: #fff;
}
.home-report-holder {
display: none;
}
.home-report-holder table {
width: 100%;
line-height: 20px;
text-align: center;
}
.home-report-holder thead {
background: #f6f6f6;
font-weight: 500;
}
.home-report-holder td {
border: 1px solid #ECECEC;
padding: 14px 5px;
}
.home-report-holder td a {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.home-report-holder td:nth-child(2) {
text-align: left;
}
.home-todo-list td {
padding: 0 4px;
color: #000 !important;
}
.home-todo-list td:nth-child(1), .home-todo-list td:nth-child(3), .home-todo-list td:nth-child(4) {
white-space: nowrap;
}/*# sourceMappingURL=pc_style.css.map */

1
scss/pc_style.css.map Normal file
View File

@@ -0,0 +1 @@
{"version":3,"sources":["pc_style.scss","pc_style.css"],"names":[],"mappings":"AAAA;EAAsB,sBAAA;ACEtB;;ADDA;EAAoB,wBAAA;EAAuB,WAAA;EAAW,gBAAA;ACOtD;;ADNA;EAAe,iBAAA;ACUf;;ADTA;EAA2C,SAAA;EAAU,oBAAA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A;EACA,gBAAA;AC8EhB;AD1EI;EACI,yBAAA;AC4ER;;ADzEA;EACI,kBAAA;AC4EJ;AD3EI;EACI,iBAAA;EACA,yBAAA;AC6ER;AD1EQ;EACI,gBAAA;AC4EZ;AD3EY;EACI,gBAAA;AC6EhB;AD3EY;EACI,cAAA;AC6EhB;;ADxEA;EACI,cAAA;AC2EJ;AD1EI;EACI,cAAA;EACA,kBAAA;EACA,kBAAA;EACA,+BAAA;EACA,mBAAA;AC4ER;AD3EQ;EACI,SAAA;AC6EZ;AD3EQ;EACI,mBAAA;EACA,WAAA;AC6EZ;;ADzEA;EACI,aAAA;AC4EJ;AD3EI;EACI,WAAA;EACA,iBAAA;EACA,kBAAA;AC6ER;AD3EI;EACI,mBAAA;EACA,gBAAA;AC6ER;AD3EI;EACI,yBAAA;EACA,iBAAA;AC6ER;AD5EQ;EACI,cAAA;EACA,mBAAA;EACA,gBAAA;EACA,uBAAA;AC8EZ;AD5EQ;EACI,gBAAA;AC8EZ;;ADzEI;EACI,cAAA;EACA,sBAAA;AC4ER;AD3EQ;EACI,mBAAA;AC6EZ","file":"pc_style.css"}

401
scss/pc_style.scss Normal file
View File

@@ -0,0 +1,401 @@
*, ::after, ::before {box-sizing: border-box;}
button,input,select{outline:none!important;color:#000;border-radius:0}
button, input {overflow: visible;}
button, input, optgroup, select, textarea {margin: 0;font-family: inherit;font-size: inherit;line-height: inherit;border-radius: 0;}
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {-webkit-appearance: none;}
input[type=number] {-moz-appearance: textfield;}
body{
color:#000;
font-family: 'Inter', sans-serif;
background: #FAFAFB;
position: relative;
font-size: 14px;
word-break: break-word;
counter-reset: section;
font-weight: 400;
line-height: 1.5;
margin: auto;
}
img{
max-width: 100%;
height: auto;
}
a{
text-decoration: none;
}
::-webkit-scrollbar-track{background:#f5f5f5;}
::-webkit-scrollbar-thumb{background: grey;border-radius:5px;}
::-webkit-scrollbar-thumb:hover{background:#ccc;}
::-webkit-scrollbar{width: 8px;height:10px;}
.clearfix{
&::after{
content:'';clear:both;display:block
}
}
.inherit{font-size: inherit;font-weight: inherit;line-height: inherit;margin: 0;}
.line-clamp-2{text-overflow:ellipsis;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-3{text-overflow:ellipsis;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-4{text-overflow:ellipsis;-webkit-line-clamp:4;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.line-clamp-5{text-overflow:ellipsis;-webkit-line-clamp:5;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.icons{
background: url(../images/global-sprite.png) no-repeat;
background-size: 400px 400px;
}
.admin-global-container {
max-width: 1720px;
margin: auto;
display: flex;
}
.admin-menu-container {
position: relative;
overflow: auto;
background: #004E99;
color: #fff;
width: 16%;
padding: 20px 0;
line-height: 20px;
a{
color: #fff;
}
.menu-logo{
display: table;
margin-bottom: 50px;
margin-left: 16px;
img{
height: 22px;
}
}
.menu-list{
margin: 50px 0;
}
details{
&[open] {
svg {
transform: rotate(90deg);
}
summary {
background: #81B5E4;
a{
font-weight: 700;
}
}
.icons{
filter: brightness(100);
}
}
}
summary {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
padding-right: 16px;
border-radius: 4px;
position: relative;
transition: .3s all;
a{
padding: 8px 16px;
display: flex;
align-items: center;
}
}
svg {
position: absolute;
right: 16px;
transition: .3s all;
}
.item {
display: flex;
align-items: center;
padding: 0 16px;
line-height: 36px;
transition: .3s all;
border-radius: 4px;
&:hover{
background: #81B5E4;
.icons{
filter: brightness(100);
}
}
}
.title {
width: calc(100% - 33px);
}
.sub-menu {
padding: 13px 13px 13px 45px;
position: relative;
&::before{
content: "";
width: 1px;
height: calc(100% - 39px);
background: #79B0E2;
position: absolute;
left: 20px;
top: 20px;
}
a{
display: block;
margin-bottom: 15px;
position: relative;
&:hover{
text-decoration: underline;
}
&::before{
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79B0E2;
position: absolute;
top: 6px;
left: -28px;
}
&:last-child{
margin: 0;
}
}
}
.icons{
width: 20px;
height: 20px;
margin-right: 13px;
}
.icon-home {
background-position: -9px -7px;
}
.icon-sell {
background-position: -45px -7px;
}
.icon-product {
background-position: -81px -8px;
}
.icon-user {
background-position: -117px -8px;
}
.icon-marketing {
background-position: -154px -8px;
}
.icon-content {
background-position: -187px -8px;
}
.icon-stats {
background-position: -224px -8px;
}
.icon-system {
background-position: -262px -8px;
}
.icon-settings {
background-position: -297px -8px;
}
.icon-support {
background-position: -332px -7px;
}
.icon-account {
background-position: -367px -9px;
}
.icon-logout {
background-position: -9px -45px;
}
}
.admin-menu {
color: #fff;
z-index: 1;
.item {
display: flex;
align-items: center;
transition: .3s all;
position: relative;
&:hover{
background: #81B5E4;
.icons{
filter: brightness(100);
}
.sub-menu {
left: calc(100% + 8px);
opacity: 1;
visibility: inherit;
}
}
}
.sub-menu {
padding: 10px 22px 10px 15px;
border-radius: 6px;
background: #004E99;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
white-space: nowrap;
min-width: 150px;
z-index: -1;
transition: .2s all;
position: absolute;
left: calc(100% + 30px);
top: 0;
opacity: 0;
visibility: hidden;
min-width: 200px;
a{
display: block;
margin-bottom: 12px;
line-height: 18px;
position: relative;
&:hover{
text-decoration: underline;
}
&::before{
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79B0E2;
position: absolute;
top: 6px;
left: -18px;
}
&:last-child{
margin: 0;
}
}
}
.menu-list {
padding-left: 16px;
margin-top: 10px;
position: relative;
&::before{
content: "";
width: 1.5px;
background: #79B0E2;
position: absolute;
left: 1px;
top: 7px;
bottom: 7px;
}
}
.icons{
width: 50px;
height: 40px;
}
.icon-home {
background-position: 7px 3px;
}
.icon-sell {
background-position: -29px 3px;
}
.icon-product {
background-position: -66px 3px;
}
.icon-user {
background-position: -103px 3px;
}
.icon-marketing {
background-position: -139px 3px;
}
.icon-content {
background-position: -172px 3px;
}
.icon-stats {
background-position: -208px 3px;
}
.icon-system {
background-position: -247px 3px;
}
.icon-settings {
background-position: -282px 2px;
margin-left: -1px;
}
.icon-support {
background-position: -318px 3px;
}
.icon-account {
background-position: -354px 2px;
}
.icon-logout {
background-position: 6px -34px;
}
}
.admin-content-container{
.note-list{
min-width: 144px;
a{
display: block;
padding: 0 10px;
line-height: 35px;
transition: .2s all;
&:hover {
background: #F5F7FF;
color: #0041E8;
font-weight: 600;
}
}
}
.content-holder{
padding: 16px 0 16px 16px;
}
}
.table-fixed {
text-align: center;
td {
padding: 13px 8px;
border: 1px solid #ECECEC;
}
tbody {
td{
padding: 5px 8px;
&:nth-child(2), &:nth-child(3){
text-align: left;
}
&:nth-child(2){
color: #0041E8;
}
}
}
}
.admin-home-tab{
overflow: auto;
a{
color: #A0A8B5;
padding: 9px 7.7px;
text-align: center;
border-right: 1px solid #DDE1EB;
white-space: nowrap;
&:last-child{
border: 0;
}
&:hover,&.current{
background: #0041E8;
color: #fff;
}
}
}
.home-report-holder {
display: none;
table{
width: 100%;
line-height: 20px;
text-align: center;
}
thead {
background: #f6f6f6;
font-weight: 500;
}
td{
border: 1px solid #ECECEC;
padding: 14px 5px;
a{
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
&:nth-child(2){
text-align: left;
}
}
}
.home-todo-list{
td{
padding: 0 4px;
color: #000 !important;
&:nth-child(1), &:nth-child(3), &:nth-child(4){
white-space: nowrap;
}
}
}