1404/11/04- first
@@ -0,0 +1,75 @@
|
||||
@import (less) "./var.less";
|
||||
|
||||
.ant-input-affix-wrapper,
|
||||
.ant-dropdown-menu,
|
||||
.ant-menu-submenu > .ant-menu,
|
||||
.ant-tag,
|
||||
.ant-card,
|
||||
.ant-btn,
|
||||
.ant-picker,
|
||||
.ant-picker-panel-container,
|
||||
.ant-modal-content
|
||||
{
|
||||
border-radius: var(--border-radius-base);
|
||||
}
|
||||
|
||||
.ant-modal-header{
|
||||
border-radius: var(--border-radius-base) var(--border-radius-base) 0 0;
|
||||
}
|
||||
|
||||
.ant-modal-header{
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.ant-modal-header{
|
||||
border-bottom:none;
|
||||
}
|
||||
|
||||
.ant-modal-footer{
|
||||
border-top:none;
|
||||
}
|
||||
|
||||
.ant-modal-close{
|
||||
left: 0 !important;
|
||||
right: unset;
|
||||
}
|
||||
|
||||
.ant-modal-body{
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.ant-drawer-header{
|
||||
padding: 12px;
|
||||
}
|
||||
.ant-drawer-body{
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.ant-card-body{
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.ant-pagination-prev .ant-pagination-item-link, .ant-pagination-next .ant-pagination-item-link,.ant-pagination-item{
|
||||
font-family: var(--font-family-base);
|
||||
border-radius: var(--border-radius-base) !important;
|
||||
}
|
||||
|
||||
.ant-input-group > .ant-input-rtl:first-child, .ant-input-group-rtl .ant-input-group-addon:first-child {
|
||||
border-radius: 0 var(--border-radius-base) var(--border-radius-base) 0;
|
||||
}
|
||||
|
||||
.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {
|
||||
border-radius: var(--border-radius-base) 0 0 var(--border-radius-base);
|
||||
}
|
||||
|
||||
|
||||
.ant-drawer-header{
|
||||
@apply px-1 py-3;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
@import (less) './var.less';
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum).woff2") format("woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Light.woff2") format("woff2");
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2") format("woff2");
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Medium.woff2") format("woff2");
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2") format("woff");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/*@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("/fonts/iranYekan/woff/iranyekanwebextraboldfanum.woff") format("woff");
|
||||
font-weight: 800;
|
||||
font-style: normal;
|
||||
}*/
|
||||
|
||||
@font-face {
|
||||
font-family: @prefixCls-font-family;
|
||||
src: url("../fonts/iranSans/woff2/IRANSansWeb(FaNum)_Black.woff2") format("woff");
|
||||
font-weight: 900;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/*
|
||||
.font-iran-yekan{
|
||||
font-family: 'iran-yekan' !important;
|
||||
}
|
||||
*/
|
||||
/*
|
||||
.font-100{
|
||||
//font-family:'iran-yekan-thin';
|
||||
font-weight:100 ;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
//@import (css) 'ant-design-vue/lib/style/
|
||||
//@import '~ant-design-vue/dist/antd.dark.css';
|
||||
@import 'ant-design-vue/dist/antd.variable.css';
|
||||
@import (less) './scroll.less';
|
||||
@import (less) "./fonts.less";
|
||||
@import (less) './var.less';
|
||||
@import (less) './ant-override.less';
|
||||
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: @prefixCls-font-family !important;
|
||||
//background-color: @prefixCls-background-color !important;
|
||||
//color:#555 !important;
|
||||
}
|
||||
|
||||
/*pre{
|
||||
font-family: @prefixCls-font-family !important;
|
||||
}*/
|
||||
|
||||
.en-font {
|
||||
font-family: Arial !important;
|
||||
direction: rtl !important;
|
||||
}
|
||||
@@ -0,0 +1,142 @@
|
||||
//ok Code
|
||||
/*html {
|
||||
overflow: scroll;
|
||||
overflow-x: hidden;
|
||||
}*/
|
||||
|
||||
.scroll-none{
|
||||
&::-webkit-scrollbar {
|
||||
width: 0; /* Remove scrollbar space */
|
||||
background: transparent; /* Optional: just make scrollbar invisible */
|
||||
}
|
||||
/* Optional: show position indicator in red */
|
||||
&::-webkit-scrollbar-thumb {
|
||||
//background: #FF0000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//scroll style
|
||||
|
||||
::-webkit-scrollbar {
|
||||
background-color: initial;
|
||||
//background-color: red;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0.4rem !important;
|
||||
height: 0.4rem !important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
--tw-bg-opacity: 1 !important;
|
||||
background-color: rgb(203 213 225/var(--tw-bg-opacity))!important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
border-radius: 0.25rem !important;
|
||||
}
|
||||
|
||||
.scrollbar-track\:\!bg-slate-100::-webkit-scrollbar-track {
|
||||
--tw-bg-opacity: 1!important;
|
||||
background-color: rgb(241 245 249/var(--tw-bg-opacity))!important;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
border-radius: 0.25rem!important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
.beauty-scroll{
|
||||
scrollbar-color: red green;
|
||||
scrollbar-width: thin;
|
||||
-ms-overflow-style:none;
|
||||
position: relative;
|
||||
&::-webkit-scrollbar{
|
||||
width: 3px;
|
||||
height: 1px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 3px;
|
||||
background: burlywood;
|
||||
}
|
||||
&::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
|
||||
border-radius: 3px;
|
||||
background: aqua;
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
/*&::-webkit-scrollbar{
|
||||
width: 3px;
|
||||
height: 1px;
|
||||
}
|
||||
&::-webkit-scrollbar-thumb {
|
||||
border-radius: 3px;
|
||||
background: burlywood;
|
||||
}
|
||||
&::-webkit-scrollbar-track {
|
||||
-webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0);
|
||||
border-radius: 3px;
|
||||
background: aqua;
|
||||
}*/
|
||||
|
||||
/* custom scrollbar */
|
||||
/*::-webkit-scrollbar {
|
||||
width: 17px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #d6dee1;
|
||||
border-radius: 20px;
|
||||
border: 6px solid transparent;
|
||||
background-clip: content-box;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color: #a8bbbf;
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
//ok Code
|
||||
/*
|
||||
html {
|
||||
overflow: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0; !* Remove scrollbar space *!
|
||||
background: transparent; !* Optional: just make scrollbar invisible *!
|
||||
}
|
||||
!* Optional: show position indicator in red *!
|
||||
::-webkit-scrollbar-thumb {
|
||||
//background: #FF0000;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
//ok code
|
||||
/*html {
|
||||
overflow: scroll;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
width: 0px;
|
||||
background: transparent; !* make scrollbar transparent *!
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
//old method
|
||||
//override ant less variable
|
||||
//https://github.com/vueComponent/ant-design-vue/blob/main/components/style/themes/default.less
|
||||
// The prefix to use on all css classes from ant.
|
||||
/*@prefixCls: 'adminV3';
|
||||
!* Theme Config *!
|
||||
@header-height:56px;
|
||||
@prefixCls-font-family: 'iran-sans';
|
||||
@ant-prefix: @prefixCls;
|
||||
@primary-color:#0052d9; // #727071; //#abc2f7; //#f4474d;
|
||||
@border-radius-base: 4px;
|
||||
|
||||
html{
|
||||
--ant-primary-color:@primary-color;
|
||||
--ant-primary-1:#f2f3ff;//#f6f6f4;
|
||||
--border-radius-base:@border-radius-base;
|
||||
}*/
|
||||
|
||||
|
||||
|
||||
//todo change var
|
||||
//new method
|
||||
|
||||
@prefixCls: 'hr-tamin';
|
||||
/* Theme Config */
|
||||
@header-height:56px;
|
||||
@prefixCls-font-family: 'iran-sans';
|
||||
@ant-prefix: @prefixCls;
|
||||
@primary-color:#2563eb; // #727071; //#abc2f7; //#f4474d;
|
||||
@second-color: #3b82f6; // #727071; //#abc2f7; //#f4474d;
|
||||
@third-color: #B2B2B2; // #727071; //#abc2f7; //#f4474d;
|
||||
|
||||
@bg-color-1: #F9FAFB;
|
||||
@bg-color-2: #F6F6F4;
|
||||
@border-color-1: #B2B2B2;
|
||||
|
||||
@border-radius-base: 4px;
|
||||
|
||||
html{
|
||||
--ant-primary-color:@primary-color;
|
||||
--ant-primary-color-hover:@second-color;
|
||||
--ant-primary-color-active:@third-color;
|
||||
--ant-primary-1:#f2f3ff;//#f6f6f4;
|
||||
--border-radius-base:@border-radius-base;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
@ant-prefix: @prefixCls;
|
||||
@border-radius-base: 8px; // major border radius
|
||||
@primary-color:#2b55e2; //#abc2f7; //#f4474d;
|
||||
// Border color
|
||||
@border-color-base: @gray-100; // base border outline a component
|
||||
// Form
|
||||
@form-item-label-font-size: 14px;
|
||||
//variables
|
||||
@prefixCls-font-family: 'iran-sans';
|
||||
@prefixCls-background-color: #fff;
|
||||
@gray-50: #f6f7f9;
|
||||
@gray-100: #e8eaee;
|
||||
@gray-900: #656f87;
|
||||
@prefixCls-secondary:#abc2f7; // #0072e9;
|
||||
@prefixCls-primary-rgba: #fce6e6;
|
||||
@prefixCls-secondary-rgb: #0072E914;
|
||||
@prefixCls-tertiary: #feb701;
|
||||
@prefixCls-tertiary-rgba: #fec94114;
|
||||
@prefixCls-green: #0f7f36;
|
||||
@prefixCls-green-rgba: #ecf5ef;
|
||||
@prefixCls-red: #f4474d;
|
||||
@prefixCls-red-rgba: #fce6e6;*/
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 6.0 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 257 B |
|
After Width: | Height: | Size: 258 B |
|
After Width: | Height: | Size: 250 B |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 4.0 KiB |