Files
freeCodeCamp/client/less/main.less

1139 lines
19 KiB
Plaintext
Raw Normal View History

@import "lib/bootstrap/bootstrap";
@import "lib/bootstrap-social/bootstrap-social";
2014-07-01 17:04:45 -04:00
@import "lib/ionicons/ionicons";
@import "lib/animate";
2015-01-25 10:35:41 -08:00
@import "lib/bootstrap/variables";
2014-11-07 17:00:27 -08:00
html,body,div,span,a,li,td,th {
font-family: 'Lato', sans-serif;
}
2015-10-19 14:46:17 -07:00
bold {
2015-10-30 15:43:50 -07:00
font-family: 'Lato-Bold', sans-serif;
font-weight: Bold;
2015-10-19 14:46:17 -07:00
}
2015-01-08 22:31:15 -08:00
li, .wrappable {
white-space: pre; /* CSS 2.0 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: pre-line; /* CSS 3.0 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP Printers */
word-wrap: break-word; /* IE 5+ */
}
pre.wrappable {
white-space: pre; /* CSS 2.0 */
white-space: pre-wrap; /* CSS 2.1 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -hp-pre-wrap; /* HP Printers */
word-wrap: break-word; /* IE 5+ */
}
2014-05-11 04:04:39 -04:00
html {
position: relative;
min-height: 100%;
// hack to prevent horizontal overflow problem on showHTML view
overflow-x: hidden;
2014-01-24 02:14:40 -05:00
}
//input[type=checkbox] {
// /* Double-sized Checkboxes */
// -ms-transform: scale(2); /* IE */
// -moz-transform: scale(2); /* FF */
// -webkit-transform: scale(2); /* Safari and Chrome */
// -o-transform: scale(2); /* Opera */
// padding: 10px;
//}
.btn-group {
border-color: @brand-primary;
}
2015-01-27 15:05:51 -08:00
body.full-screen-body-background {
2016-01-10 23:49:09 -06:00
background-color: @body-bg;
2015-01-27 15:05:51 -08:00
}
body.top-and-bottom-margins {
padding-top: 80px;
margin-bottom: 60px;
}
2013-12-12 01:35:18 -05:00
body.no-top-and-bottom-margins {
2016-02-04 11:24:09 -05:00
margin: 75px 20px 0px 20px;
}
2013-12-12 01:35:18 -05:00
body.react-layout {
margin-top: 75px;
2016-07-30 01:04:40 +05:30
margin-bottom: 15px;
width: auto;
padding-left: 15px;
padding-right: 15px;
min-height: 650px;
}
h1, h2 {
font-weight: 400;
}
2014-10-18 14:53:32 -07:00
h1, h2, h3, h4, h5, h6, p, li {
padding-top: 5px;
padding-bottom: 5px;
}
// Alerts
2014-03-07 14:40:01 -05:00
// -------------------------
.alert {
margin-top: 20px;
2014-03-07 14:40:01 -05:00
}
2014-06-05 14:18:51 -04:00
// Thumbnails
2014-03-07 14:40:01 -05:00
// -------------------------
2014-06-05 14:18:51 -04:00
.thumbnail {
background-color: #EEEEEE;
// box-shadow: 0 0 5px #ccc, inset 0 0 0 #000;
}
2014-07-01 18:00:28 -04:00
// Font Icons
2014-03-07 14:40:01 -05:00
// -------------------------
2014-07-01 18:00:28 -04:00
.fa,
[class^='ion-'] {
margin-right: 5px;
}
.fa:hover {
text-decoration: none;
}
.no-link-underline {
text-decoration: none;
}
2014-10-13 14:14:51 -07:00
.img-center {
margin: 0 auto;
}
2014-10-13 14:14:51 -07:00
.btn-cta {
font-size: 40px;
}
2014-10-13 14:14:51 -07:00
2016-01-11 17:36:05 -08:00
.shadow {
2015-04-30 15:56:14 -07:00
white-space: normal;
-webkit-box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
-moz-box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
box-shadow: 2px 4px 1px rgba(0, 0, 0, 0.3);
}
2014-10-13 14:14:51 -07:00
.btn-nav {
2014-11-07 16:45:19 -08:00
margin-top: 10px;
2014-10-13 18:00:37 -07:00
}
.large-li > li {
2014-10-13 18:00:37 -07:00
list-style: none;
}
2014-11-02 12:24:37 -08:00
.panel-heading {
font-size: 25px;
}
.panel-heading > h1 {
font-size: 25px;
padding: 2px;
margin: 2px;
}
2014-10-21 18:00:56 -07:00
.navbar-brand {
2014-10-22 07:59:39 -07:00
font-size: 26px;
2014-10-21 18:00:56 -07:00
}
.navbar > .container {
width: auto;
padding-left: 0px;
padding-right: 0px;
}
2014-10-23 23:07:52 -07:00
.nav-height {
2014-10-24 18:51:32 -07:00
height: 50px;
2014-12-11 17:59:01 -08:00
border: none;
2014-10-23 23:07:52 -07:00
}
2014-10-21 18:00:56 -07:00
.landing-icon {
2015-01-30 14:01:54 -08:00
height: 200px;
width: 200px;
2014-10-21 18:00:56 -07:00
}
2015-09-14 00:02:42 -07:00
.completion-icon {
2014-10-21 18:00:56 -07:00
font-size: 150px;
}
2015-09-14 00:02:42 -07:00
.positive-15 {
margin-top: 15px;
}
.positive-20 {
margin-top: 20px;
}
2015-06-07 21:49:14 -07:00
.positive-15-bottom {
margin-bottom: 15px;
2015-03-08 18:48:20 +09:00
}
2015-09-14 00:02:42 -07:00
.positive-10 {
margin-top: 10px;
2015-03-08 18:48:20 +09:00
}
2015-09-14 00:02:42 -07:00
.positive-5 {
margin-top: 5px;
2014-11-30 19:05:06 -08:00
}
2015-09-14 00:02:42 -07:00
.negative-5 {
margin-top: -5px;
}
.negative-10 {
margin-top: -10px;
}
2015-09-14 00:02:42 -07:00
.negative-15 {
margin-top: -15px;
2015-03-05 07:49:55 +09:00
}
2015-09-14 00:02:42 -07:00
.negative-20 {
margin-top: -20px;
}
2015-09-14 00:02:42 -07:00
.negative-28 {
margin-top: -28px;
}
2015-09-14 00:02:42 -07:00
.negative-30 {
margin-top: -30px;
}
2015-09-14 00:02:42 -07:00
.negative-30-bottom {
margin-bottom: -30px;
2014-12-11 17:59:01 -08:00
}
2015-09-14 00:02:42 -07:00
.negative-35 {
margin-top: -35px;
}
2015-09-14 00:02:42 -07:00
.negative-55 {
margin-top: -55px;
margin-bottom: -55px;
2015-06-06 22:51:39 -07:00
}
.large-p {
font-size: 24px;
2014-10-23 23:07:52 -07:00
}
2014-10-24 18:51:32 -07:00
2016-01-15 04:03:31 -08:00
.small-p {
font-size: 14px;
}
.map-p {
font-size: 20px;
}
.map-row-numbers {
text-align: right;
padding-right: 5px;
padding-left: 5px;
}
2015-11-20 01:25:49 -06:00
.link-table td{
font-size: 16px;
border-top: none !important;
@media (min-width: 767px) {
font-size: 24px;
}
2015-06-04 01:01:48 -07:00
}
.capitalize {
text-transform: capitalize;
}
2014-10-24 18:51:32 -07:00
.text-success {
color: @brand-primary;
2014-10-24 18:51:32 -07:00
}
.fast-animation {
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
2014-10-25 10:27:09 -07:00
}
.disabled {
pointer-events: none;
cursor: default;
color: graytext !important;
}
.hidden-element {
display: none;
}
2014-11-07 13:25:08 -08:00
.nav-logo {
height: 40px;
margin-top: -10px;
@media (max-width: 397px) {
2014-11-07 13:25:08 -08:00
height: 30px;
margin-top: -5px;
}
@media (max-width: 335px) {
height: 25px;
margin-top: -2px;
}
2014-11-07 13:25:08 -08:00
}
.navbar-right {
@media (min-width: 767px) {
margin-right:0;
}
@media (max-width: 991px) and (min-width: 767px) {
position: absolute;
left: 0;
2015-09-14 00:02:42 -07:00
right: 0;
margin-right: 0px;
white-space: nowrap;
}
2016-01-10 23:49:09 -06:00
background-color: @brand-primary;
2016-01-09 22:12:32 -06:00
text-align: center;
}
2014-11-07 13:25:08 -08:00
.navbar {
white-space: nowrap;
2015-01-17 16:09:35 -08:00
border: none;
2015-07-26 05:07:42 +00:00
line-height: 1;
@media (min-width: 767px) {
padding-left: 15px;
padding-right: 30px;
}
2014-11-07 13:47:39 -08:00
}
li.avatar, li.avatar > a { padding:0; margin:0 }
2015-06-01 23:27:33 -07:00
.thin-progress-bar {
height: 8px;
2015-09-14 00:02:42 -07:00
margin-top: 3px;
margin-bottom: 0px;
2015-06-01 23:27:33 -07:00
width: 60%;
margin-right: auto;
margin-left: auto;
}
2014-11-07 13:47:39 -08:00
.panel-body {
2014-11-07 16:45:19 -08:00
margin-bottom: -6px;
2014-11-07 13:25:08 -08:00
}
.lb-container {
padding: 0px;
}
.btn-social {
width: 250px;
margin: auto;
}
.btn-link-social {
max-width: 400px;
2014-12-24 00:07:20 -08:00
margin: auto;
margin-bottom: 10px;
}
.navbar {
2016-01-10 23:49:09 -06:00
background-color: @brand-primary;
}
a {
font-weight: bold;
}
p {
2016-01-15 17:19:39 -08:00
font-size: 16px;
}
.map-aside-body p {
line-height: 1.8;
}
2014-12-30 10:45:19 -08:00
.navbar-nav > li > a {
2016-01-10 23:49:09 -06:00
color: @body-bg;
&:hover {
2016-01-10 23:49:09 -06:00
color: @brand-primary;
}
}
2014-11-30 19:05:06 -08:00
.hug-top {
2014-12-11 17:59:01 -08:00
margin-top: -35px;
2014-11-30 19:05:06 -08:00
margin-bottom: -10px;
}
.nonprofit-landing {
font-size: 50px;
}
.big-text {
font-size: 63px;
2014-11-30 19:05:06 -08:00
}
2014-12-04 15:55:37 -08:00
.signup-btn.btn {
background-color: #ffac33;
background-image: linear-gradient(#ffcc4d, #ffac33);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffcc4d, endColorstr=#ffac33, GradientType=0)";
border-color: #f1a02a;
2014-12-30 12:38:45 -08:00
color: #292f33 !important;
2014-12-04 15:55:37 -08:00
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.signup-btn:hover, .signup-btn:focus {
background-color: #e99110;
background-image: linear-gradient(#ffcc4d, #e99110);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffcc4d, endColorstr=#e99110, GradientType=0)";
border-color: #ec8b11;
2014-12-30 12:38:45 -08:00
color: #292f33 !important;
2014-12-04 15:55:37 -08:00
}
.signup-btn:active {
background-color: #f2a330;
background-image: none;
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3);
}
2015-09-14 00:02:42 -07:00
*, *:before, *:after {
box-sizing: border-box !important;
}
.btn-big {
2016-01-15 03:11:47 -08:00
font-size: 20px;
border-radius: 6px;
}
2016-01-15 05:04:44 -08:00
.btn-bigger {
font-size: 30px;
}
.big-text-field {
2015-03-08 11:53:03 +09:00
font-size: 30px;
height: 57px;
background-color: @body-bg !important;
}
h4 {
2016-01-15 18:00:13 -08:00
font-size: 22px;
}
.no-transition {
-webkit-transition: height 0.001s;
-moz-transition: height 0.001s;
-ms-transition: height 0.001s;
-o-transition: height 0.001s;
transition: height 0.001s;
}
.margin-left-10 {
margin-left: 10px;
}
.btn-responsive {
2015-03-08 11:53:03 +09:00
@media (max-width: 768px) {
font-size: 15px;
height: 26.5px;
padding-top: 1px;
}
}
.field-responsive {
2015-03-08 11:53:03 +09:00
@media (max-width: 768px) {
font-size: 15px;
height: 26.5px;
}
2015-03-05 17:30:05 -08:00
}
2014-12-05 23:10:02 -08:00
thead {
font-size: 150%;
2014-12-17 23:59:28 -08:00
}
.nowrap {
white-space: nowrap;
}
.big-break {
margin-top: 50px;
margin-bottom: 50px;
}
.profile-picture {
height: 50px;
width: 50px;
}
.brownie-points-nav {
@media (min-width: 991px) and (max-width: 999px) {
margin-right: -10px;
}
}
.navbar-nav a {
2016-01-10 23:49:09 -06:00
color: @body-bg;
font-size: 20px;
margin-top: -5px;
2014-12-30 12:38:45 -08:00
margin-bottom: -5px;
2014-12-30 11:40:37 -08:00
}
2014-12-30 11:40:37 -08:00
.navbar-toggle {
2016-01-10 23:49:09 -06:00
color: @body-bg;
&:hover,
&:focus {
color: #4a2b0f;
}
2014-12-30 12:38:45 -08:00
}
2014-12-30 12:38:45 -08:00
.signup-btn-nav {
2015-09-14 00:02:42 -07:00
margin-top: -2px !important;
2014-12-30 12:38:45 -08:00
padding-top: 10px !important;
padding-bottom: 10px !important;
margin-right: -12px;
2016-01-09 22:12:32 -06:00
@media (min-width: 991px) and (max-width: 1010px) {
margin-left: -10px;
margin-right: -5px;
}
}
a[href="/email-signup"], a[href="/email-signin"] {
&.btn-social.btn-lg > :first-child {
line-height:43px;
font-size:26px;
}
}
2016-05-03 10:54:56 +05:30
form.update-email .btn{
margin:0;
width:40%;
display:inline-block;
&:last-child {
float:right;
}
}
.public-profile-img {
height: 200px;
width: 200px;
2015-01-08 23:27:14 -08:00
border-radius: 5px;
}
.ng-invalid.ng-dirty {
border-color: #FA787E;
}
.ng-valid.ng-dirty {
border-color: #78FA89;
}
2015-01-08 22:31:15 -08:00
.flat-top {
margin-top: -5px;
2015-01-08 23:27:14 -08:00
}
.negative-bottom {
margin-bottom: -20px;
}
.min-height-1000 {
min-height: 1000px;
}
.points-on-top {
2016-01-10 23:49:09 -06:00
color: @body-bg;
font-size: 35px;
z-index: 2;
width: 60%;
margin: 0 auto;
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
}
2015-01-15 17:21:12 -08:00
.landing-skill-icon {
2016-01-10 23:49:09 -06:00
color: @brand-primary;
2015-01-15 21:39:01 -08:00
font-size: 150px;
2015-01-15 17:21:12 -08:00
}
2015-12-09 14:13:18 -06:00
.custom-landing-skill-icon {
margin-top: -15px;
padding-bottom: 15px;
}
2015-01-15 17:21:12 -08:00
.black-text {
color: #333;
font-weight: 400;
font-size: 40px;
}
2015-01-15 19:04:24 -08:00
.font-awesome-padding {
2015-01-15 21:39:01 -08:00
margin-top: 45px;
2015-01-15 19:04:24 -08:00
margin-bottom: 20px;
}
.background-svg {
width: 220px;
height: 220px;
background-image: url("https://s3.amazonaws.com/freecodecamp/certificate-icon.svg");
background-size: 120%;
background-repeat: no-repeat;
background-position: center;
}
2015-01-15 19:04:24 -08:00
2015-01-15 17:21:12 -08:00
.testimonial-image {
border-radius: 5px;
height: 200px;
width: 200px;
2015-02-10 12:46:34 -08:00
color: #009900
2015-01-15 17:21:12 -08:00
}
.testimonial-image-jobs {
border-radius: 5px;
color: #009900
}
2015-08-04 14:58:04 -07:00
.default-border-radius {
border-radius: 5px;
}
2015-12-09 15:39:36 -06:00
.height-500 {
2015-10-12 01:22:11 -07:00
height: 500px;
2015-10-06 21:28:00 -07:00
}
.height-400 {
height: 400px;
2015-12-09 15:39:36 -06:00
}
2015-01-15 17:21:12 -08:00
.testimonial-copy {
2015-10-14 21:42:29 -07:00
text-align: justify;
font-size: 18px !important;
margin-left: 20px;
margin-right: 20px;
2015-01-15 19:04:24 -08:00
@media (min-width: 991px) and (max-width: 1199px) {
2016-01-09 00:59:31 -06:00
height: 150px;
2015-01-15 19:04:24 -08:00
}
@media (min-width: 1200px) {
2016-01-09 00:59:31 -06:00
height: 100px;
2015-01-15 19:04:24 -08:00
}
2015-01-15 17:21:12 -08:00
}
.nonprofit-testimonial-copy {
text-align: justify;
font-size: 18px !important;
margin-left: 20px;
margin-right: 20px;
@media (min-width: 991px) and (max-width: 1199px) {
2016-02-22 15:30:08 -08:00
height: 300px !important;
}
@media (min-width: 1200px) {
2016-02-22 15:30:08 -08:00
height: 200px !important;
}
}
.navbar-collapse {
border-top: 0;
2015-01-17 16:09:35 -08:00
}
.challenge-list-header {
2016-01-10 23:49:09 -06:00
background-color: @brand-primary;
2015-09-14 00:02:42 -07:00
color: @gray-lighter;
font-size: 36px;
text-align: center;
margin-bottom: -30px;
border-radius: 5px 5px 0px 0px;
padding-left: 50px;
}
.closing-x {
2015-09-14 00:02:42 -07:00
color: @gray-lighter;
font-size: 50px;
text-align: right;
}
2015-01-17 14:16:29 -08:00
.fcc-footer {
width: 100%;
2015-04-07 00:11:31 -07:00
height: 50px;
2015-01-17 14:16:29 -08:00
text-align: center;
2016-01-10 23:49:09 -06:00
background-color: @brand-primary;
2015-04-07 00:11:31 -07:00
padding: 12px;
2015-01-17 14:16:29 -08:00
bottom: 0;
left: 0;
2015-01-17 14:16:29 -08:00
position: absolute;
a {
2015-04-07 00:11:31 -07:00
font-size: 20px;
2015-09-14 00:02:42 -07:00
color: @gray-lighter;
2015-04-07 00:11:31 -07:00
margin-left: 0px;
margin-right: 0px;
padding-left: 10px;
padding-right: 10px;
2015-08-22 14:58:59 -07:00
padding-top: 14px;
padding-bottom: 12px;
2015-01-17 14:16:29 -08:00
&:hover {
2016-01-10 23:49:09 -06:00
color: @brand-primary;
2015-09-14 00:02:42 -07:00
background-color: @gray-lighter;
2015-01-17 14:16:29 -08:00
text-decoration: none;
}
}
}
.embed-responsive-twitch-chat {
padding-bottom: 117%;
}
2015-05-03 14:45:46 -07:00
.graph-rect {
fill: #ddd !important
}
.scroll-locker {
overflow-x: hidden;
overflow-y: auto;
}
2015-01-25 10:35:41 -08:00
.test-vertical-center {
margin-top: 8px;
}
.courseware-height {
min-height: 650px;
}
2016-01-11 18:56:15 -06:00
.btn {
2016-01-15 02:26:15 -08:00
font-weight: 400;
white-space: normal;
2015-10-31 22:48:42 -07:00
background: transparent;
2016-01-11 17:36:05 -08:00
2015-10-31 22:48:42 -07:00
-webkit-transition: background .2s ease-in-out, border .2s ease-in-out;
-moz-transition: background .2s ease-in-out, border .2s ease-in-out;
-ms-transition: background .2s ease-in-out, border .2s ease-in-out;
-o-transition: background .2s ease-in-out, border .2s ease-in-out;
transition: background .2s ease-in-out, border .2s ease-in-out;
}
.population-table {
font-size:30px;
width:460px;
margin:0 auto;
padding:0;
h2 {
margin:0;
text-align: left;
}
.tag {
width:165px;
display:inline-block;
}
.text-primary {
margin-right:5px;
}
@media (max-width: 767px) {
font-size: 16px;
width: 260px;
.tag {
width:95px;
}
}
}
@media (max-width: 991px) {
.navbar-header {
float: none;
}
.navbar-toggle {
display: block;
}
.navbar-collapse.collapse {
display: none !important;
}
.navbar-nav {
margin-top: 0;
}
.navbar-nav > li {
float: none;
}
.navbar-nav > li > a {
padding-top: 10px;
padding-bottom: 10px;
}
.navbar-text {
float: none;
margin: 15px 0;
}
/* since 3.1.0 */
.navbar-collapse.collapse.in {
display: block !important;
}
.collapsing {
overflow: hidden !important;
position: absolute;
left: 0;
right: 0;
}
}
.navbar-toggle {
width: 80px;
padding-left: 0;
padding-right: 8px;
margin: 7px 2px 7px 0;
2015-09-14 00:02:42 -07:00
text-align: left;
font-size: 10px;
}
.hamburger-text {
line-height: 0.75em;
margin-top: 10px;
2015-06-05 22:11:30 -07:00
font-size: 18px;
}
.story-list {
padding-bottom: 30px;
margin-bottom: 30px;
}
.button-spacer {
2016-02-04 11:24:09 -05:00
padding: 5px 0;
}
.spacer {
padding: 15px 0 15px 0;
}
2015-03-08 18:48:20 +09:00
//.media ~ .media .media-body-wrapper:nth-child(odd) {
// background-color: #e5e5e5;
//}
2015-11-03 17:37:58 -08:00
.landing-heading {
font-size: 50px !important;
}
2015-04-30 15:56:14 -07:00
hr {
2015-11-03 17:37:58 -08:00
border: 0;
height: 1px;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
2015-04-30 15:56:14 -07:00
}
.big-spacer {
padding: 30px 0 30px 0;
}
#reply-to-main-post, #upvote {
cursor: pointer;
}
.btn-no-shadow {
-webkit-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
-moz-box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
}
2015-05-01 23:05:37 -07:00
.dotted-underline {
border-bottom: dashed 1px @brand-success;
}
.d3-centered {
width: 771px;
margin: 0 auto;
}
.cal-heatmap-container {
2016-01-10 23:49:09 -06:00
background-color: @body-bg;
}
2015-04-01 22:31:08 -07:00
.interested-camper-image {
height: 50px;
width: 50px;
padding: 5px;
}
2015-04-28 22:29:59 -07:00
.mobile-story-image {
border-radius: 5px;
width: 100%;
@media (max-width: 768px) {
margin-right: 5px;
2015-04-28 22:29:59 -07:00
}
}
.alert a {
text-decoration: underline;
}
.step-text {
line-height: 120%;
padding-bottom: 10px;
}
2015-04-18 14:17:10 -07:00
.faded {
opacity: 0.5;
}
2015-04-18 14:17:10 -07:00
.slightly-faded {
opacity: 0.75;
}
2015-04-18 14:17:10 -07:00
.padded-ionic-icon {
padding-top: 5px;
}
.checklist-element {
margin-left: -60px;
margin-right: -20px;
}
.profile-social-icons {
margin-left: 8px;
}
2015-04-28 22:29:59 -07:00
.border-radius-5 {
border-radius: 5px;
}
code {
padding: 1px 5px;
}
2015-06-15 18:00:13 -07:00
// Calculator styles
2015-06-15 21:44:19 -07:00
2015-06-15 18:00:13 -07:00
.chart rect {
fill: steelblue;
}
.chart text {
2015-06-16 12:32:12 -07:00
font-size: 14px;
2015-06-15 18:00:13 -07:00
text-anchor: end;
}
.axis path,
.axis line {
fill: none;
stroke: #121401;
stroke-width: 2px;
shape-rendering: crispEdges;
}
2015-10-08 16:42:24 -07:00
.gitter-chat-embed {
z-index: 20000 !important;
2015-10-08 16:42:24 -07:00
}
//uncomment this to see the dimensions of all elements outlined in red
//* {
// border-color: red;
// border-width: 1px;
// border-style: solid;
2015-01-18 19:10:03 -05:00
//}
2015-08-26 15:17:19 -07:00
// source: https://github.com/jlong/css-spinners/blob/master/css/spinner/inner-circles.css
// license MIT
/* :not(:required) hides this rule from IE9 and below */
.inner-circles-loader:not(:required) {
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
position: relative;
display: inline-block;
width: 125px;
height: 125px;
background: rgba(25, 165, 152, 0.5);
border-radius: 50%;
overflow: hidden;
text-indent: -9999px;
margin-top: 10%;
/* Hides inner circles outside base circle at safari */
-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}
.inner-circles-loader:not(:required):before, .inner-circles-loader:not(:required):after {
content: '';
position: absolute;
top: 0;
display: inline-block;
width: 125px;
height: 125px;
border-radius: 50%;
}
.inner-circles-loader:not(:required):before {
-moz-animation: inner-circles-loader 3s infinite;
-webkit-animation: inner-circles-loader 3s infinite;
animation: inner-circles-loader 3s infinite;
-moz-transform-origin: 0 50%;
-ms-transform-origin: 0 50%;
-webkit-transform-origin: 0 50%;
transform-origin: 0 50%;
left: 0;
background: #c7efcf;
}
.inner-circles-loader:not(:required):after {
-moz-animation: inner-circles-loader 3s 0.2s reverse infinite;
-webkit-animation: inner-circles-loader 3s 0.2s reverse infinite;
animation: inner-circles-loader 3s 0.2s reverse infinite;
-moz-transform-origin: 100% 50%;
-ms-transform-origin: 100% 50%;
-webkit-transform-origin: 100% 50%;
transform-origin: 100% 50%;
right: 0;
background: #eef5db;
}
@-moz-keyframes inner-circles-loader {
0% {
-moz-transform: rotate(0deg);
transform: rotate(0deg);
}
50% {
-moz-transform: rotate(360deg);
transform: rotate(360deg);
}
100% {
-moz-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@-webkit-keyframes inner-circles-loader {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
50% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@keyframes inner-circles-loader {
0% {
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
50% {
-moz-transform: rotate(360deg);
-ms-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
100% {
-moz-transform: rotate(0deg);
-ms-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
2015-10-16 13:28:53 -07:00
.night {
2016-04-11 18:24:19 -04:00
background-color: @night-body-bg;
color: @night-text-color;
.btn-group,
.text-success,
.challenge-list-header,
.fcc-footer {
2016-04-11 18:24:19 -04:00
background-color: @night-body-bg;
}
hr {
background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
}
.navbar-default .navbar-nav > li > a {
color: #CCC;
&:hover {
background-color: #666;
}
}
2016-04-11 18:24:19 -04:00
a, .input-group-addon, .challenge-instructions a, .challenge-instructions #MDN-links a {
color: #CCC;
}
2016-04-11 18:24:19 -04:00
.fa-github-square {
color: @brand-primary;
&:hover {
color: #CCC;
}
}
.black-text {
color:#111;
}
code {
2016-04-11 18:24:19 -04:00
background-color: #999;
color: @brand-primary;
}
.fcc-footer {
a {
&hover {
2016-04-11 18:24:19 -04:00
background-color: @night-body-bg;
}
}
}
.btn-primary {
2016-04-11 18:24:19 -04:00
background-color: @brand-primary;
border-color: #292929;
color:#CCC;
transition: color 0.2s, background-color 0.2s;
&:hover {
background-color: #ABABAB!important;
2016-04-11 18:24:19 -04:00
color: @night-body-bg!important;
}
}
2016-04-11 18:24:19 -04:00
//** Profile's activity board
.cal-heatmap-container {
background-color: @night-body-bg;
}
.graph-rect {
fill: @night-text-color !important
}
//** Profile's odd rows
.table-striped > tbody > tr:nth-child(odd) {
background-color: @gray;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
border-color: @night-text-color;
}
}
2016-07-02 10:51:48 +05:30
//make about page contact table reponsive on small screens
@media only screen
and (max-width : 400px) {
table.response-table td {
width: 100%;
display: block;
}
}
// make btn-default hover more visible
.btn-default:active,
.btn-default:hover {
background-color: @brand-primary;
}
// user bio
.bio {
font-size: 17px;
}
2015-10-16 13:28:53 -07:00
@import "chat.less";
2015-10-19 14:19:04 -07:00
@import "jobs.less";
@import 'code-mirror.less';
2015-12-21 09:27:04 -08:00
@import "challenge.less";
2016-01-07 14:51:41 -08:00
@import "toastr.less";
2016-07-28 00:12:32 -07:00
@import "map.less";
@import "drawers.less";