Last active
March 4, 2018 12:14
-
-
Save valeth/a7e009465d9460dfa8c32c3caa79191b to your computer and use it in GitHub Desktop.
Revisions
-
valeth revised this gist
Mar 4, 2018 . 2 changed files with 16 additions and 16 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 @@ -52,18 +52,18 @@ .wklc-allowed-lessons.disabled { color: darkred; } .wklc .wklc-apprentice1 { background-color: #DD0093; } .wklc .wklc-apprentice2 { background-color: #C80B96; } .wklc .wklc-apprentice3 { background-color: #B31799; } .wklc .wklc-apprentice4 { background-color: #9D229B; } .wklc .wklc-guru1 { background-color: #882D9E; } .wklc .wklc-guru2 { background-color: #593DBD; } .wklc .wklc-master { background-color: #294DDB; } .wklc .wklc-enlightened { background-color: #0093DD; } 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,12 +1,12 @@ $levels: ( "apprentice1": #DD0093, "apprentice2": #C80B96, "apprentice3": #B31799, "apprentice4": #9D230B, "guru1": #882D9E, "guru2": #593DBD, "master": #294DDB, "enlightened": #0093DD ); .wklc { -
valeth revised this gist
Mar 4, 2018 . 2 changed files with 20 additions and 10 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 @@ -51,9 +51,19 @@ line-height: 3em; } .wklc-allowed-lessons.disabled { color: darkred; } .wklc .wklc-apprentice1 { background-color: "#DD0093"; } .wklc .wklc-apprentice2 { background-color: "#C80B96"; } .wklc .wklc-apprentice3 { background-color: "#B31799"; } .wklc .wklc-apprentice4 { background-color: "#9D229B"; } .wklc .wklc-guru1 { background-color: "#882D9E"; } .wklc .wklc-guru2 { background-color: "#593DBD"; } .wklc .wklc-master { background-color: "#294DDB"; } .wklc .wklc-enlightened { background-color: "#0093DD"; } 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 @@ -89,9 +89,9 @@ $levels: ( } } @each $lvl in apprentice1, apprentice2, apprentice3, apprentice4, guru1, guru2, master, enlightened { .wklc-#{$lvl} { background-color: map-get($levels, $lvl); } } } -
valeth revised this gist
Feb 28, 2018 . 2 changed files with 145 additions and 64 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 @@ -1,75 +1,59 @@ .wklc { color: #FFFFFF; display: flex; justify-content: center; } .wklc-force-hidden { display: none !important; } .wklc-lesson-count { border-radius: 3px !important; } .wklc-items { display: flex; flex-wrap: wrap; margin: 0; padding: 0; } .wklc-item { align-items: center; background-color: #000000; box-shadow: 3px 3px 0 #e1e1e1; display: flex; min-height: 2em; min-width: 2.5em; padding: 0 0.5em; justify-content: center; } .wklc-item > span:first-child { margin-right: 0.3em; } .wklc-right { display: flex; margin-left: 0.5em; width: 12em; } .wklc-right div, .wklc-right button { box-sizing: border-box; text-align: center; } .wklc-score { align-items: center; display: flex; flex-direction: row; justify-content: flex-start; width: 8em; } .wklc-score > span:first-child { text-align: left; width: 50%; } .wklc-btn-update { border: 0; color: inherit; } .wklc-allowed-lessons { display: inline-block; padding: 0 1em; height: 3em; background-color: #000000; color: #FFFFFF; border-radius: 3px; line-height: 3em; } .wklc-allowed-lessons.disabled { color: darkred; } .wklc [class*=master] { background-color: #294DDB; } .wklc [class*=enlightened] { background-color: #0093DD; } /*# sourceMappingURL=style.css.map */ 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,97 @@ $levels: ( "apprentice1": "#DD0093", "apprentice2": "#C80B96", "apprentice3": "#B31799", "apprentice4": "#9D229B", "guru1": "#882D9E", "guru2": "#593DBD", "master": "#294DDB", "enlightened": "#0093DD" ); .wklc { color: #FFFFFF; display: flex; justify-content: center; &-force-hidden { display: none !important; } &-lesson-count { border-radius: 3px !important; } &-items { display: flex; flex-wrap: wrap; margin: 0; padding: 0; } &-item { align-items: center; background-color: #000000; box-shadow: 3px 3px 0 #e1e1e1; display: flex; min-height: 2em; min-width: 2.5em; padding: 0 0.5em; justify-content: center; > span:first-child { margin-right: 0.3em; } } &-right { display: flex; margin-left: 0.5em; width: 12em; } &-right { div, button { box-sizing: border-box; text-align: center; } } &-score { align-items: center; display: flex; flex-direction: row; justify-content: flex-start; width: 8em; > span:first-child { text-align: left; width: 50%; } } &-btn-update { border: 0; color: inherit; } &-allowed-lessons { display: inline-block; padding: 0 1em; height: 3em; background-color: #000000; color: #FFFFFF; border-radius: 3px; line-height: 3em; &.disabled { color: darkred; } } @each $lvl in ('apprentice' 'guru' 'master' 'enlightened') { [class*=#{$lvl}] { background-color: #{map-get($levels, $lvl)} } } } -
valeth renamed this gist
Feb 28, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
valeth created this gist
Feb 28, 2018 .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,75 @@ .wklc-force-hidden { display: none !important; } .wklc-lesson-count { border-radius: 3px !important; } .wklc { color: #FFFFFF; display: flex; justify-content: center; } .wklc-items { display: flex; flex-wrap: wrap; margin: 0; padding: 0; } .wklc-item { align-items: center; background-color: #000000; box-shadow: 3px 3px 0 #e1e1e1; display: flex; min-height: 2em; min-width: 2.5em; padding: 0 0.5em; justify-content: center; } .wklc-item > span:first-child { margin-right: 0.3em; } .wklc-right { display: flex; margin-left: 0.5em; width: 12em; } .wklc-right div, .wklc-right button { box-sizing: border-box; text-align: center; } .wklc-score, .wklc-max-score-edit { align-items: center; display: flex; flex-direction: row; justify-content: flex-start; width: 8em; } .wklc-max-score-edit > label, .wklc-score > span:first-child { text-align: left; width: 50%; } .wklc-max-score-edit > input { background-color: inherit; border: none; color: inherit; width: 50%; } .wklc-btn-update { border: 0; color: inherit; } .wklc-allowed-lessons { display: inline-block; padding: 0 1em; height: 3em; background-color: #000000; color: #FFFFFF; border-radius: 3px; line-height: 3em; } .wklc-allowed-lessons.disabled { color: darkred; }