Skip to content

Commit

Permalink
Merge pull request #2 from ramoncordini/add-context-menu
Browse files Browse the repository at this point in the history
Add context menu - páginas informativas
  • Loading branch information
samuelveigarangel authored Apr 5, 2024
2 parents 3152414 + 689cc93 commit a9a8c17
Show file tree
Hide file tree
Showing 31 changed files with 113 additions and 11 deletions.
2 changes: 1 addition & 1 deletion css/article.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions css/bootstrap.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/bootstrap.css.map

Large diffs are not rendered by default.

Binary file added img/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/favicons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/favicons/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions img/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
2 changes: 1 addition & 1 deletion versions/1.0.0/dist/css/article.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions versions/1.0.0/dist/css/bootstrap.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion versions/1.0.0/dist/css/bootstrap.css.map

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added versions/1.0.0/dist/img/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added versions/1.0.0/dist/img/favicons/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions versions/1.0.0/dist/img/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
8 changes: 7 additions & 1 deletion versions/1.0.0/src/common/scss/_components/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1181,4 +1181,10 @@
@media (min-width: 1024px){
display: block;
}
}
}

.dropdown-item {
.fixed-top &{
color: $__interaction--light;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@
background-color: $__bg--light;
}

.journalContent &{
min-height: 220px;
}

.list-group-item{
background-color: $__bg--light;
border-color: $__border--light;
Expand Down Expand Up @@ -206,6 +210,11 @@
@include __on-theme--light {
color: $__text--light;
}

.btn{
position: absolute;
bottom: 16px;
}
}

.card-title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,22 @@ $__bg__white--2: #414141;
}


}

/*
Ajuste pontual no levelMenu das paginas do periódico.
*/
.levelMenu{
.journal &{

margin-top: 1.5rem;

@include media-breakpoint-only(xs) {

margin-top: 145px;
/*9.0625rem*/

}

}
}
31 changes: 31 additions & 0 deletions versions/1.0.0/src/common/scss/_components/_nav-context-menu.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

/* Context-menu */

ul.scielo__menu-contexto,
ul.scielo__menu-contexto ul{
list-style: none;
}
ul.scielo__menu-contexto ul{
margin-bottom: 1rem;
}
ul.scielo__menu-contexto .nav-link{
padding:0;
color: $__text__subtle--light;
}
ul.scielo__menu-contexto .nav-link.active{
color:$__interaction--light;
}
.sticky-top{
top: 80px;
}

.bd-example h5,
.bd-example h4{
margin-top: 3rem;
}
.bd-example hr{
margin-top: 3rem;
}
.bd-example ul{
margin-bottom: 3rem;
}
6 changes: 5 additions & 1 deletion versions/1.0.0/src/common/scss/_components/_nav-topbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,8 @@
}
}
}
}
}

header {
background: $white;
}
23 changes: 23 additions & 0 deletions versions/1.0.0/src/common/scss/_generic/_font.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
body, p, h1, h2, h3, h4, h5, h6, input, textarea {
text-rendering: optimizeLegibility;
}

body{

&.top-nav-visible{

padding-top: 115px;

@media (min-width: 768px){

padding-top: 74px;

}

}

}

/*
Ajuste pontual Opac - section.journalInfo
*/
.journalInfo{
margin-top: 74px;
}
1 change: 1 addition & 0 deletions versions/1.0.0/src/common/scss/_mixins/_font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
@mixin __text__body--link {
//font-weight: bold;
text-decoration: none;
word-wrap: break-word;

&:hover{
text-decoration: underline;
Expand Down
9 changes: 8 additions & 1 deletion versions/1.0.0/src/common/scss/_objects/_font-fixes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -311,4 +311,11 @@ cite {
}
*/


@media (min-width: 768px){

.#{$__classPrefix}__truncate{
display: block;
max-width: 285px;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@import "../_components/form-input-group";
@import "../_components/form-datepicker";
@import "../_components/nav-menu";
@import "../_components/nav-context-menu";
@import "../_components/nav-menu-responsivo";
@import "../_components/nav-topbar";
@import "../_components/nav-pagination";
Expand Down

0 comments on commit a9a8c17

Please sign in to comment.