razer should be a-ok

This commit is contained in:
Chris Nutter committed 2020-09-07 14:09:19 -07:00
1 parent 7fd47915ae
commit 7693697990
142 files changed
+22252

No files matched your search

@@ -0,0 +1,37 @@
.streak-container {
.title {
text-shadow: 2px 2px 2px @base-color;
}
.counter,
.exclamations,
.max {
color: @base-color;
}
.bar {
background: @base-color;
}
.generate-levels(5);
}
.generate-levels(@i) when (@i > 0) {
@levelColor: spin(@base-color, (@i * -10));
&.level-@{i} {
.title {
text-shadow: 2px 2px 2px @levelColor;
}
.counter,
.exclamations,
.max {
color: @levelColor;
}
.bar {
background: @levelColor;
}
}
.generate-levels(@i - 1);
}
@@ -0,0 +1,3 @@
busy-signal {
margin-top: 0;
}
@@ -0,0 +1,62 @@
.linter-status-count {
.highlight, .highlight-error,
.highlight-warning, .highlight-info {
border-radius: 0;
background: fade(@text-color, 10%);
&:first-child {
border-radius: .125em 0 0 .125em;
}
&:last-child {
border-radius: 0 .125em .125em 0;
}
}
.highlight-error {
background-color: fade(@text-color-error, 80%);
color: rgba(255, 255, 255, .8);
}
.highlight-info {
background-color: fade(@text-color-info, 80%);
color: rgba(255, 255, 255, .8);
}
.highlight-warning {
background-color: fade(@text-color-warning, 80%);
color: darken(@text-color-warning, 35%);
}
}
.sb-table, .nuclide-ui-table {
thead th {
background-color: darken(@app-background-color, 1.5%);
&:nth-of-type(even) {
background-color: darken(@app-background-color, 2.5%);
}
}
tbody {
tr {
&:nth-of-type(even), &:nth-of-type(even):hover {
background-color: lighten(@app-background-color, 1%);
}
&:hover {
background-color: inherit;
}
}
td:nth-of-type(even) {
background-color: fade(darken(@app-background-color, 2%), 50%);
}
}
}
.linter-gutter {
&.icon::before {
margin: 0;
}
}
@@ -0,0 +1,10 @@
@import "activate-power-mode";
@import "busy-signal";
@import "linter";
@import "nuclide";
@import "open-recent";
@import "platformio";
@import "remote-ftp";
@import "terminal";
@import "tool-bar";
@import "vim-mode-plus";
@@ -0,0 +1 @@
// Nothing to see here. Move along!
@@ -0,0 +1,4 @@
[data-event-name*="open-recent:"] {
overflow: hidden;
text-overflow: ellipsis;
}
@@ -0,0 +1,7 @@
.pio {
select.form-control {
.select();
line-height: 36px;
height: 36px;
}
}
@@ -0,0 +1,16 @@
.remote-ftp-view {
.amu-tab-blender {
span::after {
content: 'Remote files';
}
}
.offline li + li {
margin-top: @font-size;
}
.ftptree-view {
transform: translate3d(0, 0, 0);
padding-top: @font-size * 4;
}
}
@@ -0,0 +1,5 @@
.terminal-view {
.btn-toolbar .btn {
box-shadow: none;
}
}
@@ -0,0 +1,276 @@
.tool-bar {
border: none;
z-index: 5000;
&.tool-bar-vertical .tool-bar-spacer {
margin: 0.5rem 0;
border-bottom: none;
}
&.tool-bar-horizontal {
&.tool-bar-top {
background: @app-background-color;
}
&.tool-bar-bottom {
background: @app-background-color;
.tool-bar-btn {
color: @text-color;
}
}
.tool-bar-spacer {
margin: 0 0.5rem;
border-left: none;
}
}
&.tool-bar-horizontal,
&.tool-bar-vertical {
.tool-bar-spacer {
border-color: fade(@text-color, 5%);
}
&.gutter-bottom,
&.gutter-top {
&::before, &::after {
opacity: .5;
}
}
}
&.tool-bar-12px,
&.tool-bar-16px,
&.tool-bar-24px,
&.tool-bar-32px {
&.tool-bar-horizontal {
.tool-bar-spacer {
height: 100%;
}
}
&.tool-bar-vertical {
.tool-bar-spacer {
width: 100%;
}
}
.tool-bar-btn {
margin: 0;
padding: 0;
border-radius: 0;
box-shadow: none;
background: none;
transition: color 250ms @md-timing-function;
.tool-bar-vertical & {
color: @text-color;
&:hover:not(:first-child) {
color: darken(@text-color, 10%);
}
}
&.tool-bar-mode-dev {
position: relative;
color: @text-color;
&::after {
position: absolute;
right: 0.5rem;
bottom: 0.5rem;
content: "\f05f";
font-family: 'Octicons Regular';
color: #FFF;
display: inline-block;
line-height: 1;
-webkit-font-smoothing: antialiased;
text-decoration: none;
font-size: 0.75rem;
text-align: center;
width: 0.75rem;
height: 0.75rem;
background: @md-red-500;
border-radius: 50%;
border: 0.125rem solid @text-color-error;
box-sizing: content-box;
.z-depth-1;
}
&:hover {
color: @text-color;
}
}
}
}
&.tool-bar-12px {
.tool-bar-btn {
width: @font-size * 2.65;
height: @font-size * 2.65;
&::before {
font-size: @font-size * 1.33;
line-height: @font-size * 2.65;
}
}
}
&.tool-bar-16px {
.tool-bar-btn {
width: @font-size * 3.33;
height: @font-size * 3.33;
&::before {
font-size: @font-size * 1.5;
line-height: @font-size * 3.33;
}
}
}
&.tool-bar-24px {
.tool-bar-btn {
width: @font-size * 4;
height: @font-size * 4;
&::before {
font-size: @font-size * 1.66;
line-height: @font-size * 4;
}
}
}
&.tool-bar-32px {
.tool-bar-btn {
width: @font-size * 5;
height: @font-size * 5;
&::before {
font-size: @font-size * 2;
line-height: @font-size * 5;
}
}
}
.amu-panel-shadows & {
&.tool-bar-vertical {
.tool-bar-btn:first-child {
.z-depth-1;
}
}
}
.amu-panel-contrast & {
&.tool-bar-vertical {
&.tool-bar-left {
background-color: darken(@app-background-color, 3.5%);
}
&.tool-bar-right {
background-color: darken(@app-background-color, 2.5%);
}
}
&.tool-bar-horizontal {
&.tool-bar-bottom {
background-color: darken(@app-background-color, 2.5%);
}
}
}
.amu-tinted-tab-bar & {
&.tool-bar-vertical {
.tool-bar-btn {
background: @base-color;
color: @accent-text-color;
svg path,
svg polygon {
fill: @accent-text-color;
}
}
.tool-bar-btn.tool-bar-item-align-end,
.tool-bar-btn:not(.tool-bar-item-align-end) + .tool-bar-btn,
.tool-bar-spacer + .tool-bar-btn {
background: none;
color: @text-color;
}
}
&.tool-bar-top {
background: @base-color;
.tool-bar-btn {
color: @accent-text-color;
svg path,
svg polygon {
fill: @accent-text-color;
}
&.tool-bar-mode-dev {
color: @accent-text-color;
}
}
.tool-bar-spacer {
border-color: fade(@accent-text-color, 15%);
}
}
}
.amu-tinted-tab-bar.amu-panel-contrast & {
&.tool-bar-vertical {
.tool-bar-btn {
background: darken(@base-color, 5%);
color: @accent-text-color;
svg path,
svg polygon {
fill: @accent-text-color;
}
}
.tool-bar-btn.tool-bar-item-align-end,
.tool-bar-btn:not(.tool-bar-item-align-end) + .tool-bar-btn,
.tool-bar-spacer + .tool-bar-btn {
background: none;
color: @text-color;
}
}
}
.amu-compact-tab-bar & {
&.tool-bar-16px,
&.tool-bar-24px,
&.tool-bar-32px {
.tool-bar-btn {
width: @font-size * 3.33;
height: @font-size * 3.33;
&::before {
line-height: @font-size * 3.33;
}
&.tool-bar-mode-dev::after {
right: @font-size * 0.33;
bottom: @font-size * 0.33;
}
}
&.tool-bar-horizontal {
.tool-bar-spacer {
height: @font-size * 2;
}
}
&.tool-bar-vertical {
.tool-bar-spacer {
width: @font-size * 2;
}
}
}
}
}
@@ -0,0 +1,62 @@
atom-text-editor.vim-mode-plus.normal-mode,
atom-text-editor.vim-mode-plus.visual-mode,
atom-text-editor.vim-mode-plus.operator-pending-mode,
atom-text-editor.vim-mode-plus.insert-mode.replace {
.amu-paint-cursor & {
&.is-focused,
&.vim-mode-plus-input-focused,
&.vim-mode-plus-search-input-focused {
.cursor {
background-color: @base-color; // block-cursor
}
}
}
}
atom-text-editor.vim-mode-plus.operator-pending-mode {
.amu-paint-cursor & {
&.is-focused,
&.vim-mode-plus-search-input-focused {
.cursor {
background: none;
border-bottom-color: @base-color;
}
}
}
}
atom-text-editor.vim-mode-plus.insert-mode.replace {
.amu-paint-cursor & {
&.is-focused {
.cursor {
background: none;
border-bottom-color: @base-color;
}
}
}
}
// vim-mode-plus-input-focused for surround, f, F, t, T, r etc.
atom-text-editor.vim-mode-plus.normal-mode,
atom-text-editor.vim-mode-plus.visual-mode,
atom-text-editor.vim-mode-plus.operator-pending-mode, {
.amu-paint-cursor & {
&.vim-mode-plus-input-focused {
.cursor {
background: none;
border-bottom-color: @base-color;
}
}
}
}
atom-text-editor.vim-mode-plus-input-char-waiting {
.amu-paint-cursor & {
&.is-focused {
.cursor {
background: none;
border-bottom-color: @base-color;
}
}
}
}