first commit
This commit is contained in:
453
frontend/assets/css/app.css
Executable file
453
frontend/assets/css/app.css
Executable file
@@ -0,0 +1,453 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Basic styles */
|
||||
.title-logo {
|
||||
color: #ffd700;
|
||||
text-shadow: 1px 1px #b87500;
|
||||
}
|
||||
|
||||
#page-content a[href="https://ib.tbbank.gov.tm/ib/"],
|
||||
#page-content a[href^="https://tbbank.gov.tm/pdf/"] {
|
||||
background-color: #67b03d;
|
||||
color: white;
|
||||
padding: 0.6em;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
#page-content tbody a {
|
||||
text-decoration: underline;
|
||||
color: #67b03d;
|
||||
}
|
||||
|
||||
.news-img-size {
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#menu-items {
|
||||
transition: top, opacity 1s ease-in-out, top, opacity 1s ease-in-out;
|
||||
}
|
||||
|
||||
nav {
|
||||
border: 1px solid #67b03d;
|
||||
}
|
||||
|
||||
table,
|
||||
th,
|
||||
td,
|
||||
tbody {
|
||||
border: 0.5px solid white;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.min-w-td {
|
||||
min-width: 200px;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.bg-green {
|
||||
background-color: #67b03d;
|
||||
}
|
||||
|
||||
.green-color {
|
||||
color: #67b03d;
|
||||
}
|
||||
|
||||
.menu :where(li ul):first-of-type:before {
|
||||
width: 0 !important;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
background: #f5f5f5!important;
|
||||
border: 1px solid #ededed!important;
|
||||
color: #67b03d!important;
|
||||
font-size: 18px!important;
|
||||
font-weight: 400!important;
|
||||
line-height: 31.2px!important;
|
||||
padding: 11px 0!important;
|
||||
text-align: center!important;
|
||||
text-transform: uppercase!important;
|
||||
}
|
||||
|
||||
#page-content p {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#page-content table {
|
||||
background-color: transparent;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
margin-bottom: 20px;
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#page-content table tbody tr td {
|
||||
border: 1px solid silver;
|
||||
height: 37px;
|
||||
line-height: 1.42857143;
|
||||
padding: 8px;
|
||||
vertical-align: top;
|
||||
width: 56px;
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
.bg-green-nav {
|
||||
background-color: #67b03d;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width:1024px) {
|
||||
.dropbtn {
|
||||
color: white;
|
||||
padding: 12px 8px;
|
||||
font-size: 14px;
|
||||
border: none;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width:1024px) {
|
||||
#page-content {
|
||||
width: 80%;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.dropbtn {
|
||||
color: #67b03d;
|
||||
padding: 10px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
display: none;
|
||||
position: absolute;
|
||||
background-color: #f1f1f1;
|
||||
min-width: 230px;
|
||||
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.dropdown-content a {
|
||||
color: #67b03d;
|
||||
padding: 12px 16px;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: 1px solid rgb(165, 165, 165);
|
||||
}
|
||||
|
||||
/*.dropdown-content li a:last-child {
|
||||
border-bottom: none;
|
||||
}*/
|
||||
|
||||
.dropdown-content a:hover {
|
||||
background-color: #ddd;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.dropdown:hover .dropdown-content {
|
||||
display: block !important;
|
||||
visibility: inherit;
|
||||
opacity: 1;
|
||||
}
|
||||
/* END Basic styles */
|
||||
|
||||
/* CAROUSEL */
|
||||
.image {
|
||||
width: 100%;
|
||||
height: 70%;
|
||||
}
|
||||
|
||||
.images {
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.images-inner {
|
||||
width: 500%;
|
||||
transition: all 800ms cubic-bezier(0.770, 0.000, 0.175, 1.000);
|
||||
transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
|
||||
}
|
||||
|
||||
.image-slide {
|
||||
width: 20%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.image-slide,
|
||||
.fake-radio,
|
||||
.radio-btn {
|
||||
transition: all 0.5s ease-out;
|
||||
}
|
||||
|
||||
.fake-radio {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Move slides overflowed container */
|
||||
#slide1:checked~.images .images-inner {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#slide2:checked~.images .images-inner {
|
||||
margin-left: -100%;
|
||||
}
|
||||
|
||||
#slide3:checked~.images .images-inner {
|
||||
margin-left: -200%;
|
||||
}
|
||||
|
||||
/* Color of bullets */
|
||||
#slide1:checked~div .fake-radio .radio-btn:nth-child(1),
|
||||
#slide2:checked~div .fake-radio .radio-btn:nth-child(2),
|
||||
#slide3:checked~div .fake-radio .radio-btn:nth-child(3) {
|
||||
background: red;
|
||||
}
|
||||
|
||||
.radio-btn {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border-radius: 5px;
|
||||
background: gray;
|
||||
display: inline-block !important;
|
||||
margin: 0 1px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Color of bullets - END */
|
||||
|
||||
/* Text of slides */
|
||||
#slide1:checked~.labels .label:nth-child(1),
|
||||
#slide2:checked~.labels .label:nth-child(2),
|
||||
#slide3:checked~.labels .label:nth-child(3) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.label {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
/* Text of slides - END */
|
||||
|
||||
|
||||
#play1:checked~div .fake-radio .radio-btn:nth-child(1) {
|
||||
animation: bullet 12300ms infinite -1000ms;
|
||||
}
|
||||
|
||||
#play1:checked~div .fake-radio .radio-btn:nth-child(2) {
|
||||
animation: bullet 12300ms infinite 3100ms;
|
||||
}
|
||||
|
||||
#play1:checked~div .fake-radio .radio-btn:nth-child(3) {
|
||||
animation: bullet 12300ms infinite 7200ms;
|
||||
}
|
||||
|
||||
/* Calculate AUTOPLAY for BULLETS - END */
|
||||
|
||||
/* Calculate AUTOPLAY for SLIDES */
|
||||
@keyframes slide {
|
||||
|
||||
0%,
|
||||
25.203252032520325% {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
33.333333333333336%,
|
||||
58.53658536585366% {
|
||||
margin-left: -100%;
|
||||
}
|
||||
|
||||
66.66666666666667%,
|
||||
91.869918699187% {
|
||||
margin-left: -200%;
|
||||
}
|
||||
}
|
||||
|
||||
.st-slider>#play1:checked~.images .images-inner {
|
||||
animation: slide 12300ms infinite;
|
||||
}
|
||||
|
||||
/* Calculate AUTOPLAY for SLIDES - END */
|
||||
|
||||
/* Calculate AUTOPLAY for CAPTION */
|
||||
@keyframes caption {
|
||||
|
||||
0%,
|
||||
33.32333333333334% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
33.333333333333336%,
|
||||
100% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#play1:checked~.labels .label:nth-child(1) {
|
||||
animation: caption 12300ms infinite -1000ms;
|
||||
}
|
||||
|
||||
#play1:checked~.labels .label:nth-child(2) {
|
||||
animation: caption 12300ms infinite 3100ms;
|
||||
}
|
||||
|
||||
#play1:checked~.labels .label:nth-child(3) {
|
||||
animation: caption 12300ms infinite 7200ms;
|
||||
}
|
||||
/* END CAROUSEL */
|
||||
|
||||
/* Slider */
|
||||
.mySlides {
|
||||
display: none
|
||||
}
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/* Slideshow container */
|
||||
.slideshow-container {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
/* Next & previous buttons */
|
||||
.prev,
|
||||
.next {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: auto;
|
||||
padding: 16px;
|
||||
margin-top: -22px;
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: 18px;
|
||||
transition: 0.6s ease;
|
||||
border-radius: 0 3px 3px 0;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Position the "next button" to the right */
|
||||
.next {
|
||||
right: 0;
|
||||
border-radius: 3px 0 0 3px;
|
||||
}
|
||||
|
||||
/* On hover, add a black background color with a little bit see-through */
|
||||
.prev:hover,
|
||||
.next:hover {
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
/* Caption text */
|
||||
.text {
|
||||
color: #f2f2f2;
|
||||
font-size: 20px;
|
||||
padding: 8px 12px;
|
||||
position: absolute;
|
||||
bottom: 8px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Number text (1/3 etc) */
|
||||
.numbertext {
|
||||
color: #f2f2f2;
|
||||
font-size: 12px;
|
||||
padding: 8px 12px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/* The dots/bullets/indicators */
|
||||
.dot {
|
||||
cursor: pointer;
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
margin: 0 2px;
|
||||
background-color: #bbb;
|
||||
border-radius: 50%;
|
||||
display: inline-block;
|
||||
transition: background-color 0.6s ease;
|
||||
}
|
||||
|
||||
.active,
|
||||
.dot:hover {
|
||||
background-color: #717171;
|
||||
}
|
||||
|
||||
/* Fading animation */
|
||||
.fade {
|
||||
-webkit-animation-name: fade;
|
||||
-webkit-animation-duration: 1.5s;
|
||||
animation-name: fade;
|
||||
animation-duration: 1.5s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes fade {
|
||||
from {
|
||||
opacity: .4
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fade {
|
||||
from {
|
||||
opacity: .4
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1
|
||||
}
|
||||
}
|
||||
|
||||
/* On smaller screens, decrease text size */
|
||||
@media only screen and (max-width: 300px) {
|
||||
|
||||
.prev,
|
||||
.next,
|
||||
.text {
|
||||
font-size: 11px
|
||||
}
|
||||
|
||||
.dot {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 500px) {
|
||||
|
||||
.prev,
|
||||
.next,
|
||||
.text {
|
||||
font-size: 14px
|
||||
}
|
||||
}
|
||||
}
|
||||
/* END Slider */
|
||||
Reference in New Issue
Block a user