Skip to content

Instantly share code, notes, and snippets.

@avipars
Created December 31, 2020 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avipars/eb19c0db256b675571303ca84ad9f65f to your computer and use it in GitHub Desktop.
Save avipars/eb19c0db256b675571303ca84ad9f65f to your computer and use it in GitHub Desktop.
vatstyles.css
@import url("https://fonts.googleapis.com/css?family=Montserrat");
html,
body {
height: 100%;
margin: 0;
padding: 0;
font-family: "Montserrat", sans-serif;
}
.container-fluid {
height: 100%;
display: table;
width: 100%;
padding: 0;
}
.row-fluid {
height: 100%;
display: table-cell;
vertical-align: middle;
}
.chart {
width: 75%;
}
table,
th,
td {
border: 1px solid black;
}
.centering {
float: none;
margin: 0 auto;
}
.slidecontainer {
width: 50%;
/* Width of the outside container */
;
}
/* The slider itself */
.slider {
-webkit-appearance: none;
width: 100%;
height: 15px;
border-radius: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: 0.2s;
transition: opacity 0.2s;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 25px;
height: 25px;
border-radius: 50%;
background: #4caf50;
cursor: pointer;
}
.slider::-moz-range-thumb {
width: 25px;
height: 25px;
border-radius: 50%;
background: #4caf50;
cursor: pointer;
}
.text-nowrap {
white-space: nowrap;
}
@media (min-width: 576px) {
#override {
padding: 2rem 1rem;
}
}
@media (max-width: 576px) {
#youwillpay {
font-size: 3.6rem;
}
}
@media (max-width: 576px) {
.otherspay {
font-size: 3.6rem;
}
}
.btn-whatsapp {
background-color: #25d366;
color: #fff;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-whatsapp:focus,
.btn-whatsapp.focus {
color: #fff;
background-color: #21ba59;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-whatsapp:hover {
color: #fff;
background-color: #21ba59;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-facebook:active,
.btn-facebook.active,
.open > .dropdown-toggle.btn-facebook {
color: #fff;
background-color: #21ba59;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-facebook:active:hover,
.btn-facebook.active:hover,
.open > .dropdown-toggle.btn-facebook:hover,
.btn-facebook:active:focus,
.btn-facebook.active:focus,
.open > .dropdown-toggle.btn-facebook:focus,
.btn-facebook:active.focus,
.btn-facebook.active.focus,
.open > .dropdown-toggle.btn-facebook.focus {
color: #fff;
background-color: #21ba59;
border-color: rgba(0, 0, 0, 0.2);
}
.btn-facebook:active,
.btn-facebook.active,
.open > .dropdown-toggle.btn-facebook {
background-image: none;
}
* {
scroll-behavior: smooth;
}
.swiper-wrapper {
align-items: center;
/* add this will all relevant prefixes */
;
}
.brand-logo {
}
.brand-logo img {
max-width: 100%;
height: auto;
transition: 0.3s;
opacity: 0.5;
-webkit-filter: grayscale(100%);
/* Safari 6.0 - 9.0 */
filter: grayscale(100%);
}
.brand-logo img:hover {
opacity: 1;
-webkit-filter: grayscale(0%);
/* Safari 6.0 - 9.0 */
filter: grayscale(0%);
}
.navbar-toggle {
float: left !important;
margin-left: 15px;
}
.navbar-header.navbar-right.pull-right {
margin-right: 15px;
}
.navbar-right > li {
float: left;
}
.input-box {
margin: 10px auto;
/* margin-top: 70px !important; */
/* position: relative; */
width: 100%;
size: 5;
}
/* .jumbotron {
position: relative;
padding: 0 !important;
margin-top: 70px !important;
background: #eee;
margin-top: 23px;
text-align: center;
margin-bottom: 0 !important;
}
.container-fluid {
padding: 0 !important;
}
.col-xs-4 {
background: rgba(157, 52, 99, 0.7);
} */
.date {
background-color: rgb(255, 255, 255);
text-align: right;
font-size: 0.75rem;
padding: 0.75rem 2rem 0.75rem 0;
}
ul.currencies {
height: calc(100vh - 40px - 100px - 40px - 58px);
background-color: rgb(255, 255, 255);
padding: 0 1.5rem 1rem 1.5rem;
overflow-y: auto;
}
ul.currencies li {
background-color: #2d2d37;
border-radius: 5px;
list-style: none;
padding: 1rem 1rem 0.75rem 1rem;
margin-bottom: 1rem;
position: relative;
}
ul.currencies li:last-child {
margin-bottom: 0;
}
ul.currencies li.base-currency {
background-color: #264d73;
}
.flag {
width: 70px;
height: 40px;
border: 1px solid #fff;
vertical-align: top;
}
.info {
display: inline-block;
width: 78%;
}
.info .input span {
font-size: 1.5rem;
display: inline-block;
width: 4rem;
text-align: center;
}
.info .input input {
font-size: 1.5rem;
width: 78%;
background-color: transparent;
border: 2px solid #fff;
border-radius: 5px;
color: #fff;
padding: 0.3rem;
margin-bottom: 0.75rem;
}
.info .currency-name {
font-size: 1rem;
color: #fff;
font-weight: bold;
margin-bottom: 0.5rem;
margin-left: 4rem;
}
.info .base-currency-rate {
font-size: 0.8rem;
margin-left: 4rem;
color: #fff;
}
ul.currencies li .close {
position: absolute;
top: 0;
right: 0;
padding: 0 0.5rem;
font-size: 1.5rem;
color: #666;
cursor: pointer;
}
ul.currencies li .close:hover {
color: #fff;
}
/* Scrollbar */
ul.currencies::-webkit-scrollbar {
width: 5px;
}
ul.currencies::-webkit-scrollbar-thumb {
background-color: #2d2d37;
border-bottom: 1rem solid #222;
}
ul.add-currency-list {
position: absolute;
bottom: 54px;
left: 105%;
background-color: #f1f1f1;
color: #333;
width: 100%;
height: calc(100vh - 40px - 100px - 55px);
overflow-y: auto;
transition: all 0.25s;
}
ul.add-currency-list li {
list-style: none;
padding: 0.75rem;
border-bottom: 1px solid #ddd;
}
ul.add-currency-list li.disabled {
opacity: 0.7;
cursor: not-allowed;
}
ul.add-currency-list li .flag {
width: 3rem;
height: 2rem;
vertical-align: middle;
}
ul.add-currency-list li span {
margin-left: 1rem;
font-weight: bold;
}
.add-currency-btn {
background-color: #00b386;
color: #fff;
padding: 1rem;
font-size: 1.2rem;
font-weight: bold;
border: none;
border-top: 3px solid #222;
outline: none;
width: 100%;
cursor: pointer;
transition: background-color 0.25s;
position: relative;
}
.add-currency-btn i {
position: absolute;
top: 0.6rem;
left: 30%;
font-size: 2rem;
opacity: 0;
transition: all 0.25s;
}
.add-currency-btn.open {
background-color: #d9534f;
}
.add-currency-btn.open i {
opacity: 1;
left: 1.25rem;
}
.add-currency-btn.open + ul.add-currency-list {
left: 0;
}
.add-currency-btn.open + ul.add-currency-list li:hover {
background-color: #ddd;
}
@media (max-width: 600px) {
/* html {
font-size: 14px;
}
.container {
width: 100%;
margin: 0 auto;
} */
ul.currencies {
height: calc(100vh - 83px - 34px - 51px);
}
/* .header h1 {
font-size: 2rem;
} */
.flag {
width: 3rem;
height: 2rem;
}
.info .input span {
font-size: 1.25rem;
width: 3.5rem;
}
.info .input input {
font-size: 1.25rem;
width: 76%;
}
.info .currency-name {
margin-left: 3.5rem;
}
.info .base-currency-rate {
margin-left: 3.5rem;
}
ul.add-currency-list {
bottom: 48px;
height: calc(100vh - 80px - 51px);
}
.add-currency-btn i {
left: 25%;
top: 0.65rem;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment