From bbf419ffdb0932c350acde6c0d8ded2f28e6fd92 Mon Sep 17 00:00:00 2001 From: Gnkalk <74614163+Gnkalk@users.noreply.github.com> Date: Mon, 28 Feb 2022 19:12:36 +0330 Subject: [PATCH] Ready to release --- build/core/base.min.css | 1 - build/core/typography.min.css | 1 - build/form/checkbox.min.css | 1 - build/form/input-box.min.css | 1 - build/form/radiobtn.min.css | 1 - build/form/text.min.css | 1 - build/form/textarea.min.css | 1 - build/form/toggle.min.css | 1 - build/utilities/basic.min.css | 1 - build/utilities/display.min.css | 1 - build/utilities/div.min.css | 1 - build/utilities/position.min.css | 1 - build/utilities/size.min.css | 1 - build/utilities/text.min.css | 1 - package.json | 1 + src/sass/GodUi.sass | 9 ++++----- 16 files changed, 5 insertions(+), 19 deletions(-) delete mode 100644 build/core/base.min.css delete mode 100644 build/core/typography.min.css delete mode 100644 build/form/checkbox.min.css delete mode 100644 build/form/input-box.min.css delete mode 100644 build/form/radiobtn.min.css delete mode 100644 build/form/text.min.css delete mode 100644 build/form/textarea.min.css delete mode 100644 build/form/toggle.min.css delete mode 100644 build/utilities/basic.min.css delete mode 100644 build/utilities/display.min.css delete mode 100644 build/utilities/div.min.css delete mode 100644 build/utilities/position.min.css delete mode 100644 build/utilities/size.min.css delete mode 100644 build/utilities/text.min.css diff --git a/build/core/base.min.css b/build/core/base.min.css deleted file mode 100644 index fee24abe..00000000 --- a/build/core/base.min.css +++ /dev/null @@ -1 +0,0 @@ -:root{--primary-color:#ca8f21;--secondary-color:#af7b19;--bg-primary-color:#fff;--bg-secondary-color:#f3f3f6}*{padding:0;margin:0;text-decoration:none}:any-link{color:var(--primary-color)}*,:after,:before{box-sizing:inherit}html{box-sizing:border-box}body{background-color:var(--bg-primary-color)} \ No newline at end of file diff --git a/build/core/typography.min.css b/build/core/typography.min.css deleted file mode 100644 index 59b338c0..00000000 --- a/build/core/typography.min.css +++ /dev/null @@ -1 +0,0 @@ -*{font-family:Arial,Helvetica,-apple-system,Roboto,Vazir,Oxygen,Ubuntu,Open Sans,sans-serif}[title],h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.2rem;font-weight:300}h1{font-size:4rem;line-height:1.2}h1,h2{letter-spacing:-.1rem}h2{font-size:3.6rem;line-height:1.25}h3{font-size:3rem;line-height:1.3;letter-spacing:-.1rem}h4{font-size:2.4rem;line-height:1.35;letter-spacing:-.08rem}h5{font-size:1.8rem;line-height:1.5;letter-spacing:-.05rem}h6{font-size:1.5rem;line-height:1.6;letter-spacing:0}[title]{font-size:1.25rem;line-height:1.7;letter-spacing:.05rem}p{font-size:1rem}b{font-weight:700} \ No newline at end of file diff --git a/build/form/checkbox.min.css b/build/form/checkbox.min.css deleted file mode 100644 index 07233a47..00000000 --- a/build/form/checkbox.min.css +++ /dev/null @@ -1 +0,0 @@ -@charset "UTF-8";input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]){--color:var(--primary-color);-webkit-appearance:none;border:1px solid #757575;border-radius:5px;width:20px;height:20px;overflow:hidden;transition:.15s;margin-right:5px;cursor:pointer}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu])[state=error]{--color:#d12222}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu])[state=warn]{--color:#ce6504}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu])[state=success]{--color:#0bca15}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]):checked{background-color:var(--color)}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]):checked:before{position:absolute;content:"✘";padding:.25px 2px;color:#fff;font-size:16px}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]):focus{box-shadow:0 0 5px var(--color)}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]):disabled{cursor:default}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]):disabled:checked{background-color:#757575}input[type=checkbox]:not(input[type=checkbox][toggle],input[type=checkbox][menu]):disabled:checked:before{color:#e0e0e0} \ No newline at end of file diff --git a/build/form/input-box.min.css b/build/form/input-box.min.css deleted file mode 100644 index cefe629e..00000000 --- a/build/form/input-box.min.css +++ /dev/null @@ -1 +0,0 @@ -inputbox{display:flex;min-height:50px;align-items:center;width:80%;position:relative}inputbox[icon]{border:1px solid #757575;border-radius:10px}inputbox[icon] i{padding:5px 10px;font-size:28px;flex:0 1 auto}inputbox[icon] input{border:none;flex:1 1 auto;min-width:auto}inputbox[icon] input:focus{box-shadow:none}inputbox[disable]{color:#616161} \ No newline at end of file diff --git a/build/form/radiobtn.min.css b/build/form/radiobtn.min.css deleted file mode 100644 index 6b42cb39..00000000 --- a/build/form/radiobtn.min.css +++ /dev/null @@ -1 +0,0 @@ -input[type=radio]{--color:var(--primary-color);position:relative;-webkit-appearance:none;border:1px solid #757575;border-radius:50%;width:20px;height:20px;overflow:hidden;background:var(--color);margin-right:5px;cursor:pointer}input[type=radio]:before{content:"";z-index:1;position:absolute;background:#fff;width:100%;height:100%;border-radius:50%;transition:.25s}input[type=radio]:checked:before{content:"";width:60%;height:60%;left:50%;top:50%;transform:translate(-50%,-50%)}input[type=radio]:focus{box-shadow:0 0 2.5px var(--color)} \ No newline at end of file diff --git a/build/form/text.min.css b/build/form/text.min.css deleted file mode 100644 index 691d247f..00000000 --- a/build/form/text.min.css +++ /dev/null @@ -1 +0,0 @@ -input:is([type=text],[type=email],[type=password]){--color:var(--primary-color);position:relative;-webkit-appearance:none;border:1px solid #757575;border-radius:5px;min-height:30px;min-width:250px;padding:7.5px;font-size:16px;overflow:hidden;margin-right:5px;cursor:pointer;transition:.15s}input:is([type=text],[type=email],[type=password]):focus{outline:none;box-shadow:0 0 2.5px var(--color)} \ No newline at end of file diff --git a/build/form/textarea.min.css b/build/form/textarea.min.css deleted file mode 100644 index 5f816bfa..00000000 --- a/build/form/textarea.min.css +++ /dev/null @@ -1 +0,0 @@ -textarea{--color:var(--primary-color);position:relative;-webkit-appearance:none;border:1px solid #757575;border-radius:5px;padding:7.5px;font-size:16px;margin-right:5px;transition:.15s}textarea:focus{outline:none;box-shadow:0 0 3px var(--color)} \ No newline at end of file diff --git a/build/form/toggle.min.css b/build/form/toggle.min.css deleted file mode 100644 index 4604d627..00000000 --- a/build/form/toggle.min.css +++ /dev/null @@ -1 +0,0 @@ -input[type=checkbox][toggle]{--color:var(--primary-color);-webkit-appearance:none;border:1px solid #757575;border-radius:15px;width:45px;height:20px;margin-right:5px;overflow:hidden;position:relative;padding:2px;transition:.25s;box-shadow:1px 1px 1px rgba(0,0,0,.2)}input[type=checkbox][toggle]:before{content:"";z-index:1;position:absolute;background:#bdbdbd;width:32.5%;height:80%;border-radius:50%;left:7.5%;transition:left .5s,background 50ms;box-shadow:0 0 2px #9e9e9e}input[type=checkbox][toggle]:before:not(input[type=checkbox][toggle]:before:disabled){cursor:pointer}input[type=checkbox][toggle]:checked{background:var(--color)}input[type=checkbox][toggle]:checked:disabled{background-color:#616161}input[type=checkbox][toggle]:checked:before{left:60%;background:#fff;box-shadow:0 0 2px #f5f5f5} \ No newline at end of file diff --git a/build/utilities/basic.min.css b/build/utilities/basic.min.css deleted file mode 100644 index 125fe5c4..00000000 --- a/build/utilities/basic.min.css +++ /dev/null @@ -1 +0,0 @@ -[primary]{color:var(--primary-color)}[error]{color:#d12222}[warning]{color:#ce6504}[success]{color:#0bca15}[bg-primary]{background-color:var(--primary-color)}[bg-error]{background-color:#d12222}[bg-warning]{background-color:#ce6504}[bg-success]{background-color:#0bca15}[bd-error],[bd-primary],[bd-success],[bd-warning]{--bd-w:1px;border:solid var(--bd-w)}[bd-primary]{border-color:var(--primary-color)}[bd-error]{border-color:#d12222}[bd-warning]{border-color:#ce6504}[bd-success]{border-color:#0bca15} \ No newline at end of file diff --git a/build/utilities/display.min.css b/build/utilities/display.min.css deleted file mode 100644 index 2d15b123..00000000 --- a/build/utilities/display.min.css +++ /dev/null @@ -1 +0,0 @@ -[d-none]{display:none}[d-inline]{display:inline}[d-inline-block]{display:inline-block}[d-block]{display:block}[d-flex]{display:flex}[d-inline-flex]{display:inline-flex}[d-grid]{display:grid}@media screen and (max-width:540px){[d-none-sm]{display:none}}@media screen and (max-width:540px){[d-inline-sm]{display:inline}}@media screen and (max-width:540px){[d-inline-block-sm]{display:inline-block}}@media screen and (max-width:540px){[d-block-sm]{display:block}}@media screen and (max-width:540px){[d-flex-sm]{display:flex}}@media screen and (max-width:540px){[d-inline-flex-sm]{display:inline-flex}}@media screen and (max-width:540px){[d-grid-sm]{display:grid}}@media screen and (max-width:720px){[d-none-md]{display:none}}@media screen and (max-width:720px){[d-inline-md]{display:inline}}@media screen and (max-width:720px){[d-inline-block-md]{display:inline-block}}@media screen and (max-width:720px){[d-block-md]{display:block}}@media screen and (max-width:720px){[d-flex-md]{display:flex}}@media screen and (max-width:720px){[d-inline-flex-md]{display:inline-flex}}@media screen and (max-width:720px){[d-grid-md]{display:grid}}@media screen and (max-width:765px){[d-none-mobile]{display:none}}@media screen and (max-width:765px){[d-inline-mobile]{display:inline}}@media screen and (max-width:765px){[d-inline-block-mobile]{display:inline-block}}@media screen and (max-width:765px){[d-block-mobile]{display:block}}@media screen and (max-width:765px){[d-flex-mobile]{display:flex}}@media screen and (max-width:765px){[d-inline-flex-mobile]{display:inline-flex}}@media screen and (max-width:765px){[d-grid-mobile]{display:grid}}@media screen and (max-width:960px){[d-none-lg]{display:none}}@media screen and (max-width:960px){[d-inline-lg]{display:inline}}@media screen and (max-width:960px){[d-inline-block-lg]{display:inline-block}}@media screen and (max-width:960px){[d-block-lg]{display:block}}@media screen and (max-width:960px){[d-flex-lg]{display:flex}}@media screen and (max-width:960px){[d-inline-flex-lg]{display:inline-flex}}@media screen and (max-width:960px){[d-grid-lg]{display:grid}}@media screen and (max-width:1140px){[d-none-xl]{display:none}}@media screen and (max-width:1140px){[d-inline-xl]{display:inline}}@media screen and (max-width:1140px){[d-inline-block-xl]{display:inline-block}}@media screen and (max-width:1140px){[d-block-xl]{display:block}}@media screen and (max-width:1140px){[d-flex-xl]{display:flex}}@media screen and (max-width:1140px){[d-inline-flex-xl]{display:inline-flex}}@media screen and (max-width:1140px){[d-grid-xl]{display:grid}} \ No newline at end of file diff --git a/build/utilities/div.min.css b/build/utilities/div.min.css deleted file mode 100644 index d6485e8c..00000000 --- a/build/utilities/div.min.css +++ /dev/null @@ -1 +0,0 @@ -[hide]{visibility:hidden}[show]{visibility:visible}[center]{margin:auto}[of-a]{overflow:auto}[of-h]{overflow:hidden}[of-v]{overflow:visible}[of-s]{overflow:scroll} \ No newline at end of file diff --git a/build/utilities/position.min.css b/build/utilities/position.min.css deleted file mode 100644 index 1afdb6b5..00000000 --- a/build/utilities/position.min.css +++ /dev/null @@ -1 +0,0 @@ -.position-static{position:static}.position-relative{position:relative}.position-absolute{position:absolute}.position-fixed{position:fixed}.position-sticky{position:sticky}@media screen and (max-width:540px){.position-static:sm{position:static}}@media screen and (max-width:540px){.position-relative:sm{position:relative}}@media screen and (max-width:540px){.position-absolute:sm{position:absolute}}@media screen and (max-width:540px){.position-fixed:sm{position:fixed}}@media screen and (max-width:540px){.position-sticky:sm{position:sticky}}@media screen and (max-width:720px){.position-static:md{position:static}}@media screen and (max-width:720px){.position-relative:md{position:relative}}@media screen and (max-width:720px){.position-absolute:md{position:absolute}}@media screen and (max-width:720px){.position-fixed:md{position:fixed}}@media screen and (max-width:720px){.position-sticky:md{position:sticky}}@media screen and (max-width:765px){.position-static:mobile{position:static}}@media screen and (max-width:765px){.position-relative:mobile{position:relative}}@media screen and (max-width:765px){.position-absolute:mobile{position:absolute}}@media screen and (max-width:765px){.position-fixed:mobile{position:fixed}}@media screen and (max-width:765px){.position-sticky:mobile{position:sticky}}@media screen and (max-width:960px){.position-static:lg{position:static}}@media screen and (max-width:960px){.position-relative:lg{position:relative}}@media screen and (max-width:960px){.position-absolute:lg{position:absolute}}@media screen and (max-width:960px){.position-fixed:lg{position:fixed}}@media screen and (max-width:960px){.position-sticky:lg{position:sticky}}@media screen and (max-width:1140px){.position-static:xl{position:static}}@media screen and (max-width:1140px){.position-relative:xl{position:relative}}@media screen and (max-width:1140px){.position-absolute:xl{position:absolute}}@media screen and (max-width:1140px){.position-fixed:xl{position:fixed}}@media screen and (max-width:1140px){.position-sticky:xl{position:sticky}} \ No newline at end of file diff --git a/build/utilities/size.min.css b/build/utilities/size.min.css deleted file mode 100644 index cceee3fb..00000000 --- a/build/utilities/size.min.css +++ /dev/null @@ -1 +0,0 @@ -[w-0]{width:0}[w-25]{width:25%}[w-50]{width:50%}[w-75]{width:75%}[w-100]{width:100%}[h-0]{height:0%}[h-25]{height:25%}[h-50]{height:50%}[h-75]{height:75%}[h-100]{height:100%} \ No newline at end of file diff --git a/build/utilities/text.min.css b/build/utilities/text.min.css deleted file mode 100644 index 03b1cc77..00000000 --- a/build/utilities/text.min.css +++ /dev/null @@ -1 +0,0 @@ -:is(p,h1,h2,h3,h4,h5,h6)[to-uppercase]{text-transform:uppercase}:is(p,h1,h2,h3,h4,h5,h6)[to-lowercase]{text-transform:lowercase}:is(p,h1,h2,h3,h4,h5,h6)[align-left]{text-align:left}:is(p,h1,h2,h3,h4,h5,h6)[align-right]{text-align:right}:is(p,h1,h2,h3,h4,h5,h6)[align-center]{text-align:center}:is(p,h1,h2,h3,h4,h5,h6)[align-justify]{text-align:justify} \ No newline at end of file diff --git a/package.json b/package.json index 729b9a56..ddf427e2 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "files": [ "build", "src", + "cli", "LICENSE", "README.md" ], diff --git a/src/sass/GodUi.sass b/src/sass/GodUi.sass index d295e990..c5c89741 100644 --- a/src/sass/GodUi.sass +++ b/src/sass/GodUi.sass @@ -32,8 +32,7 @@ @import ./elements/pg-bar @import ./elements/table @import ./elements/tabs - -@import ./components/alert -@import ./components/dropdown -@import ./components/line -@import ./components/tooltip \ No newline at end of file +@import ./elements/alert +@import ./elements/dropdown +@import ./elements/line +@import ./elements/tooltip \ No newline at end of file