mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
add assets to gumpy dir
This commit is contained in:
11
Resources/assets/gumpy/bower_components/gumby/sass/ui/_all.scss
vendored
Normal file
11
Resources/assets/gumpy/bower_components/gumby/sass/ui/_all.scss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@import "navbar";
|
||||
@import "buttons";
|
||||
@import "icons";
|
||||
@import "forms";
|
||||
@import "labels";
|
||||
@import "tabs";
|
||||
@import "images";
|
||||
@import "video";
|
||||
@import "toggles";
|
||||
@import "tables";
|
||||
@import "tooltips";
|
161
Resources/assets/gumpy/bower_components/gumby/sass/ui/_buttons.scss
vendored
Normal file
161
Resources/assets/gumpy/bower_components/gumby/sass/ui/_buttons.scss
vendored
Normal file
@@ -0,0 +1,161 @@
|
||||
/* Buttons */
|
||||
|
||||
// Buttons
|
||||
@import "../functions/button-size";
|
||||
|
||||
// Button structure
|
||||
.btn, .skiplink {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
background: $default-color;
|
||||
-webkit-appearance: none;
|
||||
font-family: $font-family;
|
||||
font-weight: $button-font-weight;
|
||||
padding: 0 !important;
|
||||
text-align: center;
|
||||
.pretty & { @extend .pretty.btn; }
|
||||
.metro & { @extend .metro.btn; }
|
||||
|
||||
> a, input, button {
|
||||
display: block;
|
||||
padding: 0 $default-button-padding;
|
||||
color: $white;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
input, button {
|
||||
background: none;
|
||||
border: none;
|
||||
width: 100%;
|
||||
font-size: 100%;
|
||||
cursor: pointer;
|
||||
font-weight: $type-font-weight;
|
||||
@include appearance(none);
|
||||
}
|
||||
}
|
||||
|
||||
// Button Shapes & Sizes
|
||||
.btn, .skiplink {
|
||||
&.xlarge {
|
||||
@include button-size(xlarge);
|
||||
}
|
||||
&.large {
|
||||
@include button-size(large);
|
||||
}
|
||||
&.medium {
|
||||
@include button-size(medium);
|
||||
a {
|
||||
padding: 0 ms(1);
|
||||
}
|
||||
}
|
||||
&.small {
|
||||
@include button-size(small);
|
||||
a {
|
||||
padding: 0 ms(-1);
|
||||
}
|
||||
}
|
||||
|
||||
&.oval {
|
||||
@include shape(oval);
|
||||
}
|
||||
|
||||
&.pill-left {
|
||||
@include shape(pill-left);
|
||||
}
|
||||
|
||||
&.pill-right {
|
||||
@include shape(pill-right);
|
||||
}
|
||||
}
|
||||
|
||||
// Button Colors & Styles
|
||||
.btn, .skiplink {
|
||||
@each $shade in $ui-coloring {
|
||||
&.#{nth($shade, 1)} {
|
||||
background: nth($shade, 2);
|
||||
border: 1px solid nth($shade, 2);
|
||||
&:hover {
|
||||
background: lighten(nth($shade, 2), 10%);
|
||||
}
|
||||
&:active {
|
||||
background: darken(nth($shade, 2), 10%);
|
||||
}
|
||||
@if nth($shade, 1) == default {
|
||||
color: darken(nth($shade, 2), 61.5%);
|
||||
border: 1px solid nth($shade, 2);
|
||||
&:hover {
|
||||
border: 1px solid darken(nth($shade, 2), 5%);
|
||||
}
|
||||
a, input, button {
|
||||
color: darken(nth($shade, 2), 61.5%);
|
||||
}
|
||||
}
|
||||
@if nth($shade, 1) == warning {
|
||||
color: darken(nth($shade, 2), 40%);
|
||||
a, input, button {
|
||||
color: darken(nth($shade, 2), 40%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@each $style in $styling {
|
||||
&.#{nth($style, 1)} {
|
||||
@include border-radius(nth($style, 2));
|
||||
&:hover {
|
||||
@extend .btn.#{nth($style, 1)}
|
||||
}
|
||||
&:active {
|
||||
@extend .btn.#{nth($style, 1)}
|
||||
}
|
||||
@if nth($style, 1) == metro {
|
||||
&.rounded {
|
||||
@include border-radius($button-radius);
|
||||
}
|
||||
}
|
||||
@if nth($style, 1) == pretty {
|
||||
&.squared {
|
||||
@include border-radius($metro-radius);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Buttons with Gradients
|
||||
.btn, .skiplink {
|
||||
&.pretty {
|
||||
@each $grade in $ui-coloring {
|
||||
&.#{nth($grade, 1)} {
|
||||
@include background-image(linear-gradient(lighten(nth($grade, 2), 20%), saturate(nth($grade, 2), 5%)));
|
||||
@include box-shadow(inset 0 0 3px lighten(nth($grade, 2), 45%));
|
||||
border: 1px solid darken(nth($grade, 2), 15%);
|
||||
&:hover {
|
||||
@include background-image(linear-gradient(lighten(nth($grade, 3), 15%), saturate(nth($grade, 3), 5%)));
|
||||
@include box-shadow(inset 0 0 3px lighten(nth($grade, 3), 40%));
|
||||
border: 1px solid darken(nth($grade, 3), 15%);
|
||||
}
|
||||
&:active {
|
||||
@include background-image(linear-gradient(saturate(nth($grade, 2), 5%), lighten(nth($grade, 2), 20%)));
|
||||
@include box-shadow(inset 0 0 3px lighten(nth($grade, 2), 50%));
|
||||
}
|
||||
@if nth($grade, 1) == default {
|
||||
a, input, button {
|
||||
text-shadow: 0 1px 1px lighten(nth($grade, 2), 20%);
|
||||
}
|
||||
}
|
||||
@elseif nth($grade, 1) == warning {
|
||||
color: darken(nth($grade, 2), 40%);
|
||||
a, input, button {
|
||||
text-shadow: 0 1px 1px lighten(nth($grade, 2), 20%);
|
||||
}
|
||||
}
|
||||
@else {
|
||||
a, input, button {
|
||||
text-shadow: 0 1px 1px darken(nth($grade, 2), 20%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
399
Resources/assets/gumpy/bower_components/gumby/sass/ui/_forms.scss
vendored
Normal file
399
Resources/assets/gumpy/bower_components/gumby/sass/ui/_forms.scss
vendored
Normal file
@@ -0,0 +1,399 @@
|
||||
/* Form Styles */
|
||||
|
||||
@import "../functions/forms";
|
||||
|
||||
|
||||
form {
|
||||
margin: 0 0 18px;
|
||||
label {
|
||||
display: block;
|
||||
@include font-size($norm);
|
||||
@include adjust-leading-to(1);
|
||||
cursor: pointer;
|
||||
margin-bottom: 9px;
|
||||
&.inline {
|
||||
display: inline-block;
|
||||
padding-right: 20px;
|
||||
}
|
||||
}
|
||||
dt {
|
||||
margin: 0;
|
||||
}
|
||||
textarea {
|
||||
height: 150px;
|
||||
}
|
||||
ul, ul li {
|
||||
margin-left: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
fieldset {
|
||||
@include rhythm-borders(1px,1,$norm,solid);
|
||||
border-color: darken($default-color, 10%);
|
||||
margin: 18px 0;
|
||||
legend {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.field {
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
margin-bottom: 10px;
|
||||
vertical-align: middle;
|
||||
// Font-size 16px for weird form style error
|
||||
font-size: 16px;
|
||||
overflow: hidden;
|
||||
&.metro, .metro {
|
||||
@include border-radius(0);
|
||||
}
|
||||
input, input[type="*"], textarea {
|
||||
max-width: 100%;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: none;
|
||||
outline: none;
|
||||
resize: none;
|
||||
-webkit-appearance: none;
|
||||
font-family: $font-family;
|
||||
font-weight: $font-weight-light;
|
||||
@include font-size($norm);
|
||||
@include box-shadow(none);
|
||||
}
|
||||
.input {
|
||||
position: relative;
|
||||
padding: 0 10px;
|
||||
background: #fff;
|
||||
border: 1px solid darken($default-color, 10%);
|
||||
@include line-and-height(height-calc($norm));
|
||||
@include font-size($norm);
|
||||
@include border-radius(4px);
|
||||
&.search {
|
||||
@include line-and-height(height-calc($norm));
|
||||
@include border-radius(1000px);
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
.input.textarea {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@each $width in $field-sizes {
|
||||
.#{nth($width, 1)} {
|
||||
@include input-size(#{nth($width, 1)})
|
||||
}
|
||||
}
|
||||
|
||||
@include input-sizes-list() {
|
||||
margin:0;
|
||||
&:last-child {
|
||||
margin-left: -4px;
|
||||
}
|
||||
&:first-child {
|
||||
margin-right: 3.94%;
|
||||
margin-left: 0;
|
||||
}
|
||||
&:first-child:last-child {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
label + {
|
||||
@include input-sizes-list() {
|
||||
&:last-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include respond(document-width) {
|
||||
|
||||
.xxwide:first-child, .xxwide:last-child {
|
||||
margin-right: 0%;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* remove inline-block white-space — A 0px font-size = 0px of white space */
|
||||
&.prepend, &.append {
|
||||
font-size: 0;
|
||||
white-space: nowrap;
|
||||
padding-bottom: 3.5px;
|
||||
}
|
||||
|
||||
&.prepend input,
|
||||
&.prepend .input,
|
||||
&.append input,
|
||||
&.append .input {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
&.prepend input,
|
||||
&.prepend .input {
|
||||
@include border-radius(0px 4px 4px 0);
|
||||
}
|
||||
|
||||
&.append input,
|
||||
&.append .input {
|
||||
@include border-radius(4px 0 0 4px);
|
||||
}
|
||||
|
||||
&.prepend.append input {
|
||||
@include border-radius(0);
|
||||
}
|
||||
|
||||
&.prepend.append input:first-child {
|
||||
@include border-radius(4px 0 0 4px);
|
||||
}
|
||||
|
||||
&.prepend.append input:last-child {
|
||||
margin-left: -1px;
|
||||
@include border-radius(0px 4px 4px 0);
|
||||
}
|
||||
|
||||
&.prepend .adjoined, &.append .adjoined, &.prepend .btn, &.append .btn {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-bottom:0;
|
||||
z-index: 99;
|
||||
}
|
||||
&.prepend .btn, &.append .btn {
|
||||
a, input, button {
|
||||
padding: 0 12px;
|
||||
}
|
||||
}
|
||||
|
||||
&.prepend .adjoined, &.append .adjoined {
|
||||
padding: 0 10px 0 10px;
|
||||
background: $default-color;
|
||||
border: 1px solid darken($default-color, 10%);
|
||||
font-family: $font-family;
|
||||
font-weight: $font-weight-semibold;
|
||||
color: $body-font-color;
|
||||
@include font-size($norm);
|
||||
@include line-and-height(height-calc($norm));
|
||||
}
|
||||
|
||||
&.prepend *:first-child {
|
||||
@include border-radius(4px 0 0 4px);
|
||||
}
|
||||
|
||||
&.prepend input:first-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&.prepend .adjoined, &.prepend .btn {
|
||||
margin-right: -1px;
|
||||
}
|
||||
|
||||
.adjoined:first-child {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
&.append .adjoined, &.append .btn {
|
||||
margin-left: -1px;
|
||||
}
|
||||
|
||||
&.append *:last-child {
|
||||
@include border-radius(0px 4px 4px 0);
|
||||
}
|
||||
|
||||
&.append button, &.prepend button {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&.append input:first-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&.double input, &.double .input {
|
||||
width: 50% !important;
|
||||
&:last-child {
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
@each $error in danger $danger-color, warning $warning-color, success $success-color {
|
||||
&.#{nth($error, 1)} {
|
||||
&:after {
|
||||
@if($icons != ""){
|
||||
font-family: "#{$icons}";
|
||||
@if nth($error, 1) == danger {
|
||||
content: "#{$entypo-icon-cancel-circled}";
|
||||
}
|
||||
@if nth($error, 1) == warning {
|
||||
content: "#{$entypo-icon-attention}";
|
||||
}
|
||||
@if nth($error, 1) == success {
|
||||
content: "#{$entypo-icon-check}";
|
||||
}
|
||||
font-size: $norm;
|
||||
position: absolute;
|
||||
top: percentage((strip-units($base-font-size)) / 100) - 2;
|
||||
right: 15px;
|
||||
z-index: 999;
|
||||
color: nth($error, 2);
|
||||
}
|
||||
}
|
||||
|
||||
&.no-icon:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// <input> does not allow :before & :after
|
||||
// pseudo elements. Removing validation
|
||||
// icons from those elements to avoid
|
||||
// edge-case styling issues
|
||||
&.append:after, &.prepend:after {
|
||||
content: "";
|
||||
}
|
||||
input, .input, textarea, .textarea, .radio span, .checkbox span, .picker {
|
||||
border-color: nth($error, 2);
|
||||
color: nth($error, 2);
|
||||
background: lighten(nth($error, 2), 35%);
|
||||
@include transition-duration(.2s);
|
||||
}
|
||||
|
||||
textarea { color: nth($error, 2); }
|
||||
|
||||
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder {
|
||||
color: nth($error, 2);
|
||||
}
|
||||
input:-moz-placeholder, textarea:-moz-placeholder {
|
||||
color: nth($error, 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.picker {
|
||||
@each $error in danger $danger-color, warning $warning-color, success $success-color {
|
||||
&.#{nth($error, 1)} {
|
||||
border-color: nth($error, 2);
|
||||
color: nth($error, 2);
|
||||
background: lighten(nth($error, 2), 35%);
|
||||
@include transition-duration(.2s);
|
||||
select, &:after { color: nth($error, 2); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.field .text input[type="search"] {
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
|
||||
// checkboxes/radio buttons only styled where JS supported
|
||||
.no-js {
|
||||
.radio input {
|
||||
-webkit-appearance: radio;
|
||||
margin-left: 1px;
|
||||
}
|
||||
.checkbox input {
|
||||
-webkit-appearance: checkbox;
|
||||
}
|
||||
.radio input, .checkbox input {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.js .field {
|
||||
.radio, .checkbox {
|
||||
@each $error in danger $danger-color, warning $warning-color, success $success-color {
|
||||
&.#{nth($error, 1)} {
|
||||
color: nth($error, 2);
|
||||
@if nth($error, 1) == success {
|
||||
color: $body-font-color;
|
||||
i { color: nth($error, 2); }
|
||||
}
|
||||
span {
|
||||
border-color: nth($error, 2);
|
||||
color: nth($error, 2);
|
||||
background: lighten(nth($error, 2), 35%);
|
||||
@include transition-duration(.2s);
|
||||
}
|
||||
}
|
||||
}
|
||||
position: relative;
|
||||
&.checked i {
|
||||
position: absolute;
|
||||
top: -1px;
|
||||
left: -8px;
|
||||
line-height: 16px;
|
||||
}
|
||||
span {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
border: solid 1px #ccc;
|
||||
background: #fefefe;
|
||||
}
|
||||
input[type="radio"], input[type="checkbox"] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.radio span {
|
||||
@include border-radius(8px);
|
||||
}
|
||||
.checkbox span {
|
||||
@include border-radius(3px);
|
||||
}
|
||||
}
|
||||
|
||||
.field .text input[type="search"] {
|
||||
-webkit-appearance: textfield;
|
||||
}
|
||||
|
||||
|
||||
/* Form Picker Element (<select>) */
|
||||
|
||||
.picker {
|
||||
position: relative;
|
||||
width: auto;
|
||||
display: inline-block;
|
||||
margin: 0 0 2px 1.2%;
|
||||
overflow: hidden;
|
||||
border: 1px solid darken($default-color, 5%);
|
||||
@include border-radius(4px);
|
||||
font-family: $font-family;
|
||||
font-weight: $font-weight-semibold;
|
||||
height: auto;
|
||||
@include background-image(linear-gradient(lighten($default-color, 20%), $default-color));
|
||||
&:after {
|
||||
content: "\25BE";
|
||||
font-family: $icons;
|
||||
z-index: 0;
|
||||
position:absolute;
|
||||
right: 8%;
|
||||
top: 50%;
|
||||
margin-top: -12px;
|
||||
color: $body-font-color;
|
||||
}
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
select {
|
||||
position: relative;
|
||||
display: block;
|
||||
min-width: 100%;
|
||||
width: 135%;
|
||||
height: 34px;
|
||||
padding: 6px 45px 6px 15px;
|
||||
color: $body-font-color;
|
||||
border: none;
|
||||
background: transparent;
|
||||
outline: none;
|
||||
-webkit-appearance: none;
|
||||
z-index: 99;
|
||||
cursor: pointer;
|
||||
@include font-size($norm);
|
||||
}
|
||||
select::-ms-expand {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
22
Resources/assets/gumpy/bower_components/gumby/sass/ui/_icons.scss
vendored
Normal file
22
Resources/assets/gumpy/bower_components/gumby/sass/ui/_icons.scss
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/* Icons */
|
||||
[class^="icon-"] a:before,
|
||||
[class*=" icon-"] a:before,
|
||||
[class^="icon-"] a:after,
|
||||
[class*=" icon-"] a:after,
|
||||
i[class^="icon-"],
|
||||
i[class*=" icon-"] {
|
||||
font-family: "#{$icons}";
|
||||
position:absolute;
|
||||
text-decoration:none;
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
i[class^="icon-"],
|
||||
i[class*=" icon-"] {
|
||||
display: inline-block;
|
||||
position: static;
|
||||
min-width: 20px;
|
||||
margin: 0 5px;
|
||||
text-align: center;
|
||||
}
|
||||
|
21
Resources/assets/gumpy/bower_components/gumby/sass/ui/_images.scss
vendored
Normal file
21
Resources/assets/gumpy/bower_components/gumby/sass/ui/_images.scss
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
.image {
|
||||
line-height:0;
|
||||
margin-bottom: 20px;
|
||||
&.circle {
|
||||
@include border-radius(50% !important);
|
||||
overflow: hidden;
|
||||
width: auto;
|
||||
}
|
||||
&.rounded {
|
||||
overflow: hidden;
|
||||
@include border-radius($button-radius $button-radius);
|
||||
}
|
||||
&.photo {
|
||||
border: 5px solid #fff;
|
||||
@include box-shadow(0 0 1px $body-font-color);
|
||||
&.polaroid {
|
||||
padding-bottom: 50px;
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
}
|
87
Resources/assets/gumpy/bower_components/gumby/sass/ui/_labels.scss
vendored
Normal file
87
Resources/assets/gumpy/bower_components/gumby/sass/ui/_labels.scss
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
/* Labels */
|
||||
|
||||
.badge, .label {
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
font-family: Helvetica, arial, verdana, sans-serif;
|
||||
font-weight: bold;
|
||||
line-height: 20px;
|
||||
text-align:center;
|
||||
color: #fff;
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
@each $shade in $ui-coloring {
|
||||
&.#{nth($shade, 1)} {
|
||||
background: nth($shade, 2);
|
||||
border: 1px solid nth($shade, 2);
|
||||
@if nth($shade, 1) == default {
|
||||
color: darken(nth($shade, 2), 61.5%);
|
||||
&:hover {
|
||||
border-color: darken(nth($shade, 2), 5%);
|
||||
}
|
||||
a {
|
||||
color: darken(nth($shade, 2), 61.5%);
|
||||
}
|
||||
}
|
||||
@if nth($shade, 1) == warning {
|
||||
color: darken(nth($shade, 2), 40%);
|
||||
a {
|
||||
color: darken(nth($shade, 2), 40%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
&.light {
|
||||
background: #fff;
|
||||
color: $body-font-color;
|
||||
border: 1px solid $default-color;
|
||||
a {
|
||||
color: $body-link-color;
|
||||
}
|
||||
}
|
||||
&.dark {
|
||||
background: #212121;
|
||||
border: 1px solid #212121;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
padding: 0 10px;
|
||||
@include font-size(ms(0, 14px));
|
||||
@include border-radius(10px);
|
||||
}
|
||||
|
||||
.label {
|
||||
padding: 0 10px;
|
||||
@include font-size(ms(0, 12px));
|
||||
@include border-radius(2px);
|
||||
}
|
||||
|
||||
.alert {
|
||||
padding: 0 10px;
|
||||
font-family: $font-family;
|
||||
font-weight: $font-weight-semibold;
|
||||
list-style-type: none;
|
||||
word-wrap: break-word;
|
||||
margin-bottom: $norm / 2;
|
||||
@include font-size(ms(0, 14px));
|
||||
@include border-radius($button-radius);
|
||||
@each $shade in $ui-coloring {
|
||||
&.#{nth($shade, 1)} {
|
||||
background: lighten(nth($shade, 2), 20%);
|
||||
border: 1px solid nth($shade, 2);
|
||||
color: darken(nth($shade, 2), 20%);
|
||||
@if nth($shade, 1) == info {
|
||||
color: $default-color;
|
||||
}
|
||||
@if nth($shade, 1) == default {
|
||||
color: darken(nth($shade, 2), 61.5%);
|
||||
border: 1px solid nth($shade, 2);
|
||||
}
|
||||
@if nth($shade, 1) == warning {
|
||||
color: darken(nth($shade, 2), 40%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
445
Resources/assets/gumpy/bower_components/gumby/sass/ui/_navbar.scss
vendored
Normal file
445
Resources/assets/gumpy/bower_components/gumby/sass/ui/_navbar.scss
vendored
Normal file
@@ -0,0 +1,445 @@
|
||||
/*=====================================================
|
||||
|
||||
Navigation (with dropdowns)
|
||||
|
||||
======================================================*/
|
||||
|
||||
|
||||
.navbar {
|
||||
width: 100%;
|
||||
min-height: 60px;
|
||||
display: block;
|
||||
margin-bottom: 20px;
|
||||
background: $navbar-color; // Change this color in settings to change the navbar color
|
||||
position: relative;
|
||||
@include respond(all-phones) {
|
||||
border: none;
|
||||
.column, .columns {
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
}
|
||||
&.pinned {
|
||||
position: absolute;
|
||||
}
|
||||
a.toggle {
|
||||
display: none;
|
||||
|
||||
// Navigation Toggle Mobile styles
|
||||
@include respond(all-phones) {
|
||||
top: 18%;
|
||||
right: 4%;
|
||||
width: 46px;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
color: $navbar-link-color;
|
||||
background: $navbar-color;
|
||||
@include line-and-height(40px);
|
||||
@include border-radius($button-radius);
|
||||
@include font-size($larger);
|
||||
&:hover {
|
||||
background: lighten($navbar-color, 5%);
|
||||
}
|
||||
&:active, &.active {
|
||||
background: darken($navbar-color, 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar .logo {
|
||||
display: inline-block;
|
||||
margin: 0 $gutter 0 0;
|
||||
padding: 0;
|
||||
@include line-and-height(height-calc($larger - 3));
|
||||
a {
|
||||
display: block;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
@include line-and-height(height-calc($larger - 3));
|
||||
img {
|
||||
max-height: 95%;
|
||||
}
|
||||
}
|
||||
|
||||
// Navbar Logo Mobile Styles
|
||||
@include respond(all-phones) {
|
||||
float: $default-float;
|
||||
display: inline;
|
||||
a {
|
||||
padding: 0;
|
||||
img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar ul {
|
||||
display: table;
|
||||
vertical-align: middle;
|
||||
margin: 0;
|
||||
float: none;
|
||||
|
||||
// Navbar Navigation List Mobile Specific Styles
|
||||
@include respond(all-phones) {
|
||||
position: absolute;
|
||||
display: block;
|
||||
width: 100% !important;
|
||||
height: 0;
|
||||
max-height: 0;
|
||||
top: 60px;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
background: darken($navbar-color, 5%);
|
||||
&.active {
|
||||
height: auto;
|
||||
max-height: 600px;
|
||||
z-index: 999998;
|
||||
@include transition-duration(.5s);
|
||||
@include box-shadow(0 2px 2px darken($navbar-color, 15%));
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
display: table-cell;
|
||||
text-align: center;
|
||||
padding-bottom: 0;
|
||||
margin: 0;
|
||||
@include line-and-height(height-calc($larger - 3));
|
||||
|
||||
// Navbar List Item Mobile Specific Styles
|
||||
@include respond(all-phones) {
|
||||
display: block;
|
||||
position: relative;
|
||||
min-height: 50px;
|
||||
max-height: 320px;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
border-right: 0 !important;
|
||||
@include box-shadow(none);
|
||||
@include transition-duration(.5s);
|
||||
}
|
||||
|
||||
> a {
|
||||
display: block;
|
||||
padding: 0 ms(0);
|
||||
white-space: nowrap;
|
||||
color: $navbar-link-color;
|
||||
text-shadow: 0 1px 2px darken($navbar-color, 20%),
|
||||
0 1px 0 darken($navbar-color, 20%);
|
||||
@include line-and-height(height-calc($larger - 3));
|
||||
@include font-size($norm);
|
||||
i.icon-popup {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
.btn {
|
||||
border-color: darken($navbar-color, 30%) !important;
|
||||
}
|
||||
&.field {
|
||||
margin-bottom: 0 !important;
|
||||
margin-right: 0;
|
||||
@include respond(all-phones) {
|
||||
padding: 0 $gutter-in-px;
|
||||
}
|
||||
input.search {
|
||||
background: darken($navbar-color, 20%);
|
||||
border: none;
|
||||
color: $default-color;
|
||||
}
|
||||
}
|
||||
.dropdown {
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
max-width: $min-device-width;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
background: lighten($default-color, 3%);
|
||||
overflow: hidden;
|
||||
z-index: 999;
|
||||
}
|
||||
// Navigation Dropdown Mobile Specific Styles
|
||||
@include respond(all-phones) {
|
||||
.dropdown {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
@include box-shadow(none !important);
|
||||
}
|
||||
&.active .dropdown {
|
||||
border-bottom: 1px solid darken($navbar-color, 10%);
|
||||
}
|
||||
&.active .dropdown ul {
|
||||
position: relative;
|
||||
top: 0;
|
||||
background: darken($navbar-color, 8%);
|
||||
min-height: 50px;
|
||||
max-height: 250px;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
@include box-shadow(none !important);
|
||||
li {
|
||||
min-height: 50px;
|
||||
border-bottom: darken($navbar-color, 5%);
|
||||
a {
|
||||
color: $white;
|
||||
border-bottom: 1px solid darken($navbar-color, 10%);
|
||||
&:hover {color: $body-link-color;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar {
|
||||
// Mobile Only Navbar Styles
|
||||
@include respond(tablets) {
|
||||
> ul > li > .btn a {
|
||||
padding: 0 $small 0 $small !important;
|
||||
}
|
||||
ul > li .dropdown ul li.active .dropdown {
|
||||
left: -$min-device-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navcontain {
|
||||
height: $navcontain-height;
|
||||
@include respond(portrait-tablets) {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Pretty Navigation Styles
|
||||
|
||||
.pretty.navbar {
|
||||
@include background-image(linear-gradient(lighten($navbar-color, 20%),darken($navbar-color, 10%)));
|
||||
@include box-shadow(inset 0 1px 1px lighten($navbar-color, 20%),
|
||||
0 1px 2px rgba(0,0,0,0.80) !important); /* Remove this line if you dont want a dropshadow on your navigation*/
|
||||
|
||||
// Pretty Nav Toggle Styles
|
||||
@include respond(all-phones) {
|
||||
a.toggle {
|
||||
border: 1px solid darken($navbar-color, 5%);
|
||||
@include background-image(linear-gradient(lighten($navbar-color, 20%), $navbar-color));
|
||||
@include box-shadow(inset 0 1px 2px lighten($navbar-color, 25%),
|
||||
inset 0 -1px 1px lighten($navbar-color, 5%),
|
||||
inset 1px 0 1px lighten($navbar-color, 5%),
|
||||
inset -1px 0 1px lighten($navbar-color, 5%),
|
||||
0 1px 1px lighten($navbar-color, 10%));
|
||||
i {
|
||||
@include text-shadow(0 1px 1px darken($navbar-color, 20%));
|
||||
}
|
||||
&:hover {
|
||||
@include background-image(linear-gradient(lighten($navbar-color, 25%), lighten($navbar-color, 5%)));
|
||||
}
|
||||
&:active, &.active {
|
||||
@include background-image(linear-gradient(darken($navbar-color, 5%), $navbar-color));
|
||||
@include box-shadow(0 1px 1px lighten($navbar-color, 10%));
|
||||
}
|
||||
}
|
||||
}
|
||||
&.row {
|
||||
@include border-radius($button-radius);
|
||||
@include respond(all-phones) {
|
||||
@include border-radius(0);
|
||||
}
|
||||
}
|
||||
ul li.field input.search {
|
||||
@include background-image(linear-gradient(darken($navbar-color, 20%), lighten($navbar-color, 2%)));
|
||||
border: none;
|
||||
@include box-shadow(0 1px 2px lighten($navbar-color, 25%) !important); /* Remove this line if you dont want a dropshadow on your navigation*/
|
||||
}
|
||||
> ul > li:first-child, .pretty.navbar > ul > li:first-child a:hover {
|
||||
@include box-shadow(none);
|
||||
}
|
||||
}
|
||||
|
||||
// Dropdown menu styles
|
||||
|
||||
.navbar li .dropdown {
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
max-width: $min-device-width;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
background: lighten($default-color, 3%);
|
||||
overflow: hidden;
|
||||
z-index: 999;
|
||||
// Navigation Dropdown Mobile Specific Styles
|
||||
@include respond(all-phones) {
|
||||
.dropdown {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
@include box-shadow(none !important);
|
||||
}
|
||||
&.active .dropdown {
|
||||
border-bottom: 1px solid darken($navbar-color, 10%);
|
||||
}
|
||||
&.active .dropdown ul {
|
||||
position: relative;
|
||||
top: 0;
|
||||
background: darken($navbar-color, 8%);
|
||||
min-height: 50px;
|
||||
max-height: 250px;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
@include box-shadow(none !important);
|
||||
li {
|
||||
min-height: 50px;
|
||||
border-bottom: darken($navbar-color, 5%);
|
||||
a {
|
||||
color: $white;
|
||||
border-bottom: 1px solid darken($navbar-color, 10%);
|
||||
&:hover {color: $body-link-color;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar li .dropdown ul {
|
||||
margin: 0;
|
||||
display: block;
|
||||
> li {
|
||||
position:relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
float: left;
|
||||
text-align: left;
|
||||
height: auto;
|
||||
@include border-radius(none);
|
||||
@include respond(tablets) {
|
||||
max-width: $min-device-width;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
padding: 0 20px;
|
||||
color: $body-link-color;
|
||||
border-bottom: 1px solid $horizontal-rule-color;
|
||||
text-shadow: none;
|
||||
@include line-and-height(height-calc($large - 3));
|
||||
@include respond(all-phones) {
|
||||
padding: 0 $gutter-in-px;
|
||||
}
|
||||
}
|
||||
.dropdown {
|
||||
display: none;
|
||||
background: lighten($default-color, 10%);
|
||||
}
|
||||
}
|
||||
li:first-child a {
|
||||
@include border-radius(0);
|
||||
}
|
||||
}
|
||||
|
||||
.gumby-no-touch .navbar ul li:hover > a,
|
||||
.gumby-touch .navbar ul li.active > a {
|
||||
position: relative;
|
||||
background: $info-hover-color;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.gumby-no-touch .navbar ul li:hover .dropdown,
|
||||
.gumby-touch .navbar ul li.active .dropdown {
|
||||
min-height: 50px;
|
||||
max-height: $tablet-device-width - 207;
|
||||
overflow: visible;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border-top: 1px solid darken($navbar-color, 5%);
|
||||
@include box-shadow(0px 3px 4px rgba(0,0,0,.3));
|
||||
}
|
||||
|
||||
.gumby-no-touch .navbar ul li:hover .dropdown ul {
|
||||
position: relative;
|
||||
top: 0;
|
||||
min-height: 50px;
|
||||
max-height: 250px;
|
||||
height: auto;
|
||||
@include box-shadow(none !important);
|
||||
@include transition-duration(.5s);
|
||||
@include respond(all-phones) {
|
||||
overflow: auto;
|
||||
background: darken($navbar-color, 8%);
|
||||
li {
|
||||
border-bottom: darken($navbar-color, 5%);
|
||||
a {
|
||||
color: $white;
|
||||
border-bottom: 1px solid darken($navbar-color, 10%);
|
||||
&:hover {color: $body-link-color;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gumby-no-touch .navbar li .dropdown ul > li:hover .dropdown,
|
||||
.gumby-touch .navbar li .dropdown ul > li.active .dropdown {
|
||||
border-top: none;
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: 9999;
|
||||
left: 100%;
|
||||
top: $nav-distance;
|
||||
margin-top: 0;
|
||||
@include respond(all-phones) {
|
||||
position: relative;
|
||||
left: 0;
|
||||
ul {
|
||||
background: darken($navbar-color, 15%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.gumby-no-touch .navbar li .dropdown ul li a:hover {
|
||||
background: $default-color;
|
||||
}
|
||||
|
||||
.gumby-touch .navbar a:hover {
|
||||
color: $navbar-link-color !important;
|
||||
}
|
||||
|
||||
.subnav {
|
||||
display: block;
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
margin: 0 0 18px 0;
|
||||
padding-top: 4px;
|
||||
li, dt, dd {
|
||||
float: left;
|
||||
display: inline;
|
||||
margin-left: 9px;
|
||||
margin-bottom: 4px;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
dt {
|
||||
color: $default-color;
|
||||
font-weight: normal;
|
||||
}
|
||||
li a, dd a {
|
||||
color: $navbar-link-color;
|
||||
font-size: 15px;
|
||||
text-decoration: none;
|
||||
@include border-radius(4px);
|
||||
}
|
||||
li.active a, dd.active a {
|
||||
background: $navbar-color;
|
||||
padding: 5px 9px;
|
||||
text-shadow: 0 1px 1px $navbar-color;
|
||||
}
|
||||
}
|
87
Resources/assets/gumpy/bower_components/gumby/sass/ui/_tables.scss
vendored
Normal file
87
Resources/assets/gumpy/bower_components/gumby/sass/ui/_tables.scss
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
table {
|
||||
display: table;
|
||||
background-color: $table-bgcolor;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
margin-bottom: 20px;
|
||||
width: 100%;
|
||||
border: $table-border-size $table-border-style $table-border-color;
|
||||
|
||||
caption {
|
||||
text-align: center;
|
||||
font-size: $larger;
|
||||
padding: .75em;
|
||||
}
|
||||
|
||||
thead th,
|
||||
tbody td,
|
||||
tr td {
|
||||
display: table-cell;
|
||||
padding: 10px;
|
||||
vertical-align: top;
|
||||
text-align: left;
|
||||
border-top: $table-cell-border-size $table-cell-border-style $table-cell-border-color;
|
||||
}
|
||||
|
||||
tr td, tbody tr td {
|
||||
font-size: $norm;
|
||||
}
|
||||
|
||||
tr td:first-child {
|
||||
font-weight: $table-row-first-cell-font-weight;
|
||||
}
|
||||
|
||||
thead {
|
||||
background-color: $table-thead-bgcolor;
|
||||
color: #fff;
|
||||
|
||||
tr th {
|
||||
font-size: $norm;
|
||||
font-weight: bold;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
|
||||
&.striped tr:nth-of-type(even),
|
||||
table tr.stripe,
|
||||
table tr.striped {
|
||||
background-color: $table-stripe-bgcolor;
|
||||
}
|
||||
|
||||
&.rounded {
|
||||
border-radius: $table-border-radius;
|
||||
border-collapse: separate;
|
||||
|
||||
caption + thead tr:first-child th:first-child,
|
||||
caption + tr td:first-child,
|
||||
> thead tr:first-child th:first-child,
|
||||
> thead tr:first-child td:first-child,
|
||||
> tr:first-child td:first-child {
|
||||
border-top-left-radius: $table-border-radius;
|
||||
}
|
||||
|
||||
caption + thead tr:first-child th:last-child,
|
||||
caption + tr td:last-child,
|
||||
> thead tr:first-child th:last-child,
|
||||
> thead tr:first-child td:last-child,
|
||||
> tr:first-child td:last-child {
|
||||
border-top-right-radius: $table-border-radius;
|
||||
}
|
||||
|
||||
thead ~ tr:last-child td:last-child,
|
||||
tbody tr:last-child td:last-child {
|
||||
border-bottom-right-radius: $table-border-radius;
|
||||
}
|
||||
|
||||
thead ~ tr:last-child td:first-child,
|
||||
tbody tr:last-child td:first-child {
|
||||
border-bottom-left-radius: $table-border-radius;
|
||||
}
|
||||
|
||||
thead th, thead td,
|
||||
caption + tbody tr:first-child td,
|
||||
> tbody:first-child tr:first-child td {
|
||||
border-top: 0;
|
||||
}
|
||||
}
|
||||
}
|
156
Resources/assets/gumpy/bower_components/gumby/sass/ui/_tabs.scss
vendored
Normal file
156
Resources/assets/gumpy/bower_components/gumby/sass/ui/_tabs.scss
vendored
Normal file
@@ -0,0 +1,156 @@
|
||||
/* Tabs */
|
||||
|
||||
.tabs {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.tab-nav {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border-bottom: 1px solid darken($default-color, 5%);
|
||||
> li {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
margin: 0 $gutter 0 0;
|
||||
cursor: default;
|
||||
top: 1px;
|
||||
@include box-shadow(0 1px 0 $white);
|
||||
> li {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
padding: 0;
|
||||
margin: 0 $gutter 0 0;
|
||||
cursor: default;
|
||||
top: 1px;
|
||||
@include box-shadow(0 1px 0 $white);
|
||||
> a {
|
||||
display: block;
|
||||
width: auto;
|
||||
padding: 0 $norm;
|
||||
margin: 0;
|
||||
color: $body-font-color;
|
||||
font-family: $font-family;
|
||||
font-weight: $tabs-font-weight;
|
||||
border: 1px solid darken($default-color, 5%);
|
||||
border-width: 1px 1px 0 1px;
|
||||
text-shadow: 0 1px 1px lighten($default-color, 5%);
|
||||
background: $default-color;
|
||||
cursor: pointer;
|
||||
@include border-radius($button-radius $button-radius 0 0);
|
||||
@include line-and-height($tab-height);
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
background: lighten($default-color, 1%);
|
||||
}
|
||||
&:active {
|
||||
background: darken($default-color, 2%);
|
||||
}
|
||||
}
|
||||
&.active > a {
|
||||
@include line-and-height($tab-height + 1);
|
||||
background: $white;
|
||||
cursor: default;
|
||||
}
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab-nav > li:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.tab-nav > li > a {
|
||||
display: block;
|
||||
width: auto;
|
||||
padding: 0 $norm;
|
||||
margin: 0;
|
||||
color: $body-font-color;
|
||||
font-family: $font-family;
|
||||
font-weight: $tabs-font-weight;
|
||||
border: 1px solid darken($default-color, 5%);
|
||||
border-width: 1px 1px 0 1px;
|
||||
text-shadow: 0 1px 1px lighten($default-color, 5%);
|
||||
background: $default-color;
|
||||
cursor: pointer;
|
||||
@include border-radius($button-radius $button-radius 0 0);
|
||||
@include line-and-height($tab-height);
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
background: lighten($default-color, 1%);
|
||||
}
|
||||
&:active {
|
||||
background: darken($default-color, 2%);
|
||||
}
|
||||
}
|
||||
|
||||
.tab-nav > li.active > a {
|
||||
@include line-and-height($tab-height + 1);
|
||||
background: $white;
|
||||
}
|
||||
|
||||
.tabs.pill .tab-nav {
|
||||
width: 100%; /* remove if you dont want the tabs to span the full container width */
|
||||
display: table;
|
||||
overflow: hidden;
|
||||
border: 1px solid darken($default-color, 5%);
|
||||
@include border-radius($button-radius);
|
||||
> li {
|
||||
display: table-cell;
|
||||
margin: 0;
|
||||
margin-left: -4px;
|
||||
text-align: center;
|
||||
top: 0;
|
||||
&:first-child {
|
||||
margin-left: 0;
|
||||
}
|
||||
> a {
|
||||
border: none;
|
||||
border-right: 1px solid darken($default-color, 5%);
|
||||
@include border-radius(0);
|
||||
@include line-and-height($tab-height);
|
||||
}
|
||||
&:last-child > a {
|
||||
border-right:none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
display: none;
|
||||
padding: 20px 10px;
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.tabs.vertical {
|
||||
.tab-nav {
|
||||
border: none;
|
||||
> li {
|
||||
display: block;
|
||||
margin: 0;
|
||||
margin-bottom: 5px;
|
||||
&.active {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
> a {
|
||||
border-right: 1px solid $global-bg-color;
|
||||
}
|
||||
}
|
||||
> a {
|
||||
border: 1px solid darken($default-color, 5%);
|
||||
@include border-radius($button-radius 0 0 $button-radius);
|
||||
}
|
||||
}
|
||||
}
|
||||
.tab-content {
|
||||
padding: 10px 0 30px 20px;
|
||||
margin-left: -1px;
|
||||
border-left: 1px solid darken($default-color, 5%);
|
||||
}
|
||||
}
|
||||
|
71
Resources/assets/gumpy/bower_components/gumby/sass/ui/_toggles.scss
vendored
Normal file
71
Resources/assets/gumpy/bower_components/gumby/sass/ui/_toggles.scss
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
|
||||
.drawer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-height: 0;
|
||||
background: $drawer-background-color;
|
||||
@include box-shadow(
|
||||
inset $drawer-inner-shadow-x-offset #{-$drawer-inner-shadow-y-offset} $drawer-inner-shadow-blur $drawer-inner-shadow-color,
|
||||
inset $drawer-inner-shadow-x-offset $drawer-inner-shadow-y-offset $drawer-inner-shadow-blur $drawer-inner-shadow-color);
|
||||
;
|
||||
overflow: hidden;
|
||||
@include transition-duration(.3s);
|
||||
&.active {
|
||||
height: auto;
|
||||
max-height: 800px;
|
||||
@include transition-duration(.5s);
|
||||
}
|
||||
}
|
||||
|
||||
.modal {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: -999999;
|
||||
background: rgb(0, 0, 0);
|
||||
background: $modal-overlay-color;
|
||||
> .content {
|
||||
width: 50%;
|
||||
min-height: 50%;
|
||||
max-height: 65%;
|
||||
position: relative;
|
||||
top: 25%;
|
||||
margin: 0 auto;
|
||||
padding: $gutter-in-px;
|
||||
background: $modal-window-color;
|
||||
z-index: 2;
|
||||
overflow: auto;
|
||||
@include respond(portrait-tablets) {
|
||||
width: 80%;
|
||||
min-height: 80%;
|
||||
max-height: 80%;
|
||||
top: 10%;
|
||||
}
|
||||
@include respond(all-phones) {
|
||||
width: 92.5%;
|
||||
min-height: 92.5%;
|
||||
max-height: 92.5%;
|
||||
top: 3.75%;
|
||||
}
|
||||
> .close {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
cursor: pointer;
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
&, > .content {
|
||||
@include opacity(0);
|
||||
}
|
||||
&.active {
|
||||
z-index: 999999;
|
||||
@include transition-property(opacity);
|
||||
@include transition-duration(.3s);
|
||||
&, > .content {
|
||||
@include opacity(1);
|
||||
}
|
||||
}
|
||||
}
|
12
Resources/assets/gumpy/bower_components/gumby/sass/ui/_tooltips.scss
vendored
Normal file
12
Resources/assets/gumpy/bower_components/gumby/sass/ui/_tooltips.scss
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/* Tooltips */
|
||||
|
||||
.ttip {
|
||||
@include tooltip($tt-min-width, $tt-bgcolor, $tt-position, $tt-align);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ttip:after, .ttip:before {
|
||||
@include respond(portrait-tablets) {
|
||||
display: none;
|
||||
}
|
||||
}
|
22
Resources/assets/gumpy/bower_components/gumby/sass/ui/_video.scss
vendored
Normal file
22
Resources/assets/gumpy/bower_components/gumby/sass/ui/_video.scss
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
body .video {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: 0;
|
||||
padding-bottom: 56.25%;
|
||||
&.twitch, &.youtube.show_controls {
|
||||
padding-top: 30px;
|
||||
// Use .show_controls f you want the play/pause controls
|
||||
// to show before the video plays, like on older youtube.
|
||||
}
|
||||
&.youtube, &.vimeo {
|
||||
// Nothing goes here anymore. Both use overlay transports.
|
||||
}
|
||||
}
|
||||
|
||||
.video > video, .video > iframe, .video > object, .video > embed {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
Reference in New Issue
Block a user