Archive: Namaste PHP AMQP framework v1.0 (2017-2020)

952 days continuous production uptime, 40k+ tp/s single node.
Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
2026-04-05 09:49:30 -07:00
commit 373ebc8c93
1284 changed files with 409372 additions and 0 deletions

View File

@@ -0,0 +1,305 @@
/*!
* animate.css -http://daneden.me/animate
* Version - 3.6.0
* Licensed under the MIT license - http://opensource.org/licenses/MIT
*
* Copyright (c) 2018 Daniel Eden
*/
.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
.animated.infinite {
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}
@-webkit-keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fadeIn {
-webkit-animation-name: fadeIn;
animation-name: fadeIn;
}
@-webkit-keyframes fadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.fadeInDown {
-webkit-animation-name: fadeInDown;
animation-name: fadeInDown;
}
@-webkit-keyframes fadeInLeft {
from {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInLeft {
from {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.fadeInLeft {
-webkit-animation-name: fadeInLeft;
animation-name: fadeInLeft;
}
@-webkit-keyframes fadeInRight {
from {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInRight {
from {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.fadeInRight {
-webkit-animation-name: fadeInRight;
animation-name: fadeInRight;
}
@-webkit-keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.fadeInUp {
-webkit-animation-name: fadeInUp;
animation-name: fadeInUp;
}
@-webkit-keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.fadeOut {
-webkit-animation-name: fadeOut;
animation-name: fadeOut;
}
@-webkit-keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
}
@keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(0, 100%, 0);
transform: translate3d(0, 100%, 0);
}
}
.fadeOutDown {
-webkit-animation-name: fadeOutDown;
animation-name: fadeOutDown;
}
@keyframes fadeOutLeft {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
.fadeOutLeft {
-webkit-animation-name: fadeOutLeft;
animation-name: fadeOutLeft;
}
@-webkit-keyframes fadeOutRight {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
}
@keyframes fadeOutRight {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
}
}
.fadeOutRight {
-webkit-animation-name: fadeOutRight;
animation-name: fadeOutRight;
}
@-webkit-keyframes fadeOutUp {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
}
@keyframes fadeOutUp {
from {
opacity: 1;
}
to {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
}
.fadeOutUp {
-webkit-animation-name: fadeOutUp;
animation-name: fadeOutUp;
}

File diff suppressed because it is too large Load Diff

14
html/scss/free/_badges.scss Executable file
View File

@@ -0,0 +1,14 @@
// Badges
.badge {
box-shadow: $z-depth-1;
border-radius: $border-radius-base;
color: $white !important;
}
.badge-pill {
border-radius: $badge-pill-border-radius;
padding-right: $badge-pill-padding-x;
padding-left: $badge-pill-padding-x;
}
@each $name, $color in $basic-mdb-colors {
@include make-badge($name, $color);
}

122
html/scss/free/_buttons.scss Executable file
View File

@@ -0,0 +1,122 @@
// Buttons
.btn {
box-shadow: $z-depth-1;
@include button-size($btn-padding-y-basic, $btn-padding-x-basic, $btn-font-size-basic);
transition: $btn-transition;
margin: $btn-margin-basic;
border: 0;
border-radius: $border-radius-base;
cursor: pointer;
text-transform: uppercase;
white-space: normal;
word-wrap: break-word;
color: $btn-color-basic;
&:hover,
&:active,
&:focus {
box-shadow: $z-depth-1-half;
outline: 0;
}
&:not([disabled]):not(.disabled):active,
&:not([disabled]):not(.disabled).active {
box-shadow: $z-depth-1-half;
}
.fa {
position: relative;
font-size: $btn-icon-basic;
&.right {
margin-left: $btn-icon-margin;
}
&.left {
margin-right: $btn-icon-margin;
}
}
&.btn-lg {
@include button-size($btn-padding-y-large, $btn-padding-x-large, $btn-font-size-large);
.fa {
font-size: $btn-icon-large;
}
}
&.btn-md {
@include button-size($btn-padding-y-medium, $btn-padding-x-medium, $btn-font-size-medium);
.fa {
font-size: $btn-icon-medium;
}
}
&.btn-sm {
@include button-size($btn-padding-y-small, $btn-padding-x-small, $btn-font-size-small);
.fa {
font-size: $btn-icon-small;
}
}
&.btn-tb {
padding: $btn-tb-padding-y $btn-tb-padding-x;
}
&.disabled,
&:disabled {
&:active,
&:focus,
&:hover {
box-shadow: $z-depth-1;
}
}
&.btn-block {
margin: inherit;
}
&.btn-link {
@extend .black-text;
box-shadow: none;
background-color: transparent;
&:active,
&:focus,
&:hover {
box-shadow: none !important;
background-color: transparent;
}
}
&[class*="btn-outline-"] {
padding-top: $btn-outline-padding-y-basic;
padding-bottom: $btn-outline-padding-y-basic;
&.btn-lg {
padding-top: $btn-outline-padding-y-large;
padding-bottom: $btn-outline-padding-y-large;
}
&.btn-md {
padding-top: $btn-outline-padding-y-medium;
padding-bottom: $btn-outline-padding-y-medium;
}
&.btn-sm {
padding-top: $btn-outline-padding-y-small;
padding-bottom: $btn-outline-padding-y-small;
}
}
}
.btn-group {
.btn {
margin: 0;
}
}
// Overwrite default button icon size
.btn {
.fa-lg {font-size: 1.33333333em !important;}
.fa-2x {font-size: 2em !important;}
.fa-3x {font-size: 3em !important;}
.fa-4x {font-size: 4em !important;}
.fa-5x {font-size: 5em !important;}
}
@each $btn_name, $color_value in $mdb-colors {
@include make-button($btn_name, $color_value);
@include make-outline-button($btn_name, $color_value);
}
// button,
// html [type="file"] {
// -webkit-appearance: button;
// appearance: button;
// }
// button::-moz-focus-inner,
// [type="file"]::-moz-focus-inner {
// padding: 0;
// border-style: none;
// }

28
html/scss/free/_cards.scss Executable file
View File

@@ -0,0 +1,28 @@
// Cards
.card {
box-shadow: $z-depth-1;
border: 0;
font-weight: 400;
&[class*="border"] {
border: 1px solid $grey-base;
box-shadow: none;
}
.card-body {
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
}
.card-title {
a {
transition: $md-card-link-transition;
&:hover {
transition: $md-card-link-transition;
}
}
}
.card-text {
color: $md-card-text-color;
font-size: $md-card-font-size;
font-weight: 400;
}
}
}

50
html/scss/free/_carousels.scss Executable file
View File

@@ -0,0 +1,50 @@
// Carousels
.carousel {
.carousel-control-prev-icon,
.carousel-control-next-icon {
width: $carousel-control-icon-width;
height: $carousel-control-icon-height;
}
.carousel-control-prev-icon {
background-image: $carousel-control-prev-icon;
}
.carousel-control-next-icon {
background-image: $carousel-control-next-icon;
}
.carousel-indicators {
li {
width: $carousel-indicators-width;
height: $carousel-indicators-height;
border-radius: $carousel-indicators-border-radius;
cursor: pointer;
}
}
}
.carousel-fade {
.carousel-item {
opacity: 0;
transition-duration: $carousel-transition-duration;
transition-property: opacity;
}
.carousel-item.active,
.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
opacity: 1;
}
.carousel-item-left,
.carousel-item-right {
&.active {
opacity: 0;
}
}
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active,
.carousel-item-left.active,
.carousel-item-prev.active {
transform: $carousel-item-transform;
@supports (transform-style: preserve-3d) {
transform: $carousel-item-transform-2;
}
}
}

View File

@@ -0,0 +1,22 @@
// These settings will be only for one version
// Masks
.view {
.full-bg-img {
height: 100%;
}
.full-bg-img,
.full-bg-img video {
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
}
}
// Full background
.full-height,
.full-height body,
.full-height header,
.full-height header .view {
height: 100%;
}

10
html/scss/free/_dropdowns.scss Executable file
View File

@@ -0,0 +1,10 @@
// Dropdowns
.dropdown {
.dropdown-menu {
.dropdown-item {
&:active {
background-color: $grey-darken-1;
}
}
}
}

18
html/scss/free/_footers.scss Executable file
View File

@@ -0,0 +1,18 @@
// Footers
footer {
&.page-footer {
bottom: 0;
color: $white-base;
.container-fluid {
width: auto;
}
.footer-copyright {
overflow: hidden;
background-color: $footer-copyright-bg-color;
color: $footer-copyright-color;
}
a {
color: $white-base;
}
}
}

183
html/scss/free/_forms.scss Executable file
View File

@@ -0,0 +1,183 @@
// Forms basic
// Input + label wrapper styles
.md-form {
// Text inputs
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=time],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=number],
input[type=search-md],
input[type=search],
textarea.md-textarea {
// General Styles
transition: $input-transition;
outline: none;
box-shadow: none;
border: none;
border-bottom: 1px solid $input-border-color;
border-radius: 0;
box-sizing: content-box;
background-color: transparent;
// Focused input style
&:focus:not([readonly]) {
box-shadow: 0 1px 0 0 $input-md-focus-color;
border-bottom: 1px solid $input-md-focus-color;
// Focused label style
+ label {
color: $input-md-focus-color;
}
}
// Form message shared styles
+ label:after {
content: "";
position: absolute;
top: $input-label-after-top;
display: block;
opacity: 0;
transition: $input-label-after-transition;
}
// Valid input style
&.valid, &:focus.valid {
border-bottom: 1px solid $input-success-color;
box-shadow: 0 1px 0 0 $input-success-color;
}
&.valid + label:after, &:focus.valid + label:after {
content: attr(data-success);
color: $input-success-color;
opacity: 1;
}
// Invalid input style
&.invalid, &:focus.invalid {
border-bottom: 1px solid $input-error-color;
box-shadow: 0 1px 0 0 $input-error-color;
}
&.invalid + label:after, &:focus.invalid + label:after {
content: attr(data-error);
color: $input-error-color;
opacity: 1;
}
&.form-control.valid + label:after,
&.form-control:focus.valid + label:after {
top: $input-label-valid-top;
}
&.form-control.invalid + label:after,
&.form-control:focus.invalid + label:after {
top: $input-label-invalid-top;
}
&.form-control-lg.valid + label:after,
&.form-control-lg:focus.valid + label:after {
top: $input-label-valid-top-lg;
}
&.form-control-lg.invalid + label:after,
&.form-control-lg:focus.invalid + label:after {
top: $input-label-invalid-top-lg;
}
&.form-control-sm.valid + label:after,
&.form-control-sm:focus.valid + label:after {
top: $input-label-valid-top-sm;
}
&.form-control-sm.invalid + label:after,
&.form-control-sm:focus.invalid + label:after {
top: $input-label-invalid-top-sm;
}
}
.was-validated {
input[type=text] {
&:valid {
+ label {
color: $input-success-color !important;
}
}
&:invalid {
+ label {
color: $input-error-color !important;
}
}
}
.form-control {
&:valid:focus {
box-shadow: 0 1px 0 0 $input-success-color !important;
}
&:valid {
border-color: $input-success-color !important;
}
&:invalid:focus {
box-shadow: 0 1px 0 0 $input-error-color !important;
}
&:invalid {
border-color: $input-error-color !important;
}
}
}
// Input with label
.form-control {
margin: 0 0 $input-form-control-margin-bottom 0;
border-radius: 0;
padding: $input-form-control-padding-top 0 $input-form-control-padding-bottom 0;
background-image: none;
background-color: transparent;
&:focus {
box-shadow: none;
background: transparent;
}
&:disabled,
&[readonly] {
border-bottom: 1px solid $grey-lighten-1;
background-color: transparent;
}
}
@include make-input($input-validate-mb, $input-label-font-size, $input-label-active-font-size, $input-prefix-top, $input-prefix-font-size, $input-prefix-margin-left, $input-prefix-width, $input-form-text-ml);
position: relative;
margin-top: $input-md-form-margin-top;
margin-bottom: $input-md-form-margin-bottom;
label {
position: absolute;
top: $input-label-top;
left: 0;
transition: $input-label-transition;
cursor: text;
color: $input-label-color;
&.active {
transform: $input-label-active-transform;
}
}
.prefix {
position: absolute;
transition: $input-prefix-transition;
&.active {
color: $input-md-focus-color;
}
}
&.form-lg {
@include make-input($input-validate-mb-lg, $input-label-font-size-lg, $input-label-active-font-size-lg, $input-prefix-top-lg, $input-prefix-font-size-lg, $input-prefix-margin-left-lg, $input-prefix-width-lg, $input-form-text-ml-lg);
}
&.form-sm {
@include make-input($input-validate-mb-sm, $input-label-font-size-sm, $input-label-active-font-size-sm, $input-prefix-top-sm, $input-prefix-font-size-sm, $input-prefix-margin-left-sm, $input-prefix-width-sm, $input-form-text-ml-sm);
}
// Textarea
textarea {
&.md-textarea {
overflow-y: hidden;
padding: $textarea-padding 0;
resize: none;
}
&.md-textarea-auto {
padding: 0;
padding-top: $textarea-padding;
}
}
}

View File

@@ -0,0 +1,21 @@
// Input group
.md-form {
&.input-group {
label {
top: 0;
margin-bottom: 0;
}
.input-group-text {
background-color: $input-group-text-bgc;
&.md-addon {
border: none;
background-color: transparent;
font-weight: 500;
}
}
.form-control {
margin: 0;
padding: $input-group-form-control-py $input-group-form-control-px;
}
}
}

28
html/scss/free/_list-group.scss Executable file
View File

@@ -0,0 +1,28 @@
// List group
.media {
.media-left {
padding: $list-group-padding;
img {
box-shadow: $z-depth-1;
}
}
}
.list-group {
.list-group-item {
&:first-child {
border-top-left-radius: $border-radius-base;
border-top-right-radius: $border-radius-base;
}
&:last-child {
border-bottom-left-radius: $border-radius-base;
border-bottom-right-radius: $border-radius-base;
}
}
a,
button {
transition: $list-group-transition;
&:hover {
transition: $list-group-transition;
}
}
}

276
html/scss/free/_modals.scss Executable file
View File

@@ -0,0 +1,276 @@
// Modals
// Styles for body
body {
&.modal-open {
overflow: auto;
padding-right: 0 !important;
}
&.scrollable {
overflow-y: auto;
}
}
// *** ENHANCED BOOTSTRAP MODALS ***///
// General styles
.modal-dialog {
.modal-content {
box-shadow: $z-depth-1-half;
border: 0;
border-radius: $border-radius-base;
.modal-header {
border-top-left-radius: $border-radius-base;
border-top-right-radius: $border-radius-base;
}
}
// Cascading modals
&.cascading-modal {
margin-top: 10%;
.close {
opacity: 1;
text-shadow: none;
color: $white-base;
outline: 0;
}
// Cascading header
.modal-header {
box-shadow: $z-depth-1-half;
margin: $cascading-modal-margin-top $cascading-modal-margin-right $cascading-modal-margin-bottom $cascading-modal-margin-left;
border: none;
border-radius: $border-radius-base;
padding: $cascading-modal-padding;
text-align: center;
.close {
margin-right: $cascading-modal-close-margin-right;
}
.title {
margin-bottom: 0;
width: 100%;
font-size: $cascading-modal-font-size;
.fa {
margin-right: $cascading-modal-fa-margin-right;
}
}
.social-buttons {
margin-top: $cascading-modal-social-margin-top;
a {
font-size: $cascading-modal-a-font-size;
}
}
}
// Cascading tabs nav
.modal-c-tabs {
.nav-tabs {
box-shadow: $z-depth-1;
margin: $cascading-modal-tabs-margin-top $cascading-modal-tabs-margin-x 0 $cascading-modal-tabs-margin-x;
}
.tab-content {
padding: $cascading-modal-tabs-padding-top 0 0 0;
}
}
.nav-tabs {
display: flex;
li {
flex: 1;
a {
text-align: center;
}
}
}
// Footer customization
.modal-body,
.modal-footer {
padding-left: $modal-body-padding-left;
padding-right: $modal-body-padding-right;
color: $grey-darken-2;
.additional-option {
margin-top: $modal-body-margin-top;
text-align: center;
}
}
// Cascading avatar
&.modal-avatar {
margin-top: $modal-avatar-margin-top;
.modal-header {
box-shadow: none;
@extend .img-fluid;
margin: $modal-avatar-header-margin-top 0 $modal-avatar-header-margin-bottom;
img {
width: $modal-avatar-img-width;
box-shadow: $z-depth-2;
margin-left: auto;
margin-right: auto;
}
}
}
}
// Modal notify
&.modal-notify {
.heading {
margin: 0;
padding: $modal-notify-heading-padding;
font-size: $modal-notify-font-size;
color: $white-base;
}
.modal-header {
box-shadow: $z-depth-1;
border: 0;
}
.close {
opacity: 1;
}
.modal-body {
padding: $modal-notify-body-padding;
color: $grey-darken-2;
}
@each $name, $color in $basic {
&.modal-#{$name} {
.modal-header {
background-color: $color;
}
.fa {
color: $color;
}
.badge {
background-color: $color;
}
}
}
}
}
// Position & Size
.modal {
padding-right: 0 !important;
.modal-dialog {
@media (min-width: 768px) {
&.modal-top {
top: 0;
}
&.modal-left {
left: 0;
}
&.modal-right {
right: 0;
}
&.modal-bottom {
bottom: 0;
}
&.modal-top-left {
top: $modal-distance;
left: $modal-distance;
}
&.modal-top-right {
top: $modal-distance;
right: $modal-distance;
}
&.modal-bottom-left {
bottom: $modal-distance;
left: $modal-distance;
}
&.modal-bottom-right {
bottom: $modal-distance;
right: $modal-distance;
}
}
}
&.fade {
&.top:not(.show) .modal-dialog {
transform: $modal-fade-top-transform;
}
&.left:not(.show) .modal-dialog {
transform: $modal-fade-left-transform;
}
&.right:not(.show) .modal-dialog {
transform: $modal-fade-right-transform;
}
&.bottom:not(.show) .modal-dialog {
transform: $modal-fade-bottom-transform;
}
}
@media (min-width: $medium-screen) {
&.modal-scrolling {
position: relative;
.modal-dialog {
position: fixed;
z-index: 1050;
}
}
&.modal-content-clickable {
top: auto;
bottom: auto;
.modal-dialog {
position: fixed;
}
}
.modal-fluid {
width: 100%;
max-width: 100%;
.modal-content {
width: 100%;
}
}
.modal-frame {
position: absolute;
margin: 0;
width: 100%;
max-width: 100%;
&.modal-bottom {
bottom: 0;
}
}
.modal-full-height {
position: absolute;
display: flex;
margin: 0;
width: $modal-width;
height: auto;
top: 0;
right: 0;
&.modal-top,
&.modal-bottom {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}
&.modal-top {
bottom: auto;
}
&.modal-bottom {
top: auto;
}
.modal-content {
width: 100%;
}
&.modal-lg {
width: 90%;
max-width: 90%;
@media (min-width: $medium-screen) {
width: $modal-full-height-medium-screen;
max-width: $modal-full-height-medium-screen;
}
@media (min-width: $large-screen) {
width: $modal-full-height-large-screen;
max-width: $modal-full-height-large-screen;
}
}
}
.modal-side {
position: absolute;
bottom: $modal-distance;
right: $modal-distance;
margin: 0;
width: $modal-width;
}
}
}
.nav-tabs {
border-radius: $md-card-border-radius;
.nav-item {
.nav-link {
border-radius: $md-card-border-radius;
background-color: inherit;
color: $white-base;
}
}
}

10
html/scss/free/_msc.scss Executable file
View File

@@ -0,0 +1,10 @@
// Miscellaneous
// Edge Headers
.edge-header {
display: block;
height: $edge-header-height;
background-color: $edge-header-background-color;
}
.free-bird {
margin-top: $edge-header-margin-top;
}

99
html/scss/free/_navbars.scss Executable file
View File

@@ -0,0 +1,99 @@
// Navbars
.navbar {
box-shadow: $z-depth-1;
font-weight: $navbar-font-weight;
form {
.md-form {
input {
margin: 0 $navbar-form-input-mr $navbar-form-input-mb $navbar-form-input-ml;
}
}
}
.breadcrumb {
margin: 0;
padding: $navbar-breadcrumb-padding-top 0 0 $navbar-breadcrumb-padding-left;
background-color: inherit;
font-size: $navbar-double-font-size;
font-weight: $navbar-font-weight;
.breadcrumb-item {
color: $white-base;
&.active {
color: $navbar-breadcrumb-color;
}
&:before {
color: $navbar-breadcrumb-color;
}
}
}
.navbar-toggler {
outline: 0;
border-width: 0;
}
.nav-flex-icons {
flex-direction: row;
}
.container {
@media (max-width: $medium-screen) {
width: 100%;
.navbar-toggler-right {
right: 0;
}
}
}
.nav-item {
.nav-link {
display: block;
&.disabled {
&:active {
pointer-events: none;
}
}
.fa {
padding-right: $navbar-flex-icons-padding-lg;
padding-left: $navbar-flex-icons-padding-lg;
}
@media (max-width: $medium-screen) {
padding-right: $navbar-flex-icons-padding-md;
padding-left: $navbar-flex-icons-padding-md;
}
}
}
.dropdown-menu {
position: absolute !important;
margin-top: 0;
a {
padding: $navbar-dropdown-menu-padding;
font-size: $navbar-dropdown-font-size;
font-weight: $navbar-font-weight;
color: $black !important;
}
form {
@media (max-width: $small-screen) {
width: 17rem;
}
@media (min-width: $small-screen) {
width: 22rem;
}
}
}
&.navbar-light {
@include make-navbar($navbar-light-disabled-color, $navbar-light-toggler-icon, $black, $navbar-light-hover-color, $navbar-light-bg-active-color);
}
&.navbar-dark {
@include make-navbar($navbar-dark-disabled-color, $navbar-dark-toggler-icon, $white, $navbar-dark-hover-color, $navbar-dark-bg-active-color);
}
&.scrolling-navbar {
@media (min-width: $small-screen) {
transition: $navbar-scrolling-transition;
padding-top: $navbar-scrolling-padding;
padding-bottom: $navbar-scrolling-padding;
.navbar-nav > li {
transition-duration: $navbar-scrolling-transition-duration;
}
&.top-nav-collapse {
padding-top: $navbar-top-collapse-padding;
padding-bottom: $navbar-top-collapse-padding;
}
}
}
}

83
html/scss/free/_pagination.scss Executable file
View File

@@ -0,0 +1,83 @@
// Pagination
.pagination {
.page-item {
&.active {
.page-link {
box-shadow: $z-depth-1;
transition: $pagination-active-transition;
border-radius: $border-radius-base;
background-color: $primary-color;
color: $white-base;
&:hover {
background-color: $primary-color;
}
}
}
&.disabled {
.page-link {
color: $pagination-page-item-disabled-color;
}
}
.page-link {
transition: $pagination-page-link-transition;
outline: 0;
border: 0;
background-color: transparent;
font-size: $pagination-page-link-font-size;
color: $pagination-page-link-color;
&:hover {
transition: $pagination-page-link-transition;
border-radius: $border-radius-base;
background-color: $pagination-page-link-hover-bg-color;
}
&:focus {
background-color: transparent;
}
}
}
&.pagination-lg {
.page-item {
.page-link {
font-size: $pagination-page-link-font-size-lg;
}
}
}
&.pagination-sm {
.page-item {
.page-link {
font-size: $pagination-page-link-font-size-sm;
}
}
}
&.pagination-circle {
.page-item {
.page-link {
margin-left: $pagination-circle-margin-x;
margin-right: $pagination-circle-margin-x;
border-radius: $pagination-circle-border-radius;
&:hover {
border-radius: $pagination-circle-border-radius;
}
}
&.active {
.page-link {
border-radius: $pagination-circle-border-radius;
}
}
}
}
@each $name, $color in $pagination-colors {
&.pg-#{$name} {
.page-item {
&.active {
.page-link {
background-color: $color;
&:hover {
background-color: $color;
}
}
}
}
}
}
}

66
html/scss/free/_tables.scss Executable file
View File

@@ -0,0 +1,66 @@
// Tables
table {
th {
font-size: $table-th-font-size;
font-weight: 400;
}
td {
font-size: $table-td-font-size;
font-weight: 300;
}
&.table {
thead th {
border-top: none;
}
th,
td {
padding-top: $table-th-padding-top;
padding-bottom: $table-td-padding-bottom;
}
a {
margin: 0;
color: $table-a-color;
}
.label-table {
margin: 0;
padding: 0;
line-height: $table-label-height;
height: $table-label-line-height;
}
&.btn-table {
td {
vertical-align: middle;
}
}
}
&.table-hover {
tbody {
tr {
&:hover {
transition: $table-hover-transition;
background-color: $table-hover-background-color;
}
}
}
}
.th-lg {
min-width: $table-th-lg-min-width;
}
.th-sm {
min-width: $table-th-sm-min-width;
}
&.table-sm {
th,
td {
padding-top: $table-sm-padding-y;
padding-bottom: $table-sm-padding-y;
}
}
}
.table-scroll-vertical {
max-height: $table-scroll-vertical-max-height;
overflow-y: auto;
}
.table-fixed {
table-layout: fixed;
}