Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Melhorias #7

Merged
merged 4 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 76 additions & 14 deletions src/painel/static/dashboard/css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,500;0,700;0,800;0,900;1,400;1,500;1,700;1,800;1,900&display=swap");
:root {
--page-max-width: 1312px;
Expand Down Expand Up @@ -250,11 +251,10 @@ a {
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 22px;
text-align: left;
border: none !important;
background-color: #fff;
padding: 0.25em 0.5em;
padding: 0.5em 0.5em;
background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
}

Expand Down Expand Up @@ -1005,6 +1005,16 @@ main #menu-separator {
padding: 5px 10px;
font-size: smaller;
}
main #search-mobile button div {
display: inline-flex;
}
main #search-mobile button div i {
margin-top: 3px;
margin-right: 5px;
}
main #search-mobile #btnClearFilter:hover {
background-color: #fff !important;
}
main #search-mobile #btn-search {
position: absolute;
color: #777;
Expand All @@ -1015,6 +1025,7 @@ main #menu-separator {
main #search-mobile #btn-filter {
color: #fff;
background-color: var(--verde-botao);
padding: 0px 10px;
}
}

Expand Down Expand Up @@ -1277,8 +1288,8 @@ main #maincontent #course-list .course-listitem .course-body .course-quickaction
text-align: center;
}

main #maincontent #course-list .course-listitem .course-body .course-quickactions > label:last-child {
border-top: 1px solid var(--cinza-terciario);
main #maincontent #course-list .course-listitem .course-body .course-quickactions > label:first-child {
border-bottom: 1px solid var(--cinza-terciario);
}

main #maincontent #course-list .course-listitem .course-body .course-quickactions > label i {
Expand All @@ -1287,7 +1298,9 @@ main #maincontent #course-list .course-listitem .course-body .course-quickaction
}

main #maincontent #course-list .course-listitem .course-actions {
display: none;
opacity: 0;
max-height: 0;
overflow: hidden;
background: #f5e8e8 0% 0% no-repeat padding-box;
box-shadow: 0px 0px 3px #00000080;
border-radius: 0 0 4px 4px;
Expand All @@ -1299,6 +1312,7 @@ main #maincontent #course-list .course-listitem .course-actions {
color: #464646;
padding: 15px;
margin: 1px 8px;
transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

main #maincontent #course-list .course-listitem .course-actions span {
Expand All @@ -1311,13 +1325,28 @@ main #maincontent #course-list .course-listitem .course-actions span > a {
}

main #maincontent #course-list .course-listitem.showActions .course-actions {
display: block;
opacity: 1;
max-height: 500px;
/* Ajuste conforme necessário */
transition: opacity 0.9s ease-in-out, max-height 0.9s ease-in-out;
}

main #maincontent #course-list .favorited {
color: var(--verde-botao);
}

main #maincontent #course-list .seta {
transition: transform 0.5s ease-in-out !important;
}

main #maincontent #course-list .seta-up {
transform: rotate(180deg) !important;
}

main #maincontent #course-list .seta-down {
transform: rotate(0deg) !important;
}

@media only screen and (max-width: 432px) {
main #maincontent {
background: none;
Expand Down Expand Up @@ -1454,15 +1483,17 @@ main #maincontent #course-list .course-listitem .course-body .course-info .cours
width: 100%;
text-align: center;
}
main #maincontent #course-list .course-listitem .course-body .course-quickactions > label:last-child {
border-top: 1px solid var(--cinza-terciario);
main #maincontent #course-list .course-listitem .course-body .course-quickactions > label:first-child {
border-bottom: 1px solid var(--cinza-terciario);
}
main #maincontent #course-list .course-listitem .course-body .course-quickactions > label i {
top: calc(50% - 15px);
position: relative;
}
main #maincontent #course-list .course-listitem .course-actions {
display: none;
opacity: 0;
max-height: 0;
overflow: hidden;
background: #f5e8e8 0% 0% no-repeat padding-box;
box-shadow: 0px 0px 3px #00000080;
border-radius: 0 0 4px 4px;
Expand All @@ -1474,6 +1505,7 @@ main #maincontent #course-list .course-listitem .course-body .course-info .cours
color: #464646;
padding: 15px;
margin: 1px 8px;
transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}
main #maincontent #course-list .course-listitem .course-actions span {
display: block;
Expand All @@ -1483,11 +1515,23 @@ main #maincontent #course-list .course-listitem .course-body .course-info .cours
margin-left: 8px;
}
main #maincontent #course-list .course-listitem.showActions .course-actions {
display: block;
opacity: 1;
max-height: 500px;
/* Ajuste conforme necessário */
transition: opacity 0.9s ease-in-out, max-height 0.9s ease-in-out;
}
main #maincontent #course-list .favorited {
color: var(--verde-botao);
}
main #maincontent #course-list .seta {
transition: transform 0.5s ease-in-out !important;
}
main #maincontent #course-list .seta-up {
transform: rotate(180deg) !important;
}
main #maincontent #course-list .seta-down {
transform: rotate(0deg) !important;
}
}

@media only screen and (max-width: 366px) {
Expand Down Expand Up @@ -1659,8 +1703,8 @@ main #course-list .course-listitem .course-body .course-quickactions > label {
text-align: center;
}

main #course-list .course-listitem .course-body .course-quickactions > label:last-child {
border-top: 1px solid var(--cinza-terciario);
main #course-list .course-listitem .course-body .course-quickactions > label:first-child {
border-bottom: 1px solid var(--cinza-terciario);
}

main #course-list .course-listitem .course-body .course-quickactions > label i {
Expand All @@ -1669,7 +1713,9 @@ main #course-list .course-listitem .course-body .course-quickactions > label i {
}

main #course-list .course-listitem .course-actions {
display: none;
opacity: 0;
max-height: 0;
overflow: hidden;
background: #f5e8e8 0% 0% no-repeat padding-box;
box-shadow: 0px 0px 3px #00000080;
border-radius: 0 0 4px 4px;
Expand All @@ -1681,6 +1727,7 @@ main #course-list .course-listitem .course-actions {
color: #464646;
padding: 15px;
margin: 1px 8px;
transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

main #course-list .course-listitem .course-actions span {
Expand All @@ -1693,13 +1740,28 @@ main #course-list .course-listitem .course-actions span > a {
}

main #course-list .course-listitem.showActions .course-actions {
display: block;
opacity: 1;
max-height: 500px;
/* Ajuste conforme necessário */
transition: opacity 0.9s ease-in-out, max-height 0.9s ease-in-out;
}

main #course-list .favorited {
color: var(--verde-botao);
}

main #course-list .seta {
transition: transform 0.5s ease-in-out !important;
}

main #course-list .seta-up {
transform: rotate(180deg) !important;
}

main #course-list .seta-down {
transform: rotate(0deg) !important;
}

main #popupFilter {
background-color: #fff;
border: 1px solid #ccc;
Expand Down
Loading
Loading