Last active
November 16, 2017 11:55
-
-
Save AndreiShostik/b5daf0d00ab2e749adc0034b25d6ceaa to your computer and use it in GitHub Desktop.
Revisions
-
AndreiShostik revised this gist
Nov 16, 2017 . 2 changed files with 24 additions and 167 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,14 +18,14 @@ $status-gray: 'gray'; margin-right: 10px; } .py-status-circle { @include py-status-base; width: 10px; height: 10px; border-radius: 5px; } .py-status-bagel { @include py-status-base; width: 12px; height: 12px; @@ -34,99 +34,44 @@ $status-gray: 'gray'; border: 3px solid; } .py-status-green { &:before { background-color: $status-green; } } .py-status-orange { &:before { background-color: $status-yellow; } } .py-status-negative { &:before { background-color: $negative-txt; } } .py-status-blue { &:before { background-color: $action-blue; } } .py-status-red { &:before { background-color: $status-red; } } .py-status-gray { &:before { background-color: $status-gray; } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,64 +1,13 @@ .py-status-circle { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; } .py-status-bagel { content: ''; display: inline-block; margin-right: 10px; @@ -67,65 +16,28 @@ margin-bottom: -1px; border-radius: 6px; border: 3px solid; } .py-status-green:before { background-color: "green"; } .py-status-orange:before { background-color: "yellow"; } .py-status-negative:before { background-color: "negative"; } .py-status-blue:before { background-color: "blue"; } .py-status-red:before { background-color: "red"; } .py-status-gray:before { background-color: "gray"; } -
AndreiShostik created this gist
Nov 16, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,132 @@ // ---- // Sass (v3.4.21) // Compass (v1.0.3) // ---- $status-green: 'green'; $status-yellow: 'yellow'; $negative-txt: 'negative'; $action-blue: 'blue'; $status-red: 'red'; $status-gray: 'gray'; @mixin py-status-base { content: ''; display: inline-block; margin-right: 10px; } @mixin py-status-circle { @include py-status-base; width: 10px; height: 10px; border-radius: 5px; } @mixin py-status-bagel { @include py-status-base; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; } .py-status-circle-green { &:before { @include py-status-circle; background-color: $status-green; } } .py-status-circle-orange { &:before { @include py-status-circle; background-color: $status-yellow; } } .py-status-circle-negative { &:before { @include py-status-circle; background-color: $negative-txt; } } .py-status-circle-blue { &:before { @include py-status-circle; background-color: $action-blue; } } .py-status-circle-red { &:before { @include py-status-circle; background-color: $status-red; } } .py-status-circle-gray { &:before { @include py-status-circle; background-color: $status-gray; } } //================classes for Bagle================ .py-status-bagel-green { &:before { @include py-status-bagel; border-color: $status-green; } } .py-status-bagel-orange { &:before { @include py-status-bagel; border-color: $status-yellow; } } .py-status-bagel-negative { &:before { @include py-status-bagel; border-color: $negative-txt; } } .py-status-bagel-blue { &:before { @include py-status-bagel; border-color: $action-blue; } } .py-status-bagel-red { &:before { @include py-status-bagel; border-color: $status-red; } } .py-status-bagel-gray { &:before { @include py-status-bagel; border-color: $status-gray; } } This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,131 @@ .py-status-circle-green:before { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; background-color: "green"; } .py-status-circle-orange:before { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; background-color: "yellow"; } .py-status-circle-negative:before { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; background-color: "negative"; } .py-status-circle-blue:before { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; background-color: "blue"; } .py-status-circle-red:before { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; background-color: "red"; } .py-status-circle-gray:before { content: ''; display: inline-block; margin-right: 10px; width: 10px; height: 10px; border-radius: 5px; background-color: "gray"; } .py-status-bagel-green:before { content: ''; display: inline-block; margin-right: 10px; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; border-color: "green"; } .py-status-bagel-orange:before { content: ''; display: inline-block; margin-right: 10px; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; border-color: "yellow"; } .py-status-bagel-negative:before { content: ''; display: inline-block; margin-right: 10px; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; border-color: "negative"; } .py-status-bagel-blue:before { content: ''; display: inline-block; margin-right: 10px; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; border-color: "blue"; } .py-status-bagel-red:before { content: ''; display: inline-block; margin-right: 10px; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; border-color: "red"; } .py-status-bagel-gray:before { content: ''; display: inline-block; margin-right: 10px; width: 12px; height: 12px; margin-bottom: -1px; border-radius: 6px; border: 3px solid; border-color: "gray"; }