File: /home/zeusxp5/zenoxpressalongside.net/wp-content/themes/zxldfw-tcompanyllcMain/scss/_global.scss
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Default Stlyings
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Force Scroll Bar and Border-Box
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
html {
overflow-y: scroll;
box-sizing: border-box;
}
* {
&,
&:before,
&:after {
box-sizing: inherit;
}
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Highlights
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
::selection {
color: contrasted($accent1);
text-shadow: 1px 1px 3px #000;
background: $accent1;
}
::-moz-selection {
color: contrasted($accent1);
text-shadow: 1px 1px 3px #000;
background: $accent1;
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Tags
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
a {
color: $accent1;
text-decoration: underline;
&:hover {
color: $accent3;
text-decoration: none;
}
}
p {
margin: 1em 0 0;
&:first-child {
margin-top: 0;
}
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 1.6em 0 0;
color: inherit;
&:first-child {
margin-top: 0;
}
a {
color: inherit;
text-decoration: inherit;
&:hover {
text-decoration: underline;
}
}
}
h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5,
h5 + h6,
hr + h1,
hr + h2,
hr + h3,
hr + h4,
hr + h5,
hr + h6 {
margin: .5em 0 0;
}
/* =Create a Horizontal Line H1, from the Formats menu in TinyMCE
-------------------------------------------------------------- */
h1.horizontal-line {
display: table;
white-space: nowrap;
width: 100%;
text-align: center;
&:before,
&:after {
display: table-cell;
width: 50%;
background-clip: padding;
background-image: -moz-linear-gradient(transparent 49%, #ddd 50%, #ddd 51%, transparent 51%);
background-image: -webkit-linear-gradient(transparent 49%, #ddd 50%, #ddd 51%, transparent 51%);
background-image: linear-gradient(transparent 49%, #ddd 50%, #ddd 51%, transparent 51%);
-webkit-background-clip: padding;
-moz-background-clip: padding;
content: '';
}
&:before {
border-right: 15px solid transparent;
}
&:after {
border-left: 15px solid transparent;
}
}
/* =Fix links inside H* tags
-------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
h7 {
a {
color: inherit;
text-decoration: none;
&:hover {
text-decoration: none;
}
}
}
/* =Form Inputs and Buttons
-------------------------------------------------------------- */
input,
select,
textarea {
@include border-radius(3px);
@include transition;
width: auto;
padding: 4px 5px 5px;
font-size: ($fontsize - 1px);
color: $primary;
background: darken($base, 3%);
border: 1px solid $accent2;
&:focus {
border-color: rgba($accent2, .8);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba($accent2, .6);
}
&:hover {
border-color: rgba(lighten($accent2, 20%), .8);
}
@include placeholder {
color: contrasted(darken($base, 3%));
}
}
input[type="submit"],
button,
a.button,
a.btn,
.button,
.btn {
@include border-radius(3px);
@include transition;
display: inline-block;
padding: 4px 5px 5px;
font-size: ($fontsize - 1px);
color: contrasted($accent2);
text-decoration: none;
cursor: pointer;
border: 1px solid $accent2;
background: $accent2;
&:focus {
border-color: rgba($accent2, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba($accent2, 0.6);
}
&:hover {
color: contrasted(darken($accent2, 25%));
background: darken($accent2, 25%);
}
}
input[type="radio"],
input[type="checkbox"] {
width: auto !important;
display: inline-block;
vertical-align: baseline !important;
&:focus {
border-color: none;
box-shadow: none;
}
&:hover {
border-color: none;
}
}
button[disabled],
input[disabled] {
cursor:default;
}
/* =Basic Page Structure
-------------------------------------------------------------- */
.webcom-container {
position: relative;
@if $responsive == true {
max-width: ($desktop + 32px);
padding: 0 16px;
} @else {
width: $desktop;
}
margin: 0 auto;
height: 100%;
&:not(.flex) {
@extend .cf;
}
}
blockquote {
margin-bottom: 1.5em;
padding: 1.5em;
font-style: italic;
border-left: 1px solid $accent2;
background: shading($accent2, 56%);
color: contrasted(shading($accent2, 90%));
}
hr {
height: 1px;
margin: 2em 0;
border: none;
background: #ccc;
&:first-child {
margin-top: 0;
}
}
img, embed, iframe, object, video {
max-width: 100%;
margin-top: 1em;
border: none;
&:first-child {
margin-top: 0;
}
}
img {
height: auto;
}
code {
padding: 0.15em;
background: darken($base, 10%);
@include border-radius(3px);
font-size: 0.75em;
line-height: 1.35em;
font-family: monospace;
}
pre {
margin-top: 1em;
margin-right: 1em;
margin-left: 1em;
padding: 1.5em;
border: 1px solid darken($base, 10%);
@include border-radius(3px);
font-size: 0.75em;
font-family: monospace;
color: lighten($primary, 40%);
overflow:auto;
code {
display: block;
}
}
address {
margin-top: 1em;
}
table {
margin-top: 1em;
border-collapse: collapse;
max-width: 100%;
// If a cellspacing is specified via HTML, then reset the border-collapse.
&[cellspacing] {
border-collapse: separate;
}
// If a border is specified via HTML then do not apply a border.
&:not([border]) {
th {
border-bottom: 3px solid #ddd;
border-top: none;
border-left: none;
border-right: none;
}
tr {
border-bottom: 1px solid #ddd;
border-top: none;
border-left: none;
border-right: none;
}
}
// On mobile devices make tables side scroll.
@include bp($mobile) {
width: 100% !important;
overflow-x: auto;
display: block;
}
caption {
margin-top: 1em;
font-size: 0.75em;
}
th {
text-align: left;
}
// If no cellpadding is specified via HTML then set our own.
&:not([cellpadding]) th,
&:not([cellpadding]) td {
padding: 0.5em;
}
td,
th {
@include bp($mobile) {
white-space: nowrap;
}
}
.comment-content & {
border-bottom: 1px solid darken($base, 10%);
td {
border-top: 1px solid darken($base, 10%);
}
}
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Hide Scorecard & WordPress Stats
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
.scorecard,
#wpstats {
display: none;
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Content & Editor Link Styles
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
.mceContentBody a {
@extend %post-editor-link;
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Break long words and links that extend past the viewport
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
.webcom-wrapper,
.webcom-footer-wrapper {
word-wrap: break-word;
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Other Tags
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
abbr, dfn, acronym {
border-bottom: 1px dotted lighten($primary, 40%);
cursor: help;
}
/* Nice looking Bullet Points */
.site-content, .wp-editor, .widget {
ol {
margin: 1em 0 0;
ol {
margin-top: 0;
}
ul {
margin-top: 0;
li {
margin-top: 0;
}
}
}
ul {
margin: 1em 0 0;
&.pretty-bullets {
list-style: none;
ul {
list-style: none;
}
li {
&:before {
content: '\f101';
margin-left: -1.5em;
font-family: 'FontAwesome';
color: $accent1;
float: left;
}
}
ol {
li {
&:before {
content: none;
margin: 0;
}
}
}
}
ul {
margin: 0;
}
ol {
margin-top: 0;
li {
margin-top: 0;
}
}
&[style*="list-style"] {
> li:before {
content: none;
margin: 0;
}
}
}
}
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// Tables
// =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
table.data tr:nth-child(odd) {
background: darken($accent1, 2%);
color: contrasted(darken($accent1, 2%));
}
table.data tr:nth-child(even) {
background: darken($accent1, 4%);
color: contrasted(darken($accent1, 4%));
}
table.data tr:hover {
background: darken($accent1, 8%);
color: contrasted(darken($accent1, 8%));
}
table.data tr th {
font-weight: bold;
padding: 5px;
border: none;
text-align: center;
background: darken($accent1, 12%);
color: contrasted(darken($accent1, 12%));
border-bottom: 1px solid darken($accent1, 18%);
}