1 line
3.1 KiB
Plaintext
Executable File
1 line
3.1 KiB
Plaintext
Executable File
{"version":3,"sources":["an-skill-bar.scss","an-skill-bar/an-skill-bar.scss","an-skill-bar/_mixins.scss"],"names":[],"mappings":"AAAI;;;;;;;;MAQE,ACNN,UACE,WAAW,AACX,aAAa,AACb,cAAc,AACd,kBAAkB,AAClB,cAAc,AACd,gBAAgB,AAChB,YAAY,AACZ,sBAAsB,AACtB,yBAA0B,CAqC3B,AA9CD,sBCAI,wBAAmC,CACpC,ADDH,uBCGI,wBAAoC,CACrC,ADJH,qBCAI,wBAAmC,CACpC,ADDH,sBCGI,wBAAoC,CACrC,ADJH,oBCAI,wBAAmC,CACpC,ADDH,qBCGI,wBAAoC,CACrC,ADJH,qBCAI,wBAAmC,CACpC,ADDH,sBCGI,wBAAoC,CACrC,ADJH,wBCAI,wBAAmC,CACpC,ADDH,yBCGI,wBAAoC,CACrC,ADJH,sBCAI,wBAAmC,CACpC,ADDH,uBCGI,wBAAoC,CACrC,ADJH,sBCAI,wBAAmC,CACpC,ADDH,uBCGI,wBAAoC,CACrC,ADJH,uBCAI,wBAAmC,CACpC,ADDH,wBCGI,wBAAoC,CACrC,ADJH,wBCAI,wBAAmC,CACpC,ADDH,yBCGI,wBAAoC,CACrC,ADJH,yBCAI,wBAAmC,CACpC,ADDH,0BCGI,wBAAoC,CACrC,ADJH,qBCAI,wBAAmC,CACpC,ADDH,sBCGI,wBAAoC,CACrC,ADJH,wBCAI,wBAAmC,CACpC,ADDH,yBCGI,wBAAoC,CACrC,ADJH,0BCAI,wBAAmC,CACpC,ADDH,2BCGI,wBAAoC,CACrC,ADJH,uBCAI,wBAAmC,CACpC,ADDH,wBCGI,wBAAoC,CACrC,ADJH,uBCAI,wBAAmC,CACpC,ADDH,wBCGI,wBAAoC,CACrC,ADJH,wBCAI,wBAAmC,CACpC,ADDH,yBCGI,wBAAoC,CACrC,ADJH,wBCAI,wBAAmC,CACpC,ADDH,yBCGI,wBAAoC,CACrC,ADJH,uBCAI,wBAAmC,CACpC,ADDH,wBCGI,wBAAoC,CACrC,ADJH,2BCAI,wBAAmC,CACpC,ADDH,4BCGI,wBAAoC,CACrC,ADJH,6BCAI,wBAAmC,CACpC,ADDH,8BCGI,wBAAoC,CACrC,ADJH,0BCAI,wBAAmC,CACpC,ADDH,2BCGI,wBAAoC,CACrC,ADJH,yBCAI,wBAAmC,CACpC,ADDH,0BCGI,wBAAoC,CACrC,ADJH,iBAaI,gCAAiC,AAEjC,YAAY,AACZ,WAAW,AACX,kBAAkB,AAGlB,OAAO,AACP,cAAc,AAEd,yBAA0B,CAC3B,AAxBH,oCAcI,YAAY,AAIZ,kBAAkB,AAClB,MAAM,AAGN,SAAU,CAtBd,AAkCG,mBAJC,QAAQ,AAER,WAAW,AACX,eAAgB,CACjB,AAlCH,kBAqCI,UAAU,AACV,kBAAkB,AAClB,MAAM,AACN,OAAO,AACP,kCAAoC,AACpC,YAAY,AACZ,WAAW,AACX,yBAA0B,CAC3B","file":"an-skill-bar.css","sourcesContent":[" /*\n * Plugin : an-skill-bar\n * Version: 1.0.1\n * Description: A plugin that fills bars with a percentage you set.\n * Author: Hasan Misbah\n * Copyright 2018, Hasan Misbah\n * Free to use and abuse under the MIT license.\n * http://www.opensource.org/licenses/mit-license.php\n */\n\n\n\n\n@import \"an-skill-bar/an-skill-bar.scss\";\n","@import \"config\", \"mixins\";\n\n.skillbar {\n width: 100%;\n padding: 10px;\n margin: 10px 0;\n position: relative;\n display: block;\n overflow: hidden;\n height: 30px;\n background-color: #fff;\n border-radius: 5px 0 0 5px;\n @include skill-color;\n\n .title {\n background-color:rgba(0,0,0, 0.6);\n padding: 5px;\n height: 30px;\n width: 85px;\n text-align: center;\n position: absolute;\n top: 0;\n left: 0;\n color: #f0f0f0;\n z-index: 9;\n border-radius: 5px 0 0 5px;\n }\n\n .percent {\n padding: 5px;\n position: absolute;\n top: 0;\n right: 0;\n z-index: 9;\n color: #000;\n font-weight: 700;\n }\n\n .filled {\n z-index: 8;\n position: absolute;\n top: 0;\n left: 0;\n background-color: rgba(00,80,80, .3);\n height: 100%;\n width: 20px;\n border-radius: 5px 0 0 5px;\n }\n}\n","@mixin background ($color) {\r\n .title {\r\n background-color: darken($color, 9);\r\n }\r\n .filled {\r\n background-color: lighten($color, 6);\r\n }\r\n}\r\n\r\n@mixin skill-color {\r\n @each $i in $item-color {\r\n &.#{nth($i,1)} {\r\n @include background(nth($i,2));\r\n }\r\n }\r\n}"]} |