Skip to content

Instantly share code, notes, and snippets.

@LaocheXe
Created May 11, 2016 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LaocheXe/626e1a76f0ed6deac05651816da5e0bd to your computer and use it in GitHub Desktop.
Save LaocheXe/626e1a76f0ed6deac05651816da5e0bd to your computer and use it in GitHub Desktop.
3rdstyle.css
/* New Column Class for width < 558px */
@media (max-width: 558px) {
.col-xxs-12 {
position: relative;
min-height: 1px;
width: 100%;
float: none;
}
}
/* Move down content because we have a fixed navbar that is 50px tall */
body {
padding-top: 50px;
padding-bottom: 20px;
background: #366 url(../images/site-bg.png) repeat scroll 0 0;
color: #CCC;
}
/* fix wrapping in gallery portfolio */
.row > .col-md-4:nth-child(4n+1) {
clear:both;
}
#sidebar {
padding-top:20px;
}
.alert {
margin-top:20px
}
modal-lg { width: 70% }
img.logo {
margin-top: -5px;
margin-right: 5px;
}
/* Make posted content images responsive too */
.bbcode-img { display: block; max-width: 100%; height: auto; }
/* Four Menu Classic */
.ffimgfix { display:block; }
.panel {
margin-top: 20px;
/*background-color: #284a16;*/
background-color: rgba(57, 71, 37, .5);
}
.panel-default {
border-color: #b4a340;
}
.nav > li > a:focus, .nav > li > a:hover {
background-color: #000;
text-decoration: none;
}
/* Header 1 and 2 */
.h2, h2 {
font-size: 30px;
text-align: center;
}
/* full width style */
/* Sign in Page */
.form-signin {
max-width: 330px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
position: relative;
font-size: 16px;
height: auto;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="text"] {
margin-bottom: -1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
/* Page Sections */
.section,
.section-colored {
padding: 50px 0;
}
.section-colored {
/* background-color: #e1e1e1; /* change this to change the background color of a colored section */
}
.well {
background-color: transparent;
border: 0px solid;
border-radius: 0px;
box-shadow: 0 0px 0px rgba(0, 0, 0, 0.00) inset;
margin-bottom: 20px;
min-height: 20px;
padding: 19px;
}
.img-home-portfolio, .img-customer, .portfolio-item {
margin-bottom: 30px;
}
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
/* Carousel base class */
.featurebox.carousel {
min-height:460px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
z-index: 10;
}
/* Nav Bar Color */
.navbar-inverse {
background-color: #284a16;
border-color: #b4a340;
}
/* Declare heights because of positioning of img element */
.featurebox.carousel .item {
min-height:460px;
background-color: #CCCCCC;
}
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right {
margin-top: 25px;
}
img.featurebox { border-radius: 5px }
.xurl-social-icons a {
color: inherit;
text-decoration: none;
opacity: .7;
padding-left:15px;
transition: opacity .5s ease-out;
-moz-transition: opacity .5s ease-out;
-webkit-transition: opacity .5s ease-out;
-o-transition: opacity .5s ease-out;
}
.xurl-social-icons a:hover {
opacity: 1;
}
.btn-featurebox, .btn-cpage { margin-top:10px }
.tab-pane { padding-top:15px }
/* CUSTOM NAV SIZING WHILE SCROLLING */
nav a {
padding-top: 20px !important;
padding-bottom: 20px !important;
font-size: 15px;
}
nav .navbar-toggle {
margin: 8px 10px 8px 0;
}
.navbar-brand {
font-size: 25px;
}
nav.navbar.shrink {
min-height: 25px;
height: 35px;
}
nav.shrink a {
padding-top: 10px !important;
padding-bottom: 10px !important;
font-size: 12px;
}
nav.shrink .navbar-brand {
font-size: 15px;
}
nav.shrink .navbar-toggle {
padding: 4px 5px;
margin: 8px 15px 8px 0;
}
nav.shrink li.active a {
padding-top: 8px !important;
padding-bottom: 5px !important;
font-size: 12px;
}
/* CUSTOM Image Flipping Affect */
.flip-container {
perspective: 1000;
}
.flip-container:hover .flipper, .flip-container.hover .flipper {
transform: rotateY(180deg);
}
.flip-container, .front, .back {
width: 320px;
height: 480px;
}
.flipper {
transition: 0.6s;
transform-style: preserve-3d;
position: relative;
}
.front, .back {
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
}
.front {
z-index: 2;
transform: rotateY(0deg);
}
.back {
transform: rotateY(180deg);
}
/* FOUR WIDE */
.container_wide {
/* width: 1170px; *//* Commented out for wide */
margin-left: auto;
margin-right: auto;
padding-left: 15px;
padding-right: 15px;
}
/* CUSTOM Responsive Styles */
/* Extra small devices Phones (<768px) .col-xs */
@media all and (max-width: 767px) {
.featurebox .carousel-indicators { top:10px; }
.featurebox-item-image.pull-left, .featurebox-item-image.pull-right { margin-top: 30px; }
.news-images-main { padding-left: 0; padding-bottom:15px; padding-right:0}
}
/* Small devices Tablets .col-sm */
@media all and (min-width: 768px) and (max-width: 991px) {
.news-images-main { padding-left: 0; padding-bottom:5px }
}
/* Medium devices Desktops (≥992px) .col-md */
@media all and (min-width: 992px) and (max-width: 1199px) {
.news-images-main { padding-left: 0; padding-bottom:5px}
}
/* Large devices (large desktops, 1200px and up).col-lg */
@media all and (min-width: 1200px) {
.news-images-main { padding-left: 0; padding-bottom:5px}
}
/* DROP DOWN MENU */
.dropdown-menu {
/*background-clip: padding-box;
background-color: #fff;*/
background-color: rgba(57, 71, 37, .4);
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 4px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
display: none;
float: left;
font-size: 14px;
left: 0;
list-style: outside none none;
margin: 2px 0 0;
min-width: 160px;
padding: 5px 0;
position: absolute;
text-align: left;
top: 100%;
z-index: 1000;
color: #ccc;
}
.dropdown-menu > li > a {
clear: both;
color: #CCC;
display: block;
font-weight: 400;
line-height: 1.42857;
padding: 3px 20px;
white-space: nowrap;
}
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
background-color: #000;
color: #fff;
text-decoration: none;
}
.dropdown-submenu {
position:relative;
}
.dropdown-submenu>.dropdown-menu {
top:0;
left:100%;
margin-top:-6px;
margin-left:-1px;
-webkit-border-radius:0 6px 6px 6px;
-moz-border-radius:0 6px 6px 6px;
border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
display:block;
}
.dropdown-submenu>a:after {
display:block;
content:" ";
float:right;
width:0;
height:0;
border-color:transparent;
border-style:solid;
border-width:5px 0 5px 5px;
border-left-color:#ff0000;
margin-top:5px;
margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
border-left-color:#000;
}
.dropdown-submenu.pull-left {
float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
left:-100%;
margin-left:10px;
-webkit-border-radius:6px 0 6px 6px;
-moz-border-radius:6px 0 6px 6px;
border-radius:6px 0 6px 6px;
}
.btn-default {
background-color: #284a16;
border-color: #b4a340;
color: #CCC;
}
.btn-default.focus, .btn-default:focus {
background-color: #288c28;
border-color: #d6af40;
color: #fff;
}
.btn-default:hover {
background-color: #283713;
border-color: #d6af40;
color: #fff;
}
.btn-default.active, .btn-default:active, .open > .dropdown-toggle.btn-default {
background-color: #288c28;
border-color: #b4a340;
color: #fff;
}
.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default.focus:active, .btn-default:active:focus, .btn-default:active:hover, .open > .dropdown-toggle.btn-default.focus, .open > .dropdown-toggle.btn-default:focus, .open > .dropdown-toggle.btn-default:hover {
background-color: #288c28;
border-color: #ccca00;
color: #fff;
}
.panel-default > .panel-heading {
background-color: #284a16;
border-color: #b4a340;
color: #CCC;
}
.btn-primary {
background-color: #204a16;
border-color: #b4a340;
color: #fff;
}
.btn-primary.focus, .btn-primary:focus {
background-color: #288c28;
border-color: #d6af40;
color: #fff;
}
.btn-primary:hover {
background-color: #283713;
border-color: #d6af40;
color: #fff;
}
.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary {
background-color: #288c28;
border-color: #b4a340;
color: #fff;
}
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary.focus:active, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
background-color: #288c28;
border-color: #ccca00;
color: #fff;
}
hr {
border-color: #444 -moz-use-text-color -moz-use-text-color;
}
footer {
background-color: rgba(0, 0, 0, .5);
/* height: 155px;*/
}
a {
color: #999;
text-decoration: none;
}
a:focus, a:hover {
color: #fff;
text-decoration: underline;
}
.breadcrumb {
background-color: rgba(30, 44, 24, .7);
border-radius: 4px;
list-style: outside none none;
margin-bottom: 20px;
padding: 8px 15px;
}
.form-control {
background-color: #000;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
color: #fff;
display: block;
font-size: 14px;
height: 34px;
line-height: 1.42857;
padding: 6px 12px;
transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
width: 100%;
}
.form-control:focus {
border-color: #284a16;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(40, 74, 22, 0.6);
outline: 0 none;
}
.table-bordered > tbody > tr > td, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > td, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > thead > tr > th {
border: 1px solid #b4a340;
}
.table-striped > tbody > tr:nth-of-type(2n+1) {
background-color: rgba(6, 17, 0, .6);
}
.table-hover > tbody > tr:hover {
background-color: #000;
}
#forum-viewtopic li.forum-viewtopic-post {
background-color: rgba(69, 69, 69, .6);
border-top: 1px solid #b4a340;
padding: 15px 10px;
}
#forum-viewtopic li.forum-viewtopic-post:nth-child(2n+1) {
background: rgba(6, 17, 0, .6) none repeat scroll 0 0;
}
.forum-viewtopic-customtitle {
background-color: rgba(55, 55, 55, .5);
border: 1px solid #b4a340;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
display: block;
margin-top: -3px;
padding: 5px 15px;
text-align: center;
}
.label-info {
background-color: #000;
}
button, input, optgroup, select, textarea {
color: inherit;
font: inherit;
margin: 0;
background-color: #000;
}
.pager li > a, .pager li > span {
background-color: transparent;
border: 1px solid #ddd;
border-radius: 15px;
display: inline-block;
padding: 5px 14px;
}
.pager li > a:focus, .pager li > a:hover {
background-color: transparent;
text-decoration: none;
}
.selectize-dropdown, .selectize-input, .selectize-input input {
color: #fff;
font-family: inherit;
font-size: inherit;
line-height: 20px;
}
.selectize-input, .selectize-control.single .selectize-input.input-active {
background: #000 none repeat scroll 0 0;
cursor: text;
display: inline-block;
}
.selectize-input {
border: 1px solid #cccccc;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box;
display: inline-block;
overflow: hidden;
padding: 6px 12px;
position: relative;
width: 100%;
z-index: 1;
}
.selectize-control.multi .selectize-input.has-items {
padding: 5px 12px 2px;
}
.selectize-input.full {
background-color: #ffffff;
}
.nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: rgba(40, 74, 22, .6);
border-color: #b4a340 #b4a340 transparent;
border-image: none;
border-style: solid;
border-width: 1px;
color: #CCC;
cursor: default;
}
div.bbcode-panel {
-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: transparent;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, .0), rgba(230, 230, 230, .0));
background-repeat: repeat-x;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgb(179, 179, 179);
border-image: none;
border-radius: 4px;
border-style: solid;
border-width: 1px;
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}
.mce-container, .mce-container *, .mce-widget, .mce-widget *, .mce-reset {
background: rgba(40, 74, 22, .5) none repeat scroll 0 0;
border: 0 none;
box-sizing: content-box;
color: #fff;
cursor: inherit;
direction: ltr;
float: none;
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
font-size: 14px;
font-weight: normal;
height: auto;
line-height: normal;
margin: 0;
max-width: none;
outline: 0 none;
padding: 0;
position: static;
text-align: left;
text-decoration: none;
text-shadow: none;
vertical-align: top;
white-space: nowrap;
width: auto;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
background-color: #000;
opacity: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment