@import url("style.css");

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: transparent;
}
::-webkit-scrollbar-button {
  width: 0;
  height: 0;
}
::-webkit-scrollbar-thumb {
  background: #70bcff;
  border: 0;
  border-radius: 0;
}
::-webkit-scrollbar-thumb:hover {
  background: #70ebff;
}
::-webkit-scrollbar-thumb:active {
  background: #3da4ff;
}
::-webkit-scrollbar-track {
  background: transparent;
  border: 0;
  border-radius: 0;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

/* Menubar */
header {
  background: #2882CA;
}
header a,
header > label {
  color: #fff;
}
header a:hover,
header > label:hover {
  color: #fff;
  opacity: 1;
}
.active,
#tools:checked ~ label[for=tools],
#open-libraries:checked ~ label[for=open-libraries],
#download:checked ~ label[for=download],
#open-demos:checked ~ label[for=open-demos] {
  color: #fff;
  border-bottom: 2px solid #fff;
}

#charmenu {
  color: #797e83;
}
#charmenu a {
  color: #fff;
  text-shadow: 0 0  0.25em #333;
  border: 1px solid #2F6288;
  border-radius: 1em;
  background: #2E71A5;
}
#charmenu a:hover {
  background: #458FC8;
  border: 1px solid #2D74AB;
  opacity: 1;
}
#charmenu a:active {
  background: #366589;
  border: 1px solid #2F6288;
}

/* Dialogs */
.dialog a, h3 {
  color: #2882CA;
}
.dialog a:hover {
  color: #2882CA;
}
.dialog .large, .dialog .heading {
  margin: 0 10px;
}
.heading {
  font: 1.25em Lato;
  color: #2882CA;
}
.metaboxes > .heading:first-child {
  margin-top: 5px;
}
.metaboxes > .heading {
  background: #fff;
  margin-bottom: 15px;
}
.metaboxes > [data-output],
.metaboxes > [data-action=siteauthor],
.metaboxes > .heading:last-child {
  margin-bottom: 0;
}
.dialog {
  background: #fff;
  border: 1px solid #000;
}
.ldd-menu ul li a {
  color: #000;
}
.ldd-menu ul li a:hover{
  background: #2882CA;
  color: #fff;
}
.ldd-menu ul {
  border-left: 1px solid #DDD;
}
.ldd-heading {
  color: #0080FF;
}
.new {
  color: #0CF;
}

@media all and (max-width:924px) {
  .addlibrary-tablets .ldd-menu ul {
    border-top: 1px solid #DDD!important;
  }
}
@media all and (max-width:530px) {
  .adddemos-tablets .ldd-menu ul {
    border-top: 1px solid #DDD!important;
  }
}

/* Chrome Dialog */
.dialog-bg {
  background: rgb(255, 255, 255);
  background: rgba(255, 255, 255, 0.25);
}
.chromeappwindow, .socialdialog, .preprocessors {
  background: rgb(255, 255, 255);
}
.preprocessors h4 {
  color: #99A0A7;
}
.preprocessors select {
  display: block;
  width: 100%;
  margin-bottom: 1em;
}
.column > div {
  background: #000;
  background: rgba(34, 66, 108, 0.5);
  color: #fff;
}

/* Editor */
.CodeMirror {
  background: transparent;
}
.CodeMirror .cm-palette-hint {
  display: inline-block;
  box-sizing: border-box;
  margin: -2px 2px 0 6px;
  border-radius: 50%;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 1px 2px #fff,
              0 0 1px 3px #a0a09c;
}
#splitContainer {
  background: #fff;
}
.editor-container {
  background: #fff;
}
.editor-container > * {
  background: transparent;
}
.lint-error {
  background: #ffa;
  color: #a00;
}
.lint-error-icon {
  color: white;
  background-color: red;
}

.html-editor, .css-editor, .js-editor, .md-editor {
  background-size: auto 80%;
  background-position: center center;
  background-repeat: no-repeat;
}

.html-editor {
  background-image: url("../assets/html5.svg");
}
.css-editor {
  background-image: url("../assets/css3.svg");
}
.js-editor {
  background-image: url("../assets/js.svg");
}
.md-editor {
  background-image: url("../assets/md.svg");
}

/* Share to Social Networks */
.socialbtns {
  padding-right: 32px;
}
.socialbtns a:not(.btn--warning) {
  font-size: 3em;
}

/* Custom Checkbox Styling */
/* Base for label styling */
.check:not(:checked),
.check:checked {
  position: absolute;
  left: -9999px;
}
.check:not(:checked) + label,
.check:checked + label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}
/* checkbox aspect */
.check:not(:checked) + label:before,
.check:checked + label:before {
  content: '';
  position: absolute;
  top: 0;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  border: 1px solid #aaa;
  background: #f8f8f8;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
}
/* checked mark aspect */
.check:not(:checked) + label:after,
.check:checked + label:after {
  content: '✔';
  position: absolute;
  top: -5px;
  left: 5px;
  font-size: 14px;
  transition: all .2s;
  color: #0080FF;
}
/* checked mark aspect changes */
.check:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
.check:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
.check:disabled:checked + label:after {
  color: #999;
}
.check:disabled + label {
  color: #aaa;
}
/* disabled checkbox */
.check:disabled:not(:checked) + label:before,
.check:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

/* accessibility */
.check:checked:focus + label:before,
.check:not(:checked):focus + label:before {
  border: 1px dotted blue;
}
/* hover style just for information */
label:hover:before {
  border: 1px solid #4778d9!important;
}

/* Textbox for Save Weave Online */
.txtbox {
  font-weight: 300;
  padding: 15px;
  width: 100%;
  outline: 0;
  font-size: 1.125em;
  margin-bottom: 1.11111em;
  border: 0;
  border-bottom: 6px solid #d6d7d9;
  border-radius: 0.4em;
  background: #ebecec;
  color: #000;
}
