Skip to content

Commit

Permalink
style: estilos melhorados
Browse files Browse the repository at this point in the history
  • Loading branch information
zolppy committed Jun 3, 2024
1 parent 04afae0 commit f2e0b84
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 6 deletions.
27 changes: 26 additions & 1 deletion dist/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/style.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<main class="app__container">
<h1 class="app__main-title bold uppercase">Lista de Compras</h1>
<section class="app__input-section">
<div>
<div class="app__input-wrapper">
<label for="app__add-item">Adicionar item:</label>
<input type="text" id="app__add-item" />
</div>
<div>
<div class="app__input-wrapper">
<label for="app__item-category">Categoria:</label>
<select id="app__item-category">
<option value="need" selected>Preciso</option>
Expand Down
8 changes: 8 additions & 0 deletions src/sass/module/app/app-addItem.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#app__add-item {
flex: 1;
background-color: transparent;
border: 1px solid white;
padding: 0.5em;
border-radius: 0.5em;
color: white;
}
3 changes: 2 additions & 1 deletion src/sass/module/app/app-addItemButton.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.app__add-item-button {
background-color: #737;
border-radius: 0.7em;
color: white;
padding: 0.5em;
padding: 0.7em;
transition: background-color 0.3s;

&:hover {
Expand Down
5 changes: 5 additions & 0 deletions src/sass/module/app/app-inputWrapper.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.app__input-wrapper {
display: flex;
column-gap: 0.5em;
align-items: center;
}
1 change: 1 addition & 0 deletions src/sass/module/app/app-item.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
display: flex;
justify-content: space-between;
padding-inline: 0.5em;
border-radius: 0.5em;
}
7 changes: 7 additions & 0 deletions src/sass/module/app/app-itemCategory.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#app__item-category {
background-color: transparent;
border: 1px solid white;
padding: 0.5em;
border-radius: 0.5em;
color: white;
}
3 changes: 3 additions & 0 deletions src/sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
@import "./module/app/app-container.scss";
@import "./module/app/app-mainTitle.scss";
@import "./module/app/app-inputSection.scss";
@import "./module/app/app-inputWrapper.scss";
@import "./module/app/app-addItem.scss";
@import "./module/app/app-itemCategory.scss";
@import "./module/app/app-addItemButton.scss";
@import "./module/app/app-section.scss";
@import "./module/app/app-secondaryTitle.scss";
Expand Down

0 comments on commit f2e0b84

Please sign in to comment.