first push
This commit is contained in:
199
static/css/styles.css
Normal file
199
static/css/styles.css
Normal file
@@ -0,0 +1,199 @@
|
||||
@font-face {
|
||||
font-family: "nazaninb";
|
||||
src: local("nazaninb"), url("/static/assets/fonts/BNaznnBd.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "btitr";
|
||||
src: local("btitr"), url("/static/assets/fonts/btitrb.ttf") format("truetype");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "nazanin";
|
||||
src: local("nazanin"), url("/static/assets/fonts/nazanin.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 3mm;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
font-family: nazanin;
|
||||
|
||||
}
|
||||
.nazanin-bold {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
line-height: 23px !important;
|
||||
font-family: nazaninb;
|
||||
|
||||
}
|
||||
.nazanin-bold-justify {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
font-family: nazaninb;
|
||||
line-height:8mm !important;
|
||||
size:20pt;
|
||||
text-align: justify !important;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
font-family: nazaninb;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f0f0f0;
|
||||
line-height: 15px;
|
||||
|
||||
}
|
||||
|
||||
.a4-container {
|
||||
margin: 0;
|
||||
width: 203.55mm;
|
||||
height: 291mm;
|
||||
background-image: url("/static/assets/img/bg.png");
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.text-overlay {
|
||||
position: absolute;
|
||||
top: 17mm;
|
||||
right: 14mm;
|
||||
left: 14mm;
|
||||
font-size: 9pt;
|
||||
color: #000;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
direction: rtl;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.pagination {
|
||||
position: absolute;
|
||||
bottom: 7px;
|
||||
left: 50%;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.page-number {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.titles {
|
||||
display: grid;
|
||||
position: absolute;
|
||||
left: 12mm;
|
||||
color: #000;
|
||||
font-size: 14px;
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 17px;
|
||||
font-weight: 900;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.inner-title-titr {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-align: right !important;
|
||||
line-height: 13px;
|
||||
margin-top: 30px;
|
||||
font-family: btitr;
|
||||
|
||||
|
||||
}
|
||||
.inner-title {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-align: right !important;
|
||||
line-height: 13px;
|
||||
margin-top: 30px;
|
||||
font-family: nazaninb;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.a4-container p {
|
||||
text-align: right;
|
||||
line-height: 10px;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.right-signature {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.left-signature {
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
|
||||
.highlight {
|
||||
background-color: #ffeaa7;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 25px;
|
||||
background: transparent;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px 10px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #38b589;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
.custom-h1 {
|
||||
background-color: #4665AE;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.confirm-box {
|
||||
display: inline-block;
|
||||
padding: 15px;
|
||||
margin: 30px;
|
||||
text-align: center;
|
||||
font-family: nazaninb;
|
||||
min-height: 150px;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.resize-image {
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
.header_nazar {
|
||||
line-height: 20px !important;
|
||||
|
||||
}
|
||||
284
static/css/styles_for_hatching_detail.css
Normal file
284
static/css/styles_for_hatching_detail.css
Normal file
@@ -0,0 +1,284 @@
|
||||
@font-face {
|
||||
font-family: "nazaninb";
|
||||
src: local("nazaninb"), url("/static/assets/fonts/BNaznnBd.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "btitr";
|
||||
src: local("btitr"), url("/static/assets/fonts/btitrb.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "nazanin";
|
||||
src: local("nazanin"), url("/static/assets/fonts/nazanin.ttf") format("truetype");
|
||||
}
|
||||
|
||||
@page {
|
||||
margin: 3mm;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
font-family: nazanin;
|
||||
|
||||
}
|
||||
|
||||
.nazanin-bold {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
line-height: 23px !important;
|
||||
font-family: nazaninb;
|
||||
|
||||
}
|
||||
|
||||
.nazanin-bold-justify {
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
font-family: nazaninb;
|
||||
line-height: 8mm !important;
|
||||
size: 20pt;
|
||||
text-align: justify !important;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
font-family: nazaninb;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #f0f0f0;
|
||||
line-height: 15px;
|
||||
|
||||
}
|
||||
|
||||
.a4-container {
|
||||
margin: 0;
|
||||
width: 203.55mm;
|
||||
height: 292mm;
|
||||
background-image: url('/static/assets/img/blue_bg.png');
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.text-overlay {
|
||||
position: absolute;
|
||||
top: 17mm;
|
||||
right: 14mm;
|
||||
left: 14mm;
|
||||
font-size: 9pt;
|
||||
color: #000;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
text-align: center;
|
||||
direction: rtl;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.pagination {
|
||||
position: absolute;
|
||||
bottom: 7px;
|
||||
left: 50%;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.page-number {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.titles {
|
||||
display: grid;
|
||||
position: absolute;
|
||||
left: 12mm;
|
||||
color: #000;
|
||||
font-size: 14px;
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 17px;
|
||||
font-weight: 900;
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.inner-title-titr {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-align: right !important;
|
||||
line-height: 13px;
|
||||
margin-top: 30px;
|
||||
font-family: btitr;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.inner-title {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-align: right !important;
|
||||
line-height: 13px;
|
||||
margin-top: 30px;
|
||||
font-family: nazaninb;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.a4-container p {
|
||||
text-align: right;
|
||||
line-height: 10px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.right-signature {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.left-signature {
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
|
||||
.highlight {
|
||||
background-color: #ffeaa7;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 25px;
|
||||
background: transparent;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
th, td {
|
||||
border: 1px solid #ddd;
|
||||
padding: 4px 5px;
|
||||
text-align: center;
|
||||
font-size: 12px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.chain-table-cell {
|
||||
border: 1px solid #ddd;
|
||||
padding: 1px 1px !important;
|
||||
text-align: center;
|
||||
font-size: 8px !important;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #38b589;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.custom-h1 {
|
||||
background-color: #4665AE;
|
||||
color: white;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.confirm-box {
|
||||
display: inline-block;
|
||||
padding: 15px;
|
||||
margin: 30px;
|
||||
text-align: center;
|
||||
font-family: nazaninb;
|
||||
min-height: 150px;
|
||||
vertical-align: top;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.resize-image {
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
.header_nazar {
|
||||
line-height: 20px !important;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.container {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
position: relative;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.text-element {
|
||||
color: #2D5FFF;
|
||||
background-color: #E0E7FF;
|
||||
padding: 8px 16px;
|
||||
border-radius: 4px 0 0 4px;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 500;
|
||||
margin-right: -3px;
|
||||
}
|
||||
|
||||
.line {
|
||||
flex-grow: 1;
|
||||
height: 2px;
|
||||
background-color: #2D5FFF;
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.items-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
direction: rtl;
|
||||
justify-content: space-between;
|
||||
|
||||
}
|
||||
|
||||
.item {
|
||||
width: 25%;
|
||||
font-size: 14px;
|
||||
text-align: right;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
.item strong {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.item span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@page {
|
||||
@bottom-center {
|
||||
content: "صفحه " counter(page) " از " counter(pages);
|
||||
margin-top: -30px;
|
||||
font-family: nazaninb;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.chain-table-cell2 {
|
||||
border: 1px solid #ddd;
|
||||
padding: 1px 1px !important;
|
||||
text-align: center;
|
||||
font-size: 6px !important;
|
||||
background-color: transparent;
|
||||
}
|
||||
Reference in New Issue
Block a user