Coder Social home page Coder Social logo

sgarbesi / atom Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atom/atom

2.0 3.0 0.0 272.25 MB

The hackable text editor

Home Page: https://atom.io

License: MIT License

Shell 0.43% CoffeeScript 84.66% JavaScript 13.67% CSS 1.16% Batchfile 0.07% HTML 0.01%

atom's Introduction

Atom w/ Transparency

This has only been adjusted and tested for Mac OS X.

Building

./script/build-transparency;

The binary will be compiled to ./dist/Atom.app.

Stylesheet

Add the following CSS to your Atom theme.

Settings > Themes > Your Stylesheet

Transparency

/* Transparency */
html {
  background: rgba(0, 0, 0, 0.7);
  padding-top: 35px;
}

atom-text-editor,
.footer,
.footer .status-bar,
.line-numbers,
.line-numbers > div,
.tab-bar,
.tab-bar .tab.active,
.tab-bar .tab .title,
.workspace {
  background-color: transparent !important;
}

atom-text-editor::shadow .gutter {
  background-color: rgba(0, 0, 0, 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  color: #555;
  margin-right: 5px;

  .line-number {
    opacity: 1 !important;

    &.cursor-line,
    &:hover {
      color: #fff;
    }
  }
}

.footer {
  border-top: 1px solid #555;
}

head {
  display: block;
}

title {
  -webkit-user-select: none;
  color: #888;
  display: block;
  font-size: 12px;
  height: 35px;
  padding-top: 10px;
  position: absolute;
  text-align: center;
  top: 0px;
  width: 100%;
}

html.focus title {
  color: #ccc;
}

.titlebar-avatar {
  border-radius: 24px;
  display: block !important;
  height: 24px;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 24px;
}

TextMate Clone

Make sure to include the transparency CSS with this.

/* TextMate Clone */
atom-pane {
  border: 0 !important;
}

.tab-bar {
  background: #c4c4c4 !important;
  box-shadow: inset 0 1px 0 0 #b0b0b0;
  color: #000 !important;

  .tab {
    border-left: 1px solid #b0b0b0;
    border-image: none;

    &:first-child {
      margin-left: -1px;
    }

    &:last-child {
      border-right: 1px solid #b0b0b0;
    }

    &::after {
      border: 0;
      border-bottom: 1px solid #262626;
      box-shadow: none !important;
    }

    &::before {
      background: transparent !important;
    }

    &.active {
      background-color: #d3d3d3 !important;
      border-color: #b0b0b0;
      height: 35px;
      padding-top: 1px;
      position: relative;
      top: -1px;

      &::after {
        border: 1px solid #b0b0b0 !important;
        border-top: 0;
      }

      .title {
        color: #000;
        font-weight: 600;
      }
    }

    .title {
      color: #555;
    }

    .close-icon {
      color: #000;
      top: 11px !important;
    }
  }
}

title {
  background: linear-gradient(to bottom,  rgba(246,246,246,1) 0%,rgba(211,211,211,1) 100%) !important;
  color: #000 !important;
}

.titlebar-avatar {
  right: 10px;
  top: 6px;
}

atom-text-editor::shadow {
  .indent-guide {
    box-shadow: none !important;
  }

  .line-number.foldable .icon-right {
    color: #fff;
    visibility: visible;
  }

  .gutter[gutter-name="linter"] {
    display: none;
  }
}

.horizontal {
  .left,
  .vertical atom-pane-container atom-pane {
    padding: 0 !important;
  }
}

html.blur {
  title {
    background: #f6f6f6 !important;
    color: #aaa !important;
  }

  .tab {
    .title {
      color: #888 !important;
    }

    &.active {
      background-color: #f6f6f6 !important;
    }
  }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.