Skip to content

Commit

Permalink
Update gitignore + regular btn
Browse files Browse the repository at this point in the history
  • Loading branch information
kekefreedog committed Jul 27, 2024
1 parent b71fd3d commit e7bd847
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 9 deletions.
10 changes: 9 additions & 1 deletion resources/Environment/Component/LoadingScreenBtn/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ $component_logoScreenBtn_preloaderColorVariante: "lighten-1";
.spinner-layer{

// Color
border-color: map-get(map-get($colors, $component_logoScreenBtn_preloaderColorName), $component_logoScreenBtn_preloaderColorVariante);
/* border-color: map-get(map-get($colors, $component_logoScreenBtn_preloaderColorName), $component_logoScreenBtn_preloaderColorVariante); */
border-color: #b46a48;

}

Expand All @@ -78,6 +79,13 @@ $component_logoScreenBtn_preloaderColorVariante: "lighten-1";

}

i.fa-solid {

// Fonts
font-size: 85px;

}


}

Expand Down
13 changes: 9 additions & 4 deletions resources/Environment/Component/RegularBtn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @package kzarshenas/crazyphp
* @author kekefreedog <[email protected]>
* @copyright 2022-2024 Kévin Zarshenas
* @copyright 2022-2023 Kévin Zarshenas
*/

/**
Expand All @@ -23,7 +23,7 @@ import tippy, {animateFill} from 'tippy.js';
*
* @package kzarshenas/crazyphp
* @author kekefreedog <[email protected]>
* @copyright 2022-2024 Kévin Zarshenas
* @copyright 2022-2023 Kévin Zarshenas
*/
export default class RegularBtn extends Crazycomponent {

Expand Down Expand Up @@ -51,7 +51,7 @@ export default class RegularBtn extends Crazycomponent {
size: {
value: "large",
type: "string",
select: ["small", "normal", "large"],
select: ["small", "normal", "large", "extra-large"],
},
wave: {
value: "light",
Expand All @@ -74,6 +74,10 @@ export default class RegularBtn extends Crazycomponent {
value: "",
type: "string",
},
"icon-image-style": {
value: "",
type: "string",
},
"icon-position": {
value: "right",
type: "string",
Expand Down Expand Up @@ -102,7 +106,8 @@ export default class RegularBtn extends Crazycomponent {
* Observable Attributes
*/
static get observedAttributes() {
return Object.keys(["type", "depth", "shape", "size", "wave", "label", "icon-class", "icon-text", "icon-image", "icon-position", "color-primary", "color-secondary"]);
/* return Object.keys(["type", "depth", "shape", "size", "wave", "label", "icon-class", "icon-text", "icon-image", "icon-image-style", "icon-position", "color-primary", "color-secondary"]); */
return ["type", "depth", "shape", "size", "wave", "label", "icon-class", "icon-text", "icon-image", "icon-image-style", "icon-position", "color-primary", "color-secondary"];
}

/**
Expand Down
22 changes: 21 additions & 1 deletion resources/Environment/Component/RegularBtn/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ a {

}

/* Normal */
/* Large */
&.btn-large {

/* Children */
Expand All @@ -275,6 +275,26 @@ a {

}

/* Extra large */
&.btn-extra-large {

/* Dimension */
width: 100px;
height: 100px;

/* Font size */
font-size: 3rem;

/* Children */
i {

/* Font size */
font-size: 3rem!important;

}

}

/* Children */

/* Fix */
Expand Down
2 changes: 1 addition & 1 deletion resources/Environment/Component/RegularBtn/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{{#is attributes.shape "box"}}
btn-{{@root.attributes.shape}}
{{/is}}
{{!-- Size : small | normal | large --}}
{{!-- Size : small | normal | large | extra-large --}}
btn-{{attributes.size}}
{{#if attributes.wave}}
{{#isnt attributes.wave "false"}}
Expand Down
8 changes: 6 additions & 2 deletions resources/Git/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@
.database
.trash
docs/crazyphp
config/Front.yml
public
config/Database.yml
logs

# Crazy App Build
# > To comment if you don't want to publish your build app
public
config/Front.yml

# Composer dependances (PHP)
/vendor/
composer.lock
Expand Down

0 comments on commit e7bd847

Please sign in to comment.