body { direction: rtl; } h1, h2, h3, h4, h5, h6, a, p, span { font-family: 'dubaiM', sans-serif; line-height: 1.6em; } .h1 { font-size: $h1 !important; } .h2 { font-size: $h2 !important; } .h3 { font-size: $h3 !important; } .h4 { font-size: $h4 !important; } .h5 { font-size: $h5 !important; } .h6 { font-size: $h6 !important; } p { font-size: 16px; } input, textarea { font-family: 'dubaiM', sans-serif; resize: vertical; } * { outline: none; &:lang(fa) { direction: rtl; } } .stretch { display: flex; align-items: stretch; } .txtBtn { font-family: 'dubaiL', sans-serif; text-align: center; } .section { padding: 20px 0; } .btn { display: inline-block; padding: 0 4px; border: 1px solid $gray; cursor: pointer; font-size: 12px; font-weight: bold; color: $themeReverse; background-color: #fff; @extend %defaultTransition; &.bigBtn { padding: 4px 16px !important; font-size: 16px !important; font-weight: lighter !important; } &.btn-primary { border-color: $border; color: $gray1; border-radius: 5px; a { color: $gray1; @extend %defaultTransition; } &:hover { background-color: $gray; color: $gray1; } } &.btn-secondary { border-color: $red; background-color: $red; color: white; padding: 4px 8px !important; border-radius: 5px; &:hover { background-color: transparent; color: $red; } } &.btn-success { border-color: green; background-color: transparent; color: green; border-radius: 5px; &:hover { background-color: green; color: white; } } &.btn-disable { border-color: #666666; background-color: #666666; color: white; border-radius: 5px; } &:hover { color: $gray1; background: $gray; } &.btn-active { background: $gray; color: $gray1; } } .newsBox { padding-right: 10px !important; padding-left: 10px !important; .innerBox { height: 100%; padding: 5px; display: flex; flex-wrap: wrap; @extend %defaultTransition; &:hover { @include boxShadow(0 3px 10px rgba(#000, 0.17)) } .suTitrBox { display: flex; div { h2 { font-size: 14px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } &:first-child { margin-left: 5px; } } } img { width: 100%; } h3 { flex-basis: 100%; font-size: 11px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; margin-bottom: 10px; } .date { align-items: center; justify-content: space-between; margin-top: auto; p { color: #999999; margin-left: 10px; font-size: 12px; font-family: 'sansNum', sans-serif; } } } } .pointer { cursor: pointer; } .hide { opacity: 0; height: 0; overflow: hidden; } .sectionStyle { background: $sectionBg; padding: 15px; @include borderRadius(10px); } .line-txt { position: relative; margin-bottom: 16px; span { display: inline-block; padding-left: 16px; position: absolute; background-color: white; color: gray; font-family: 'dubaiB' !important; top: -16px; font-size: 20px; } .line { height: 1px; background-color: rgba(#000, 0.2) !important; } } .sidebar-line-txt { margin-bottom: 15px; span { display: inline-block; font-family: 'dubaiB' !important; font-size: 16px; } .red-line { height: 1px; background-color: $border; margin-top: 10px; margin-bottom: 15px; } } .btn-active { display: inline-block; padding: 4px 16px; border: 1px solid $red; cursor: pointer; font-size: 16px; color: $themeReverse; width: 100%; @extend %defaultTransition; &.btn-primary-active { border-color: white; background-color: white; color: $gray1; border-radius: 5px; border: 1px solid $border; a { color: $red; @extend %defaultTransition; } &:hover { background-color: $gray; color: $gray1; } } &.btn-secondary-active { border-color: white; background-color: white; color: $red; padding: 4px 8px !important; border-radius: 5px; } } button { font-family: 'dubaiM', sans-serif; } .fixedHeight { overflow: hidden !important; height: 100vh !important; } .app-front { &.miniHeader { .site--header { .view-banner { .iran-flag { height: 0; @extend %defaultTransition; } .banner { img { width: 0; @extend %defaultTransition; } } } } .bannerHeightFix { height: 0; @extend %defaultTransition; } } } .page { min-height: calc(100vh - 330px); padding-top: 100px; padding-bottom: 50px; .bannerHeightFix { width: 100%; visibility: hidden; } } .slick-dots { li { //width: 0 !important; button::before { color: $red !important; } &.slick-active button::before { color: $red !important; } } } .el-popover { background: $red !important; color: white; font-family: 'dubaiB', sans-serif; border-radius: 15px; text-align: center; min-width: 124px; padding: 10px; .popper__arrow::after { border-top-color: $red !important; } } .el-carousel__container { } .el-carousel__item { margin-bottom: 0; } .el-carousel__indicators--outside { position: absolute; bottom: 160px; } .el-carousel__indicator { margin-top: 0; } .el-dialog__wrapper { top: 0 !important; bottom: 0 !important; } .simple-lightbox { direction: ltr !important; * { direction: ltr !important; } } .justifyBetween { justify-content: space-between; display: flex; flex-direction: column; } .site--footer { background-color: #444444; overflow: hidden; .col1 { padding: 40px 0 30px 0; align-items: flex-start; & > div { h3 { color: white; font-family: 'dubaiB', sans-serif; margin-bottom: 15px; } .link-txt { margin-bottom: 12px; display: inline-block; width: 100%; text-align: right; color: white; font-family: "dubaiM" !important; font-size: 14px !important; @extend %defaultTransition; &:hover { @extend %defaultTransition; color: $red; } } } .logo { @media (max-width: 768px) { display: flex; justify-content: center; } img { width: 140px; margin-bottom: 10px; @media (max-width: 768px) { width: 120px; } } } } .logoTxt { text-align: center; width: 100%; display: inline-block; margin-top: 12px; color: white; font-family: "dubaiM" !important; font-size: 14px !important; } .ll { display: inline-block; width: 60%; text-align: right; color: white; font-family: "dubaiM" !important; font-size: 14px !important; } .border { height: 1px; background-color: #D8D8D8; border-bottom-width: 1px; border-color: white; //margin-top: 36px; //margin-bottom: 36px; } .view-copy-right { padding: 20px 0; .icon-field { @media (max-width: 768px) { text-align: center; padding-bottom: 10px; } i { color: white; padding: 0 10px; //margin-bottom: 10px; @extend %defaultTransition; cursor: pointer; &:hover { @extend %defaultTransition; color: $red; } } } .copy-right-holder { text-align: left; margin-left: 0; @media (max-width: 768px) { text-align: center; } .copy-right { color: white; width: 100%; a { color: #fff; @extend %defaultTransition; &:hover { color: #000000; font-weight: bold; @extend %defaultTransition; } } //text-align: left; } } } .footer-link { display: inline-block; margin-left: 32px; color: white; margin-bottom: 32px; @extend %defaultTransition; &:hover { @extend %defaultTransition; color: $red; } } } .site--header { background: #000; width: 100%; position: fixed; top: 0; left: 0; z-index: 10; .site-top { padding: 3px 0; background: #444444; .site-top-left { text-align: left; @media (max-width: 768px) { text-align: center; } .el-button { padding: 0; span { @extend %defaultTransition; &:hover { color: $red; @extend %defaultTransition; } } } .email-top { flex-direction: row; display: flex; align-items: center; justify-content: flex-end; //margin: 0 10px; @media (max-width: 768px) { justify-content: center; direction: ltr; } .email-text { margin: 0 10px; } i { color: #fff; } } //.flip-clock{ // direction: ltr !important; //} } .site-top-right { @media (max-width: 768px) { text-align: center; } .time-date { margin-right: 10px; } } p, span, a { color: white; //margin: 0 10px; //margin-right: 10px; //margin-left: 10px; font-family: 'sansNum', sans-serif; font-size: 12px; @extend %defaultTransition } a:hover { @extend %defaultTransition; color: $red; } i { font-size: 15px; } } .view-banner { position: relative; .relativePos { border-top: 1px solid #666666; background: #7a7a7a; } .iran-flag { position: absolute; top: 0; left: 0; height: 100%; z-index: 1; @extend %defaultTransition; } .banner { width: 100%; background: #000; padding: 0 !important; margin: 0 !important; img { display: block; width: 100%; @extend %defaultTransition; } } .navigations { background: #7a7a7a; .row { height: 100%; } nav { height: 100%; ul { display: flex; flex-wrap: wrap; height: 100%; li { @extend %defaultTransition; position: relative; height: $headerNavLinksHeight; display: flex; align-items: center; &.active { background: $red1; } &:hover { background-color: $red1; .mega-menu { display: block; } } a { display: block ruby; padding: 5px 10px; color: white; } .mega-menu { $subMenuColor: #696363; $subMenuWidth: 330px; background: $subMenuColor; position: absolute; top: $headerNavLinksHeight; right: 0; display: none; width: $subMenuWidth; li { height: auto; &:hover { background: $red1; } } .tree { display: block; .treeItem { display: block; position: relative; padding: 5px 0; &:hover { & > .children { display: block; } } a { display: block; padding: 8px 10px; font-size: 14px; line-height: 1.3em; } .hasChild { display: inline-block; position: absolute; top: 50%; left: 8px; font-size: 13px; color: #fff; @include transform(translateY(-50%)); } .children { width: $subMenuWidth; position: absolute; top: 0; right: 100%; background: $subMenuColor; display: none; } } } } } } } .left { position: relative; z-index: 2; ul { display: flex; height: 100%; justify-content: flex-end; align-items: stretch; @media (max-width: 992px) { flex-direction: row-reverse; display: flex; li { margin: 0 5px; } } li { display: flex; justify-content: center; align-items: center; &.switch-btn { @extend %defaultTransition; &:hover { background: $red; } a { display: block; padding: 5px 10px; color: white; } } i { color: #fff; cursor: pointer; @extend %defaultTransition; &.hamburger-btn { padding-left: 0; } &:hover { color: $red; } } &.searchBtns { i { display: block; width: 36px; height: 26px; padding: 5px 5px; } } &.menu { } } } } .menu-desk { display: inline-block; @media (max-width: 992px) { display: none; } .menu-mobile { display: none; @media (min-width: 768px) { display: inline-block; } } } .mobile-header { i { font-size: 20px; color: #fff; padding: 5px; &:hover { cursor: pointer; opacity: 0.5; } } } } .searchBox { background: #7a7a7a; width: 100%; position: absolute; top: -20px; left: 0; z-index: -1; @extend %defaultTransition; &.active-search { top: 100%; .searchInput { padding: 10px 0; input { border-top-color: rgba(#fff, 0.5); font-size: 20px; font-family: 'dubaiR', sans-serif; padding: 5px; } } } .searchInput { overflow: hidden; position: relative; padding: 0; input { width: 100%; @extend %appearance; border: none; background: #fff; padding: 2px 8px; color: #000; @include borderRadius(5px); @include boxSizing(border-box); @extend %defaultTransition; &::placeholder { opacity: 0.8; font-size: 16px; } } button { @extend %defaultTransition; @extend %appearance; background: #7a7a7a; position: absolute; top: 50%; left: 3px; padding: 3px 16px; @include transform(translateY(-50%)); @include borderRadius(5px); cursor: pointer; border: 1px solid #7a7a7a; i { font-size: 18px; color: #fff; @extend %defaultTransition; } &:hover { background: transparent; border-color: $red; i { color: $red; } } } } } } } .pageLoad { width: 100%; height: 100vh; position: fixed; top: 0; left: 0; z-index: 20; background: #fff; opacity: 0; visibility: hidden; &.preLoader { visibility: visible; opacity: 1; } .relativePos { height: 100%; .txtBox { display: inline-block; position: absolute; top: 50%; left: 50%; text-align: center; @include transform(translate(-50%, -50%)); p { color: #000; } @keyframes loading { 0% { width: 0; left: 0; } 40% { width: 90%; left: 0; } 60% { width: 90%; left: 10%; } 100% { width: 0; left: 100%; } } .anim { height: 10px; background: rgba(#000, 1); position: absolute; bottom: -13px; left: 0; width: 100%; z-index: -2; @include borderRadius(50px); @include animation(loading 0.8s ease-in-out infinite alternate); } } } } .off-canvas { $sideWidth: 100px; background: $offCanvasColor; width: 100%; height: 100vh; overflow: hidden; position: fixed; top: 0; left: 0; z-index: 19; display: flex; visibility: hidden; .side { flex-basis: $sideWidth; height: 100%; border-left: 1px solid rgba(#000, 0.5); .closeBtn { position: absolute; top: 35px; left: 0; width: 100%; text-align: center; cursor: pointer; &:hover { .x { &:before, &:after { width: 30px; } } } .x { position: relative; width: 100%; height: 30px; &:before, &:after { content: ''; display: block; width: 25px; height: 2px; background: gray; position: absolute; @extend %defaultTransition; } &:before { top: 20px; left: 50%; @include transform(translateX(-50%) rotateZ(-45deg)); } &:after { top: 20px; left: 50%; @include transform(translateX(-50%) rotateZ(45deg)); } } span { display: inline-block; @include transform(translateX(4px) rotateZ(-270deg)); font-size: 25px; z-index: 2; text-align: center; margin-top: 30px; } } } .main { flex-basis: calc(100% - #{$sideWidth}); padding-top: 100px; overflow: hidden; @media (max-width: 768px) { padding-top: 80px; } .closeBtnMobile { text-align: right; padding: 10px 0 10px 10px !important; cursor: pointer; position: fixed; top: 0; right: -10px; &:hover { .x { &:before, &:after { //width: 27px; } } } .x { width: 30px; height: 30px; position: relative; &:before, &:after { content: ''; display: block; width: 25px; height: 2px; background: gray; position: absolute; @extend %defaultTransition; } &:before { top: 25px; right: 10px; @include transform(translateX(-50%) rotateZ(-45deg)); } &:after { top: 25px; right: 10px; @include transform(translateX(-50%) rotateZ(45deg)); } } span { display: inline-block; @include transform(translateX(4px) rotateZ(-270deg)); font-size: 25px; z-index: 2; text-align: center; margin-top: 30px; } } nav { //@media (max-width: 768px) { // padding: 20px 15px; //} ul { li { margin-bottom: 30px; a { @extend %defaultTransition; &:hover { color: $red !important; } &.subLink { font-size: 16px; color: rgba(#000, 0.7); } } .children { margin-top: 10px; ul { li { margin-bottom: 3px; } } } } .mainLink { font-size: 16px; color: #000; font-family: 'dubaiB'; } .mega-menu{ .tree{ a{ margin-right: 70px; color: rgba(0, 0, 0, 0.7); font-size: 16px; } } } } } .searchBox { .title { .title-search { font-size: 20px; i { display: inline-block; margin-left: 5px; @include transform(translateY(3px)); } } .login { font-size: 16px; margin-top: 20px; @extend %defaultTransition; cursor: pointer; i { display: inline-block; margin-left: 5px; @include transform(translateY(3px)); } &:hover { color: $red; @extend %defaultTransition; } } } form { margin-top: 20px; display: block; width: 100%; max-width: 500px; position: relative; input { $inputBG: #E1E0E0; width: 100%; border: 1px solid $inputBG; background: $inputBG; padding: 5px 15px; @include boxSizing(border-box); @include borderRadius(25px); font-family: 'dubaiR', sans-serif; } button { background: transparent; border: none; cursor: pointer; position: absolute; top: 50%; left: 7px; @include transform(translateY(-50%)); i { display: inline-block; font-size: 22px; padding: 5px; } } } } } } .el-dialog { @media (max-width: 768px) { width: calc(100% - 100px); } @media (max-width: 575px) { width: calc(100% - 30px); } .el-dialog__header { text-align: center; } .flip-clock { direction: ltr; .flip-clock__piece { b { font-family: 'sansNum', sans-serif; } .flip-card { line-height: 1.1; .flip-card__top { color: #fff; background: $red; } .flip-card__bottom { color: #fff; background: $red; } .flip-card__back { color: #fff; //background: $red; &::before { color: #fff; background: $red; } } .flip-card__back-bottom { color: #fff; background: $red; } } .flip-clock__slot { //display: none; } } } .title-counter { display: flex; align-items: center; justify-content: space-around; text-align: center; width: 100%; padding: 5px 0; //max-width: 60%; } } .not-found { display: flex; justify-content: center; align-items: center; background: #F4F4F4; border-radius: 10px; padding: 10px 0; //margin-top: 60px; p { color: gray; } } .el-pagination { .el-pager { .number { font-family: 'sansNum', sans-serif; } } .btn-next, .btn-prev { .el-icon { transform: scaleX(-1); } } } .el-tree{ background: transparent; .el-tree-node__content>.el-tree-node__expand-icon{ padding: 6px 20px; } .test{ margin-right: 20px; } } .lid{ font-family: "dubaiM", sans-serif; font-size: 14px; }