mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/IZYIM-mobile-client.git
synced 2026-08-19 20:34:10 +00:00
99 lines
2.0 KiB
CSS
99 lines
2.0 KiB
CSS
/*-------------------------------------------------------------------
|
|
[27. Tab]
|
|
-------------------------------------------------------------------*/
|
|
|
|
/* Style the tab */
|
|
.tab {
|
|
overflow: hidden;
|
|
border: 1px solid #ccc;
|
|
background-color: #f1f1f1;
|
|
}
|
|
|
|
/* Style the buttons inside the tab */
|
|
.tab button {
|
|
background-color: inherit;
|
|
float: left;
|
|
border: none;
|
|
outline: none;
|
|
cursor: pointer;
|
|
padding: 14px 16px;
|
|
transition: 0.3s;
|
|
font-size: 17px;
|
|
width: 50%;
|
|
}
|
|
|
|
/* Change background color of buttons on hover */
|
|
.tab button:hover {
|
|
background-color: #ddd;
|
|
}
|
|
|
|
/* Create an active/current tablink class */
|
|
.tab button.active {
|
|
background-color: #ccc;
|
|
}
|
|
|
|
/* Style the tab content */
|
|
.tabcontent {
|
|
display: none;
|
|
padding: 6px 12px;
|
|
-webkit-animation: fadeEffect 1s;
|
|
animation: fadeEffect 1s;
|
|
color: black;
|
|
}
|
|
|
|
/* Fade in tabs */
|
|
@-webkit-keyframes fadeEffect {
|
|
from {opacity: 0;}
|
|
to {opacity: 1;}
|
|
}
|
|
|
|
@keyframes fadeEffect {
|
|
from {opacity: 0;}
|
|
to {opacity: 1;}
|
|
}
|
|
/*end of part 28----------------------------------------------------*/
|
|
|
|
/*-------------------------------------------------------------------
|
|
[27. Table and Collapsible]
|
|
-------------------------------------------------------------------*/
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
width: 100%;
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
th, td {
|
|
text-align: left;
|
|
padding: 8px;
|
|
font-family: Nunito;
|
|
}
|
|
|
|
tr:nth-child(even){background-color: #f2f2f2}
|
|
|
|
.collapsible {
|
|
background-color: #f8f8f8;
|
|
color: #069;
|
|
cursor: pointer;
|
|
padding: 18px;
|
|
width: 100%;
|
|
border: none;
|
|
text-align: left;
|
|
outline: none;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.active-col, .collapsible:hover { /*.active tukar yang ni je*/
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.content {
|
|
padding:18px;
|
|
display: none;
|
|
overflow: hidden;
|
|
background-color: #fff;
|
|
color: #000;
|
|
}
|
|
/*end of part 28----------------------------------------------------*/ |