12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277 |
- // app-title.scss
- // Componant: Page Title
- .app-title {
- display: flex;
- align-items: center;
- justify-content: space-between;
- flex-direction: row;
- background-color: #FFF;
- margin: (-30px) -30px 30px;
- padding: 20px 30px;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
- @media print { display: none; }
- @media (max-width: 480px) {
- margin: (-15px) -15px 15px;
- padding: 20px;
- flex-direction: column;
- align-items: flex-start;
- }
- h1 {
- margin: 0;
- font-size: 24px;
- font-weight: 400;
- }
- p {
- margin-bottom: 0;
- font-style: normal;
- @media (max-width: 480px) { display: none; }
- }
- }
- .app-breadcrumb {
- margin-bottom: 0;
- text-align: right;
- font-weight: 500;
- font-size: 13px;
- text-transform: capitalize;
- padding: 0;
- text-align: left;
- padding: 0;
- background-color: transparent;
- @media (max-width: 480px) { margin-top: 10px; }
- }
- // button.scss
- // Componant: Dropdown
- // Updated styles for bootstrap dropdown
- //.btn {
- // //cursor: pointer;
- // //&:not([disabled]):not(.disabled):not(.btn-link):hover,
- // //&:not([disabled]):not(.disabled):not(.btn-link):focus {
- // // text-decoration: none;
- // // //transform: translate3d(0, -1px, 0);
- // // //box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
- // //}
- // //&[disabled] { cursor: not-allowed; }
- // //.icon,
- // //.fa {
- // // font-size: 14px;
- // // margin-right: 5px;
- // // vertical-align: middle;
- // //}
- //}
- // button-spinner.scss
- // Componant: Button Loader
- .btn-spinner {
- display: inline-block;
- z-index: 2000;
- width: 15px;
- height: 15px;
- position: relative;
- top: 2px;
- margin-right: 5px;
- border: solid 2px transparent;
- border-top-color: #fff;
- border-left-color: #fff;
- border-radius: 10px;
- animation: bSpinner 0.8s linear infinite;
- }
- @keyframes bSpinner {
- 0% { transform: rotate(0deg) }
- 100% { transform: rotate(360deg) }
- }
- // chat.scss
- // Componant: ChatBox
- .messanger {
- display: flex;
- flex-direction: column;
- .messages {
- flex: 1;
- margin: 10px 0;
- padding: 0 10px;
- max-height: 260px;
- overflow-y: auto;
- overflow-x: hidden;
- .message {
- display: flex;
- margin-bottom: 15px;
- align-items: flex-start;
- &.me {
- flex-direction: row-reverse;
- img {
- margin-right: 0;
- margin-left: 15px;
- }
- .info {
- background-color: $blue;
- color: $white;
- &:before {
- display: none;
- }
- &:after {
- position: absolute;
- right: -13px;
- top: 0;
- content: "";
- width: 0;
- height: 0;
- border-style: solid;
- border-width: 0 16px 16px 0;
- border-color: transparent $blue transparent transparent;
- transform: rotate(270deg);
- }
- }
- }
- img {
- border-radius: 50%;
- margin-right: 15px;
- }
- .info {
- margin: 0;
- background-color: #ddd;
- padding: 5px 10px;
- border-radius: 3px;
- position: relative;
- align-self: flex-start;
- &:before {
- position: absolute;
- left: -14px;
- top: 0;
- content: "";
- width: 0;
- height: 0;
- border-style: solid;
- border-width: 0 16px 16px 0;
- border-color: transparent #ddd transparent transparent;
- }
- }
- }
- }
- .sender {
- display: flex;
- input[type="text"] {
- flex: 1;
- border: 1px solid $blue;
- outline: none;
- padding: 5px 10px;
- }
- button { border-radius: 0; }
- }
- }
- // custom-radio-n-checkbox
- /* Custom Checkbox and Radio Buttons */
- .animated-checkbox {
- input[type="checkbox"] {
- display: none;
- + .label-text {
- cursor: pointer !important;
- user-select: none;
- &:before {
- content: "";
- font-family: "FontAwesome";
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- font-size: 18px;
- -webkit-font-smoothing: antialiased;
- width: 1em;
- display: inline-block;
- margin-right: 2px;
- vertical-align: -2px;
- }
- }
- &:checked + .label-text:before {
- content: "";
- color: $blue;
- animation: tick 180ms ease-in;
- }
- &:disabled + .label-text {
- cursor: not-allowed !important;
- &:before {
- content: "";
- color: #ccc;
- }
- }
- }
- }
- .animated-radio-button {
- input[type="radio"] {
- display: none;
- + .label-text {
- cursor: pointer !important;
- user-select: none;
- &:before {
- content: "";
- font-family: "FontAwesome";
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- font-size: 18px;
- -webkit-font-smoothing: antialiased;
- width: 1em;
- display: inline-block;
- margin-right: 2px;
- vertical-align: -2px;
- }
- }
- &:checked + .label-text:before {
- content: "";
- color: $blue;
- animation: tick 180ms ease-in;
- }
- &:disabled + .label-text {
- cursor: not-allowed !important;
- &:before {
- content: "";
- color: #ccc;
- }
- }
- }
- }
- // Bounce the checked checkbox and radio button
- @keyframes tick {
- 0% {
- transform: scale(0);
- }
- 90% {
- transform: scale(1.4);
- }
- 100% {
- transform: scale(1);
- }
- }
- // dropdown
- // Componant: Dropdown
- // Updated styles for bootstrap dropdown
- .dropdown-menu {
- border-radius: 0;
- box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
- &.dropdown-menu-right {
- left: auto;
- right: 0;
- }
- }
- .dropdown-item {
- i{
- color: $blue;
- }
- &:focus, &:hover{
- color: $white;
- text-decoration: none;
- background-color: $blue;
- i{
- color: $white;
- }
- }
- .fa,
- .icon {
- margin-right: 5px;
- vertical-align: middle;
- }
- }
- // header
- /*----- Componant: Top Navigation Bar ----- */
- .app-header {
- position: fixed;
- left: 0;
- right: 0;
- top: 0;
- width: 100%;
- display: flex;
- background-color: $blue;
- z-index: 1030;
- padding-right: 15px;
- @media(min-width: 768px) { padding-right: 30px }
- @media print { display: none; }
- }
- .app-header__logo {
- flex: 1 0 auto;
- color: #fff;
- text-align: center;
- font-family: 'Niconne';
- padding: 0 15px;
- font-size: 26px;
- font-weight: 400;
- line-height: 50px;
- @media(min-width: 768px) {
- flex: 0 0 auto;
- display: block;
- width: $sidebar-width;
- @if $sidebar-accent == dark {
- background-color: darken( $blue, 5% );
- }
- @if $sidebar-accent == light {
- background-color: lighten( $blue, 5% );
- }
- }
- &:focus,
- &:hover {
- text-decoration: none;
- color: #fff;
- }
- }
- .app-sidebar__toggle {
- padding: 0 15px;
- font-family: fontAwesome;
- color: #fff;
- line-height: 2.4;
- transition: background-color 0.3s ease;
- @media(max-width: 767px) { order: -1; }
- &:before {
- content: "\f0c9";
- font-size: 21px;
- }
- &:focus,
- &:hover {
- color: #fff;
- background-color: darken($blue, 10);
- text-decoration: none;
- }
- }
- .app-nav {
- @extend .list-unstyled;
- display: flex;
- margin-bottom: 0;
- justify-content: flex-end;
- @media(min-width: 768px) { flex: 1 0 auto; }
- }
- .app-nav__item {
- display: block;
- padding: 15px;
- line-height: 20px;
- color: #fff;
- transition: background-color 0.3s ease;
- &:hover,
- &:focus {
- background: rgba(0, 0, 0, 0.1);
- color: #f6f6f6;
- }
- }
- .app-search {
- position: relative;
- display: flex;
- align-self: center;
- margin-right: 15px;
- padding: 10px 0;
- @media(max-width: 480px) { display: none; }
- }
- .app-search__input {
- border: 0;
- padding: 5px 10px;
- padding-right: 30px;
- border-radius: 2px;
- background-color: rgba(255,255,255,0.8);
- transition: background-color 0.3s ease;
- &::placeholder { color: rgba(0,0,0,0.4); }
- }
- .app-search__button {
- position: absolute;
- right: 0;
- top: 10px;
- bottom: 10px;
- padding: 0 10px;
- border: 0;
- color: $blue;
- background: none;
- cursor: pointer;
- }
- .app-notification { min-width: 270px; }
- .app-notification__title {
- padding: 8px 20px;
- text-align: center;
- background-color: transparentize($blue, 0.6);
- color: #333;
- }
- .app-notification__footer {
- padding: 8px 20px;
- text-align: center;
- background-color: #eee;
- }
- .app-notification__content {
- max-height: 220px;
- overflow-y: auto;
- &::-webkit-scrollbar { width: 6px; }
- &::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); }
- }
- .app-notification__item {
- display: flex;
- padding: 8px 20px;
- color: inherit;
- border-bottom: 1px solid #ddd;
- transition: background-color 0.3s ease;
- &:focus,
- &:hover {
- color: inherit;
- text-decoration: none;
- background-color: #e0e0e0;
- }
- }
- .app-notification__message,
- .app-notification__meta {
- margin-bottom: 0;
- }
- .app-notification__icon { padding-right: 10px; }
- .app-notification__message { line-height: 1.2; }
- .app-notification__meta { @extend .text-muted; }
- // material-half-bg
- // Componant: Material Half cover background
- //-------------------------------------------------
- .material-half-bg {
- height: 100vh;
- background-color: #e7e7e7;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- z-index: -1;
- .cover {
- background-color: $blue;
- height: 50vh;
- }
- }
- // material-loader
- // Componant: Material Loader
- .m-loader {
- position: relative;
- width: 40px;
- &:before {
- content: '';
- display: block;
- padding-top: 100%;
- }
- }
- .m-circular {
- animation: rotate 1.5s linear infinite;
- height: 100%;
- transform-origin: center center;
- width: 100%;
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- margin: auto;
- }
- .path {
- stroke-dasharray: 1,200;
- stroke-dashoffset: 0;
- stroke: $blue;
- animation: dash 1.5s ease-in-out infinite;
- stroke-linecap: round;
- }
- @keyframes rotate {
- 100% { transform: rotate(360deg); }
- }
- @keyframes dash {
- 0% {
- stroke-dasharray: 1,200;
- stroke-dashoffset: 0;
- }
- 50% {
- stroke-dasharray: 89,200;
- stroke-dashoffset: -35px;
- }
- 100% {
- stroke-dasharray: 89,200;
- stroke-dashoffset: -124px;
- }
- }
- // Usage Example
- // <div class="m-loader mr-20">
- // <svg class="m-circular" viewBox="25 25 50 50">
- // <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="4" stroke-miterlimit="10"></circle>
- // </svg>
- // </div>
- // rtl
- // Componant: RTL
- // Right to left support
- [dir=rtl] {
- body {
- text-align: right;
- direction: rtl;
- }
- .app-sidebar {
- left: auto;
- right: 0;
- }
- .app-sidebar__user-avatar {
- margin-left: 15px;
- margin-right: 0;
- }
- .dropdown-menu.dropdown-menu-right {
- right: auto;
- left: 0;
- }
- .list-unstyled,
- .app-nav,
- .app-menu,
- .user .user-tabs,
- .treeview-menu {
- padding-right: 0;
- }
- .btn .icon,
- .btn .fa,
- .treeview-item .icon {
- margin-right: 0;
- margin-left: 5px;
- }
- .modal-header .close {
- margin-left: 0;
- margin-right: auto;
- }
- .modal-footer > :not(:last-child) {
- margin-right: 0;
- margin-left: 0.25rem;
- }
- .widget-small .icon { border-radius: 0 4px 4px 0; }
- .user .timeline-post .post-media img {
- margin-right: 0;
- margin-left: 10px;
- }
- table.table-bordered.dataTable th:last-child,
- table.table-bordered.dataTable th:last-child,
- table.table-bordered.dataTable td:last-child,
- table.table-bordered.dataTable td:last-child {
- border-right-width: 1px;
- }
- @media(min-width: 768px) {
- .app-header {
- padding-right: 0;
- padding-left: 30px;
- }
- .app-content {
- margin-left: 0;
- margin-right: 230px;
- transition: margin-right 0.3s ease;
- }
- .sidebar-mini.sidenav-toggled .app-content {
- margin-left: 0;
- margin-right: 50px;
- }
- .sidebar-mini.sidenav-toggled .app-menu__label,
- .sidebar-mini.sidenav-toggled .treeview-menu {
- left: auto;
- right: 50px;
- }
- .sidebar-mini.sidenav-toggled .treeview .app-menu__label {
- border-top-left-radius: 4px;
- border-top-right-radius: 0;
- border-bottom-left-radius: 0;
- }
- .sidebar-mini.sidenav-toggled .treeview-menu {
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 4px;
- }
- .sidebar-mini.sidenav-toggled .app-menu__label {
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- }
- }
- @media(max-width: 768px) {
- .app.sidenav-toggled .app-sidebar {
- left: auto;
- right: 0;
- }
- .app .app-sidebar {
- left: auto;
- right: -230px;
- }
- }
- }
- // sidebar
- // Componant: Sidebar
- .app-sidebar {
- position: fixed;
- top: 0;
- bottom: 0;
- left: 0;
- padding-top: 70px;
- width: $sidebar-width;
- overflow: auto;
- z-index: 10;
- //background-color: $sidebar-color;
- background-color: $sidebar-bg;
- box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.2);
- transition: left 0.3s ease,
- width 0.3s ease;
- &::-webkit-scrollbar { width: 6px; }
- &::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); }
- @media print { display: none; }
- }
- .app-sidebar__overlay {
- @media(max-width: 767px) {
- position: fixed;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- z-index: 9;
- }
- }
- .app-sidebar__user {
- display: flex;
- align-items: center;
- padding: 10px;
- margin-bottom: 20px;
- @if $sidebar-accent == dark {
- color: #fff;
- }
- }
- .app-sidebar__user-avatar {
- @extend .rounded-circle;
- flex: 0 0 auto;
- margin-right: 15px;
- }
- .app-sidebar__user-name {
- font-size: 17px;
- line-height: 1.3;
- }
- .app-sidebar__user-name,
- .app-sidebar__user-designation {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- margin-bottom: 0;
- }
- .app-menu {
- @extend .list-unstyled;
- margin-bottom: 0;
- padding-bottom: 40px;
- }
- .app-menu__item {
- position: relative;
- display: flex;
- align-items: center;
- padding: 12px 15px;
- font-size: 1.08em;
- border-left: 3px solid transparent;
- transition: border-left-color 0.3s ease,
- background-color 0.3s ease;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $sidebar-light-link-color }
- //&.active,
- &:hover{
- //background: darken($sidebar-color, 5);
- background: $sidebar-hover-bg;
- //background: $sidebar-color;
- border-left-color: $blue;
- text-decoration: none;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $blue }
- }
- &.active,
- &:focus {
- //background: darken($sidebar-color, 5);
- background: $blue;
- //background: $sidebar-color;
- border-left-color: $blue;
- text-decoration: none;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $white }
- }
- }
- .app-menu__icon {
- flex: 0 0 auto;
- width: 25px;
- }
- .app-menu__label {
- white-space: nowrap;
- flex: 1 1 auto;
- }
- .treeview {
- &.is-expanded {
- [data-toggle='treeview'] {
- border-left-color: $blue;
- //background: darken($sidebar-color, 10);
- //background: lighten(#3c3f42, 30);
- background: $blue;
- &:hover {
- border-left-color: $blue;
- background: $sidebar-hover-bg;
- color: $blue;
- }
- }
- .treeview-menu { max-height: 100vh; }
- .treeview-indicator { transform: rotate(-90deg); }
- }
- }
- .treeview-menu {
- @extend .list-unstyled;
- max-height: 0;
- overflow: hidden;
- transition: max-height 0.3s ease;
- @if $sidebar-accent == dark {
- background: lighten($sidebar-color, 4)
- }
- @if $sidebar-accent == light {
- //background: darken($sidebar-color, 4)
- background:lighten(#3c3f42, 10);
- }
- }
- .treeview-item {
- display: flex;
- align-items: center;
- padding: 5px 5px 5px 20px;
- font-size: 1em;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $sidebar-light-link-color }
- &:hover {
- //background: darken($sidebar-color, 10);
- background: $sidebar-hover-bg;
- border-left: 3px solid $blue;
- text-decoration: none;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $blue }
- }
- &.active ,&:focus{
- //background: darken($sidebar-color, 10);
- background: $blue;
- border-left-color: $blue;
- text-decoration: none;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $white }
- }
- .icon { margin-right: 5px; }
- }
- .treeview-indicator {
- transform-origin: center;
- transition: transform 0.3s ease;
- }
- // sidebar-mini
- // Componant: Sidebar Mini
- @media (min-width: 768px) {
- .sidebar-mini.sidenav-toggled {
- .app-sidebar__user-name,
- .app-sidebar__user-designation,
- .treeview-indicator {
- display: none;
- }
- .app-sidebar__user-avatar {
- width: 30px;
- height: 30px;
- }
- .app-content { margin-left: 50px; }
- .app-sidebar {
- left: 0;
- width: 50px;
- overflow: hidden;
- &:hover { overflow: visible; }
- }
- .app-menu__item {
- overflow: hidden;
- &:hover {
- overflow: visible;
- .app-menu__label { opacity: 1; }
- & + .treeview-menu { visibility: visible; }
- }
- }
- .app-menu__label {
- display: block;
- position: absolute;
- top: 0;
- left: 50px;
- min-width: 180px;
- padding: 12px 5px 12px 20px;
- margin-left: -3px;
- line-height: 1;
- opacity: 0;
- //background: darken($sidebar-color, 10);
- background: $blue;
- color: $white;
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- }
- .treeview {
- &:hover {
- .app-menu__item {
- overflow: visible;
- //background: darken($sidebar-color, 10);
- background: $sidebar-hover-bg;
- @if $sidebar-accent == dark { color: $sidebar-dark-link-color }
- @if $sidebar-accent == light { color: $blue }
- }
- .app-menu__label { opacity: 1; }
- .treeview-menu {
- max-height: 100vh;
- opacity: 1;
- visibility: visible;
- z-index: 10;
- }
- }
- .app-menu__label { border-bottom-right-radius: 0; }
- }
- .treeview-menu {
- position: absolute;
- left: 50px;
- min-width: 180px;
- padding: 12px 0;
- opacity: 0;
- border-bottom-right-radius: 4px;
- z-index: 9;
- visibility: hidden;
- transition: visibility 0.3s ease;
- }
- }
- }
- // tile
- // Componant: Card
- .tile {
- position: relative;
- background: #ffffff;
- border-radius: 3px;
- padding: 20px;
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
- margin-bottom: 30px;
- transition: all 0.3s ease-in-out;
- @media print {
- border: 1px solid #ddd;
- }
- &.small { padding: 0; }
- .overlay {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- background-color: rgba(255, 255, 255, 0.9);
- display: flex;
- align-items: center;
- justify-content: center;
- flex-direction: row;
- color: #555;
- border-radius: 3px;
- .l-text {
- font-size: 24px;
- margin-top: 15px;
- }
- }
- .tile-title {
- margin-top: 0;
- margin-bottom: 20px;
- font-size: 1.5rem;
- }
- .tile-title-w-btn {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 20px;
- p { margin: 0; }
- .title { margin: 0; }
- .side {
- margin-bottom: 0;
- padding-left: 0;
- }
- .btn-group { flex: 0 0 auto; }
- }
- .tile-footer {
- border-top: 1px solid #ddd;
- padding: 20px 0 0 0;
- margin-top: 10px;
- }
- }
- // toggle-button
- // Componant: Toggle Button
- .toggle {
- &.lg {
- input[type="checkbox"] + .button-indecator:before {
- font-size: 30px;
- }
- }
- input[type="checkbox"] {
- display: none;
- + .button-indecator {
- cursor: pointer;
- display: block;
- user-select: none;
- &:before {
- content: "";
- font-family: "FontAwesome";
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
- font-size: 25px;
- -webkit-font-smoothing: antialiased;
- display: inline-block;
- margin-right: 5px;
- vertical-align: -2px;
- }
- }
- &:checked + .button-indecator:before {
- content: "";
- color: $blue;
- animation: toggleBtn 0.3s ease-in-out;
- }
- &:disabled + .button-indecator {
- cursor: not-allowed !important;
- &:before {
- color: #ccc;
- }
- }
- }
- }
- .toggle-flip {
- input[type="checkbox"] {
- display: none;
- + .flip-indecator {
- position: relative;
- width: 60px;
- height: 30px;
- display: block;
- cursor: pointer;
- user-select: none;
- perspective: 90px;
- &:before, &:after {
- position: absolute;
- top: 0;
- left: 0;
- display: inline-block;
- width: 100%;
- line-height: 30px;
- backface-visibility: hidden;
- text-align: center;
- border-radius: 3px;
- transition: all 0.5s ease;
- }
- &:before {
- content: attr(data-toggle-off);
- background-color: #ddd;
- }
- &:after {
- content: attr(data-toggle-on);
- background-color: $blue;
- color: #fff;
- transform: rotateY(-180deg);
- }
- }
- &:checked {
- + .flip-indecator {
- &:before {
- transform: rotateY(180deg);
- }
- &:after {
- transform: rotateY(0deg);
- }
- }
- }
- &:disabled + .flip-indecator {
- cursor: not-allowed !important;
- color: #ccc;
- }
- }
- }
- // Slide the toggle button
- @keyframes toggleBtn {
- 0% {
- opacity: 0;
- transform: translateX(-1px);
- }
- 100% {
- opacity: 1;
- transform: translateX(0);
- }
- }
- // widgets
- // Componant: Widget
- .widget-small {
- display: flex;
- border-radius: 4px;
- color: $white;
- margin-bottom: 30px;
- box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
- .icon {
- display: flex;
- min-width: 85px;
- align-items: center;
- justify-content: center;
- padding: 20px;
- background-color: rgba(0, 0, 0, 0.2);
- border-radius: 4px 0 0 4px;
- font-size: 2.5rem;
- }
- .info {
- flex: 1;
- padding: 0 20px;
- align-self: center;
- h4 {
- text-transform: uppercase;
- margin: 0;
- margin-bottom: 5px;
- font-weight: 400;
- font-size: 1.1rem;
- }
- p {
- margin: 0;
- font-size: 16px;
- }
- }
- &.primary {
- background-color: $blue;
- &.coloured-icon {
- background-color: #fff;
- color: #2a2a2a;
- .icon {
- background-color: $blue;
- color: #fff;
- }
- }
- }
- &.info {
- background-color: theme-color("info");
- &.coloured-icon {
- background-color: #fff;
- color: #2a2a2a;
- .icon {
- background-color: theme-color("info");
- color: #fff;
- }
- }
- }
- &.warning {
- background-color: theme-color("warning");
- &.coloured-icon {
- background-color: #fff;
- color: #2a2a2a;
- .icon {
- background-color: theme-color("warning");
- color: #fff;
- }
- }
- }
- &.danger {
- background-color: theme-color("danger");
- &.coloured-icon {
- background-color: #fff;
- color: #2a2a2a;
- .icon {
- background-color: theme-color("danger");
- color: #fff;
- }
- }
- }
- }
- // style input search-cancel-button in panel page
- input[type="search"]::-webkit-search-cancel-button {
- -webkit-appearance: none;
- height: 13px;
- width: 13px;
- background: url("data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='purple' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='purple' stroke-width='2'/%3e%3c/svg%3e");
- }
- input[type="search"]{
- height: 30px;
- }
- .style-bg-search{
- &:focus{
- background: rgba(255, 255, 255, 0.8);
- }
- }
- .gallery_files,
- .attachments{
- .gallery_file_upload,
- .attachment_file_upload{
- padding: 1em;
- border-radius: 3px;
- direction: ltr;
- text-align: left;
- position: relative;
- .delete_file{
- display: block;
- position: absolute;
- top: 1px;
- right: 1px;
- width: 24px;
- height: 24px;
- text-align: center;
- line-height: 26px;
- border-radius: 50%;
- cursor: pointer;
- &:hover{
- }
- }
- &:nth-child(odd){
- }
- .uploaded_file_thumbnail{
- img{
- width: 100px;
- height: 100px;
- padding: 0.1em;
- border-radius: 3px;
- margin-right: 1em;
- }
- }
- }
- }
|