Skip to content

Instantly share code, notes, and snippets.

@momin-riyadh
Last active November 21, 2024 06:10
Show Gist options
  • Save momin-riyadh/81049a1d1b20d96cbcf32a23be7551e7 to your computer and use it in GitHub Desktop.
Save momin-riyadh/81049a1d1b20d96cbcf32a23be7551e7 to your computer and use it in GitHub Desktop.
LankaBangla Chatbot static CSS Filer
/*body {*/
/* font-family: "Open Sans", sans-serif;*/
/* background: url("http://157.230.89.26:8000/static/body.jpg") no-repeat center center fixed;*/
/* background-size: cover;*/
/*}*/
body {
background: #159957; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #155799, #159957); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #155799, #159957); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
/* text-align: center; */
margin: 0;
overflow: hidden;
font-family: 'calibri', sans-serif;
}
.g-brand-logo {
text-align: left;
margin: 1.5rem;
position: fixed;
}
/* ============= css related to chats =============== */
.widget {
display: none;
width: 380px;
right: 15px;
height: 100%;
position: fixed;
background: #fff;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.16), 0 0 5px 0 #00000096;
background-image: url("../img/dot.jpg");
background-repeat: repeat;
background-attachment: fixed;
}
@media all and (max-width: 767px) {
.widget {
display: none;
max-width: 380px;
width: 92%;
right: 15px;
height: 100%;
position: fixed;
background: #fff;
border-radius: 10px 10px 10px 10px;
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.16), 0 0 5px 0 #00000096;
background-image: url("../img/dot.jpg");
background-repeat: repeat;
background-attachment: fixed;
}
}
.chat_header {
height: 60px;
background: #67B26F;
background: -webkit-linear-gradient(to right, #4ca2cd, #67B26F);
background: linear-gradient(to right, #4ca2cd, #67B26F);
border-radius: 10px 10px 0 0;
padding: 5px;
font-size: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.chat_header_title {
color: white;
display: flex;
gap: 10px;
align-items: center;
font-weight: 600;
letter-spacing: 1px;
font-size: 20px;
}
.g-right-close-area {
display: flex;
}
.chats {
/* display: none; */
height: calc(100% - (60px + 50px + 20px));
padding: 2px;
border-radius: 1px;
overflow-y: scroll;
margin-top: 1px;
transition: 0.2s;
overflow-x:hidden;
-webkit-overflow-scrolling: touch;
/* Prevent keyboard from breaking scroll */
transform: translateZ(0);
}
@media all and (max-width: 767px) {
.chats {
/* display: none; */
height: calc(100% - (60px + 50px + 20px));
padding: 2px;
border-radius: 1px;
overflow-y: scroll;
margin-top: 1px;
transition: 0.2s;
overflow-x:hidden;
-webkit-overflow-scrolling: touch;
/* Prevent keyboard from breaking scroll */
transform: translateZ(0);
}
}
div.chats{
&::-webkit-scrollbar {
width: 3px;
}
&::-webkit-scrollbar-thumb {
background-color: rgba(187, 187, 187, 0.4);
border-radius: 4px;
}
/* For Firefox */
scrollbar-width: thin;
scrollbar-color: #bbbbbb transparent;
}
.clearfix {
margin-top: 2px;
margin-bottom: 2px;
}
.botAvatar-image {
width: 40px;
height: 40px;
border-radius: 50%;
float: left;
margin-left: 5px;
background-color: #efefef;
border: 1px solid #d3d2d2;
display: none;
}
.botAvatar-image img {
width: 100%;
height: 100%;
padding: 2px;
position: relative;
object-fit: contain;
}
.botMsg {
float: left;
margin-top: 5px;
background: #e3e7ee;
color: black;
/* box-shadow: 2px 3px 9px 0px #9a82842e; */
margin-left: 0.5em;
padding: 10px;
border-radius: 1.5em;
max-width: 60%;
min-width: 25%;
font-size: 13px;
word-wrap: break-word;
border-radius: 5px 20px 20px 20px;
}
div.chats > pre {
font-family: monospace, monospace;
font-size: 1em;
margin: 0 !important;
/* display: inline !important; */
white-space: initial !important;
}
div.chats > ul:not(.browser-default) {
padding-left: 1em;
}
div.chats > ul:not(.browser-default) > li {
list-style-type: initial;
}
div.chats > span.botMsg > ol {
padding-left: 1em;
}
textarea {
box-shadow: none;
resize: none;
outline: none;
overflow: hidden;
}
textarea::-webkit-input-placeholder {
}
textarea-webkit-scrollbar {
width: 0 !important;
}
.userMsg {
animation: animateElement linear 0.2s;
animation-iteration-count: 1;
margin-top: 5px;
word-wrap: break-word;
padding: 10px;
float: right;
margin-right: 0.5em;
background: #f1852d;
color: white;
margin-bottom: 0.15em;
font-size: 13px;
max-width: 65%;
min-width: 15%;
border-radius: 20px 5px 20px 20px;
/* box-shadow: 0px 2px 5px 0px #9a828454; */
}
blockquote {
margin: 20px 0;
padding-left: 1.5rem;
border-left: 5px solid #ee6e73;
margin-block-start: 0 !important;
margin-block-end: 0 !important;
margin-inline-start: 0 !important;
margin-inline-end: 0 !important;
}
.userAvatar-image {
float: right;
margin-right: 5px;
display: none;
}
.userAvatar-image img {
width: 40px;
height: 40px;
border-radius: 50%;
object-fit: cover;
animation: animateElement linear 0.3s;
animation-iteration-count: 1;
/* border: 2px solid #060DCF ; */
}
.usrInput {
width: 85%;
margin-left: 5px;
padding: 0.4em;
min-height: 40px;
background: #f9f9f9;
border-radius: 4px;
border: 1px solid antiquewhite;
flex-shrink: 0;
transition: all 0.4s ease-in-out;
overflow-y: auto;
font-size: 0.9rem;
}
.usrInput:focus {
border: 1px solid #f3a96d;
}
.keypad {
/* display: none; */
background: white;
height: 50px;
width: 100%;
border-radius: 0 0 10px 10px;
border-top: 1px solid #e3e7ee;
display: flex;
justify-content: space-between;
align-items: center;
}
#sendButton, #sendVoice {
border-radius: 50%;
display: inline-block;
float: right;
text-align: center;
padding: 5px;
font-size: 20px;
cursor: pointer;
color: #f1852d;
justify-self: center;
width: 100%;
}
.imgProfile {
object-fit: contain;
max-width: 100%;
width: 100%;
padding: 4px;
height: 100%;
}
.profile_div {
box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.16), 0 0 5px 0 #00000096;
border-radius: 50%;
position: fixed;
padding: 5px;
bottom: 10px;
right: 10px;
cursor: pointer;
width: 80px;
height: 80px;
/*animation: spin-up 2s infinite alternate;*/
border: 1px solid #95ada2;
background-color: #fff;
}
@-webkit-keyframes spin-up {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-15px);
}
}
@keyframes spin-up {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-15px);
}
}
/* css for dropdown menu of the bot */
#close,
#restart,
#clear {
cursor: pointer;
}
#close {
/*position: absolute;*/
/*right: 0;*/
/*top: 0;*/
/*background-color: rgba(0, 0, 0, 0.2);*/
width: 24px;
height: 24px;
/*border-top-left-radius: 8px;*/
margin-top: 3%;
float: right;
}
.dropdown-trigger {
cursor: pointer;
color: white;
margin-right: 5px;
float: right;
margin-top: 3%;
}
.dropdown-content li > a,
.dropdown-content li > span {
color: #f1852d;
}
@keyframes animateElement {
0% {
opacity: 0;
transform: translate(0px, 10px);
}
100% {
opacity: 1;
transform: translate(0px, 0px);
}
}
/*========== css related to chats elements============= */
/* css for card details of carousel cards */
.content {
transition: 0.2s;
display: none;
width: 350px;
right: 15px;
height: 500px;
bottom: 5%;
position: fixed;
background: white;
border-radius: 10px 10px 10px 10px;
box-shadow: 0px 2px 10px 1px #b5b5b5;
}
.content_header {
object-fit: cover;
width: 100%;
height: 40%;
border-radius: 10px 10px 0px 0px;
}
.content_data {
overflow-y: scroll;
height: 70%;
position: absolute;
left: 0px;
width: 100%;
top: 30%;
z-index: 1000;
border-radius: 10px;
background: white;
padding: 5px;
box-shadow: 0px -1px 20px 3px #9c9393ba;
}
.content_title {
color: black;
font-weight: 600;
word-wrap: break-word;
padding-left: 5px;
font-size: 1.2em;
width: 80%;
border-radius: 0.28571429rem;
}
.votes {
font-size: 12px;
color: lightslategray;
}
.ratings {
margin-top: 5px;
background: #9acd32;
padding: 5px;
color: white;
border-radius: 5px;
}
.user_ratings {
border-radius: 0.28571429rem;
color: #fff;
font-weight: 600;
font-size: 15px;
}
.total_ratings {
font-size: 12px;
opacity: 0.5;
margin-left: 5px;
}
.content_data > .row .col {
padding: 5px;
}
.metadata_1,
.metadata_2,
.metadata_3,
.metadata_4,
.row {
margin-bottom: 0;
}
.metadata_1 {
color: lightslategrey;
padding: 5px;
}
.order,
#closeContents {
color: #f1852d;
}
.metadata_2,
.metadata_3,
.metadata_4,
.metadata_5,
.metadata_6 {
color: lightslategrey;
padding: 5px;
}
.average_cost,
.timings,
.location,
.cuisines {
width: 70%;
float: right;
margin-right: 25%;
}
.fa .fa-user-o {
font-size: 15px;
}
.stars-outer {
display: inline-block;
position: relative;
font-family: 'FontAwesome', serif;
}
.stars-outer::before {
content: "\f006 \f006 \f006 \f006 \f006";
}
.stars-inner {
position: absolute;
top: 0;
left: 0;
white-space: nowrap;
overflow: hidden;
width: 0;
}
.stars-inner::before {
content: "\f005 \f005 \f005 \f005 \f005";
color: #f8ce0b;
}
div.content::-webkit-scrollbar {
width: 0 !important;
}
div.content_data::-webkit-scrollbar {
overflow-y: hidden;
width: 0;
/* remove scrollbar space /
background: transparent;
/ optional: just make scrollbar invisible */
}
/* css for single card */
.singleCard {
padding-left: 10%;
padding-right: 10px;
margin-bottom: 10px;
}
/* css for image card */
.imgcard {
object-fit: cover;
width: 80%;
height: 50%;
border-radius: 10px;
margin-left: 1%;
}
/* css for markdown images */
.imgcard_mrkdwn {
width: 80%;
border-radius: 10px;
margin-left: 1%;
}
/* css for suggestions buttons */
.suggestions {
padding: 5px;
width: 80%;
border-radius: 10px;
background: #ffffff;
box-shadow: 2px 5px 5px 1px #dbdade;
}
.menuTitle {
padding: 5px;
margin-top: 5px;
margin-bottom: 5px;
}
.menu {
padding: 5px;
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.menuChips {
display: block;
color: #f1852d;
text-align: left;
padding: 5px;
margin-bottom: 5px;
cursor: pointer;
border-radius: 5px;
font-size: 14px;
line-height: 1;
word-wrap: break-word;
border: 1px solid #f1852d;
flex-grow: 100%;
width: 100%;
text-align: center;
padding: 0.5rem;
}
/* cards carousels */
.cards {
display: none;
position: relative;
max-width: 300px;
}
.cards_scroller {
overflow-x: scroll;
overflow-y: hidden;
display: flex;
height: 210px;
width: 300px;
transition: width 0.5s ease;
margin-left: 5px;
/* Enable Safari touch scrolling physics which is needed for scroll snap */
-webkit-overflow-scrolling: touch;
}
.cards_scroller img {
border-radius: 10px;
}
.cards div.note {
position: absolute;
/* vertically align center */
top: 50%;
transform: translateY(-50%);
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.6);
padding: 20px;
font-size: 4em;
color: white;
}
.cards .arrow {
position: absolute;
top: 50%;
transform: translateY(-50%);
height: 30px;
width: 30px;
border-radius: 2px;
background-position: 50% 50%;
background-repeat: no-repeat;
z-index: 1;
}
.cards .arrow.next {
display: none;
font-size: 2em;
color: #ffffff;
right: 10px;
}
.cards .arrow.prev {
display: none;
font-size: 2em;
color: #ffffff;
left: 10px;
}
.cards_scroller::-webkit-scrollbar {
width: 0 !important;
}
.cards_scroller > div.carousel_cards {
margin: 5px;
scroll-snap-align: center;
position: relative;
scroll-behavior: smooth;
}
.cards_scroller div.carousel_cards {
min-width: 50%;
min-height: 70%;
background: #b5b5b5;
border-radius: 10px;
}
@-webkit-keyframes fadeInLeft {
from {
opacity: 0;
-webkit-transform: translatex(-10px);
-moz-transform: translatex(-10px);
-o-transform: translatex(-10px);
transform: translatex(-10px);
}
to {
opacity: 1;
-webkit-transform: translatex(0);
-moz-transform: translatex(0);
-o-transform: translatex(0);
transform: translatex(0);
}
}
.in-left {
-webkit-animation-name: fadeInLeft;
-moz-animation-name: fadeInLeft;
-o-animation-name: fadeInLeft;
animation-name: fadeInLeft;
-webkit-animation-fill-mode: both;
-moz-animation-fill-mode: both;
-o-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation-duration: 0.8s;
-moz-animation-duration: 0.8s;
-o-animation-duration: 0.8s;
animation-duration: 0.8s;
-webkit-animation-delay: 0.8s;
-moz-animation-delay: 0.8s;
-o-animation-duration: 0.8s;
animation-delay: 0.8s;
}
/* css for cards within the cards carousels */
.cardBackgroundImage {
width: 100%;
border-radius: 5px;
height: 100%;
position: absolute;
object-fit: cover;
}
.cardFooter {
background: rgba(56, 53, 60, 0.86);
border-radius: 0px 0px 5px 5px;
position: absolute;
z-index: 3;
color: white;
bottom: 0;
width: 100%;
height: 30%;
word-wrap: break-word;
padding: 1px;
}
.cardTitle {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 90%;
/* height: 40%; */
display: inline-block;
margin-bottom: 1px;
font-size: 15px;
/* font-weight: 600; */
padding: 5px;
/* color:#060dcfc7; */
color: #ffffff;
cursor: pointer;
}
.cardDescription {
padding: 5px;
font-size: 13px;
color: white;
line-height: 15px;
}
/*css for dropDown messages*/
.dropDownMsg {
float: left;
margin-top: 5px;
background: white;
color: black;
box-shadow: 2px 3px 9px 0px #9a82842e;
margin-left: 0.5em;
padding: 10px;
border-radius: 1.5em;
max-width: 60%;
min-width: 25%;
font-size: 13px;
word-wrap: break-word;
}
.dropDownMsg > select {
border: 0px solid #f2f2f2;
}
/* css for quick replies */
/* ehzawad */
.quickReplies {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 5px;
padding: 12px;
border-radius: 8px;
max-width: 100%;
overflow-x: visible;
}
.quickReplies::-webkit-scrollbar {
width: 0 !important;
}
.quickReplies.active {
cursor: grabbing;
cursor: -webkit-grabbing;
transform: scale(1);
}
/* ehzawad */
.chip {
background-color: transparent;
border: 1px solid #67b26f;
color: #67b26f;
border-radius: 10px;
padding: 5px;
font-size: 13px;
cursor: pointer;
transition: all 0.3s ease;
display: inline-block;
line-height: 1.3em;
}
.chip:hover,
.chip:focus{
background-color: #4ca2cd;
color: white;
}
/* css for charts */
#expand:hover {
font-size: 18px;
}
#expand {
position: absolute;
right: 10px;
top: 10px;
}
.modal {
height: 60%;
border-radius: 10px;
}
.chart-container {
position: relative;
height: 25vh;
width: 90%;
border-radius: 10px 10px 10px 10px;
background: white;
box-shadow: 2px 3px 9px 0 #9a82847a;
margin: 5px auto auto 5%;
}
/* css for collapsible */
.collapsible {
margin-top: 5px;
margin-left: 5%;
max-width: 60%;
min-width: 25%;
font-size: 13px;
word-wrap: break-word;
border-radius: 20px;
background: white;
}
.collapsible-body {
padding: 15px;
}
.collapsible-header {
font-weight: bold;
color: #f1852d;
}
ul.collapsible > li:first-child .collapsible-header {
border-radius: 20px 20px 0px 0px;
}
ul.collapsible > li:last-child .collapsible-header {
color: #f1852d;
border-radius: 0 0 20px 20px;
}
ul.collapsible > li:last-child .collapsible-body {
border-bottom: none;
}
.collapsible-header {
padding: 10px;
}
/* css for botTyping */
.botTyping {
float: left;
margin-top: 5px;
background: #e3e7ee;
color: #000000;
/* box-shadow: 2px 3px 9px 0px #9a82847a; */
margin-left: 0.5em;
padding: 15px;
border-radius: 5px 20px 20px 20px;
max-width: 60%;
min-width: 20%;
word-wrap: break-word;
border-radius: 5px 20px 20px 20px;
}
.botTyping > div {
width: 10px;
height: 10px;
background-color: #f1852d;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
margin-right: 5px;
}
.botTyping .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.botTyping .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale(0);
}
40% {
-webkit-transform: scale(1);
}
}
@keyframes sk-bouncedelay {
0%,
80%,
100% {
-webkit-transform: scale(0);
transform: scale(0);
}
40% {
-webkit-transform: scale(1);
transform: scale(1);
}
}
input:focus {
outline: none;
}
video:focus {
outline: none;
}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 90%;
height: 100%;
margin-left: 5%;
border-radius: 10px;
border-style: none;
}
/* Bot pop-up intro */
.tap-target {
color: #fff;
background: #f1852d;
}
.pdf_attachment {
border: 0.5px solid #00000014;
width: 60%;
height: 14%;
border-radius: 10px;
margin-left: 10%;
box-shadow: 2px 3px 9px 0px #9a82842e;
}
.pdf_icon {
border-radius: 10px 0px 0px 10px;
height: 100%;
font-size: 25px;
padding: 7% !important;
background-color: #f1852d;
color: white;
}
.pdf_link {
padding: 5% !important;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.pdf_link a {
color: #f1852d;
}
.g-powered-by {
display: block;
text-align: center;
background-color: inherit;
border-radius: 0 0 10px 10px;
}
.g-powered-by small {
color: #959595;
}
.g-powered-by small span {
color: crimson;
}
/*============================
Text Animation
============================*/
.g-text-animation {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
position: fixed;
left: 0;
right: 0;
bottom: 0;
top: 0;
text-align: center;
padding: 1rem;
}
.line {
max-width: 800px;
flex-basis: 50%;
font-size: 40px;
color: #ffffff;
letter-spacing: 10px;
position: absolute;
opacity: 0;
font-weight: 800;
z-index: 3;
text-transform: uppercase;
font-family: 'Roboto', sans-serif;
}
@media all and (max-width: 767px) {
.line {
max-width: 800px;
flex-basis: 50%;
font-size: 20px;
color: #ffffff;
letter-spacing: 10px;
position: absolute;
opacity: 0;
font-weight: 800;
z-index: 3;
text-transform: uppercase;
}
}
/*ehzawad carosel*/
.carousel {
position: relative;
width: 100%;
overflow: initial;
padding: 20px 0;
margin-bottom: 20px;
max-height: 600px;
}
.carousel-inner {
display: flex;
overflow-x: auto;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* Internet Explorer 10+ */
padding: 10px;
}
.carousel-inner::-webkit-scrollbar {
display: none; /* WebKit */
}
/* .carousel-card {
flex: 0 0 auto;
width: 280px;
margin-right: 20px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
background-color: white;
} */
.carousel-card {
flex: 0 0 auto;
width: 280px;
margin-right: 20px;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
background-color: #ffffff;
border: 1px solid #e0e0e0;
}
.carousel-card-image {
width: 100%;
}
/* .carousel-card-content {
padding: 10px;
}
.carousel-card-title {
margin: 0 0 10px;
font-size: 18px;
font-weight: bold;
}
.carousel-card-subtitle {
margin: 0 0 15px;
font-size: 14px;
color: #666;
} */
.carousel-card-content {
padding: 15px;
background-color: #ffffff;
border-top: 1px solid #e0e0e0;
}
.carousel-card-title {
margin: 0 0 10px;
font-size: 18px;
font-weight: bold;
color: #333333;
}
.carousel-card-subtitle {
margin: 0 0 15px;
font-size: 14px;
color: #666666;
}
.carousel-card-buttons {
display: flex;
flex-wrap: wrap;
gap: 10px;
flex-direction: column;
}
/* .carousel-button {
padding: 8px 12px;
background-color: transparent;
color: #1eadff;
border: 1px solid #1eadff;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
transition: background-color 0.3s, color 0.3s;
} */
/* .carousel-button:hover {
background-color: #1eadff;
color: #ffffff;
}
.carousel-button:active {
background-color: #1eadff;
color: #ffffff;
}
.carousel-button:focus {
outline: none;
box-shadow: 0 0 0 2px rgba(30, 173, 255, 0.5);
} */
.carousel-button {
padding: 10px 15px;
background-color: #ffffff;
color: #1eadff;
border: 2px solid #1eadff;
border-radius: 4px;
cursor: pointer;
font-size: 14px;
font-weight: bold;
transition: all 0.3s ease;
margin: -3px 0;
width: 100%;
text-align: center;
}
.carousel-button:hover, .carousel-button:active, .carousel-button:focus {
background-color: #1eadff;
color: #ffffff;
outline: none;
box-shadow: 0 0 0 2px rgba(30, 173, 255, 0.5);
}
.carousel-button.clicked {
background-color: #1eadff;
color: #ffffff;
}
.carousel-control {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(0,0,0,0.5);
color: white;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
transition: background-color 0.3s;
}
.carousel-control:hover {
background-color: rgba(0,0,0,0.7);
}
.carousel-control.prev {
left: 10px;
}
.carousel-control.next {
right: 10px;
}
.carousel-button.primary {
background-color: #4CAF50;
color: #ffffff;
border-color: #4CAF50;
}
.carousel-button.primary:hover, .carousel-button.primary:active, .carousel-button.primary:focus {
background-color: #45a049;
border-color: #45a049;
}
.cardButtons {
margin-top: 10px;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.cardButtons button {
background: #f1852d;
color: white;
border: none;
padding: 5px 10px;
margin: 2px;
border-radius: 5px;
cursor: pointer;
font-size: 12px;
flex-grow: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.cardButtons button:hover {
background: #e67e22;
}
.carousel_cards {
width: 200px; /* Adjust as needed */
margin-right: 10px;
}
.cardFooter {
padding: 10px;
}
.cardTitle {
font-weight: bold;
margin-bottom: 5px;
display: block;
}
.cardDescription {
font-size: 12px;
color: #666;
margin-bottom: 10px;
}
/* Custom Table Style*/
table#g-table {
border-collapse: collapse;
font-family: sans-serif;
font-size: 0.8rem;
letter-spacing: 1px;
width: 290px;
margin-left: 10px;
margin-bottom: 10px;
}
#g-table thead{
background-color: #58a9a4;
color: #ffffff;
font-size: 11px;
font-weight: bold;
}
#g-table caption {
caption-side: bottom;
padding: 5px;
font-weight: bold;
}
#g-table thead,
#g-table tfoot {
}
#g-table th,
#g-table td {
border: 1px solid #58a9a4;
padding: 3px;
}
#g-table td:last-of-type {
text-align: center;
}
#g-table tbody tr:nth-of-type(even) {
background-color: rgb(237 238 242);
}
#g-table tfoot th {
text-align: right;
}
#g-table tfoot td {
font-weight: bold;
}
.g-table-responsive {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment