Skip to content

Commit

Permalink
fixing menu styles
Browse files Browse the repository at this point in the history
  • Loading branch information
paulorosadodev committed Jun 11, 2024
1 parent 299294a commit e76f93f
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TARGET_ENV=Dev
EMAIL_HOST_USER=taverna.hub@gmail.com
EMAIL_HOST_PASSWORD=mhpn rxtr nsju fkgn
EMAIL_HOST_USER=voltzcorporation@gmail.com
EMAIL_HOST_PASSWORD=rugb pvwp sniv luuw
EMAIL_USE_TLS=True
EMAIL_PORT=587
EMAIL_HOST=smtp.gmail.com
9 changes: 9 additions & 0 deletions app_client/static/css/base_client.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ nav li {
transition: all 0.3s;
}

#logoImg {
text-align: center;
margin-top: 40px;
}

nav li a {
display: flex;
align-items: center;
Expand Down Expand Up @@ -116,6 +121,10 @@ nav form:last-child button {
border: none;
}

.employees {
margin-left: -4px;
}

main {
display: grid;
grid-template-columns: 280px 1fr;
Expand Down
4 changes: 3 additions & 1 deletion app_client/templates/base_client.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
<main class="{% if app_name == 'app_client' %}mainclient{% endif %}">
<button id="menuHamburguer">Menu</button>
<nav id="sidebarNav">
<img class="logo" src="https://i.imgur.com/FShMthn.png" alt="Logo Eccel-tec">
<a href="{% url 'home' %}" id="logoImg">
<img src="https://i.imgur.com/FShMthn.png" alt="Logo Eccel-tec">
</a>
<ul>
<li class="drawers {% if app_name == 'app_client' %}active{% endif %}">
<a href="{% url 'client:profile' %}">
Expand Down
2 changes: 1 addition & 1 deletion app_company/static/app_company/css/config-employee.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ p {
margin-bottom: 35px;
}

button {
.form-card button {
width: 100%;
padding: 12px;
background-color: #0056b3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
border-radius: 99999px;
}

button {
.content button {
padding: 8px 16px;
border: none;
background-color: var(--green-700);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h1>Solicitação {{order_request.id}}</h1>
{{ error.message }}
</span>
{% endif %}
<button type="submit">Gerar ordem de serviço.</button>
<button type="submit">Gerar ordem de serviço</button>
</div>
{% endif %}
</form>
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<main class="{% if app_name == 'app_company' %}mainCompany{% endif %}">
<button id="menuHamburguer">Menu</button>
<nav id="sidebarNav">
<a href="{% url 'home' %}">
<a href="{% url 'home' %}" id="logoImg">
<img src="https://i.imgur.com/FShMthn.png" alt="Logo Eccel-tec">
</a>
<ul>
Expand Down
37 changes: 33 additions & 4 deletions templates/static/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,11 @@
}
#sidebarNav img {
width: 70%;
align-self: center;
}

#logoImg {
text-align: center;
margin-top: 40px;
}

#sidebarNav ul {
Expand All @@ -68,6 +72,8 @@
#sidebarNav li {
width: 100%;
height: 56px;
text-align: center;
display: flex;

margin-bottom: 22px;
border-radius: 4px;
Expand All @@ -80,23 +86,46 @@

#sidebarNav li a {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: #d7d7d7;
height: 100%;
padding: 16px;
float: left;
flex-wrap: wrap;
flex-direction: column;
align-items: left;
justify-content: center;
align-content: center;
}

.drawers img {
margin-right: -2px;
}

.configs{
margin-left: -5px;
}

.configs img {
margin-right: -19px;
}

.my-services{
margin-left: -22px;
margin-left: -5px;
}

.my-services img {
margin-right: -18px;
}

.my-services a {
text-align: center;
}

.employees img {
margin-right: -17px;
}

#sidebarNav li:hover {
filter: brightness(0.8);
}
Expand Down

0 comments on commit e76f93f

Please sign in to comment.