Browse Source

scholar page templates

master
rdrew 5 days ago
parent
commit
e86f721468
  1. 7
      css/components.css
  2. 8
      css/homepage.css
  3. 3
      css/search.css
  4. 2
      templates/block/block--advanced-search.html.twig
  5. 3
      templates/layout/page--user.html.twig

7
css/components.css

@ -242,3 +242,10 @@ ul.inline li a {
.scrolltop:hover { .scrolltop:hover {
background: var(--secondary); background: var(--secondary);
} }
/*
.user-guest #main {
#tabs, h2 {
display: none;
}
}
*/

8
css/homepage.css

@ -3,6 +3,14 @@
font-size: 36px; font-size: 36px;
font-size: 2.25rem; font-size: 2.25rem;
} }
.slick button,
.slick--thumbnail .slick__slide img {
pointer-events: auto;
position: absolute !important;
background: none !important;
padding: 0 !important;
}
.homepage .messages.messages--status { .homepage .messages.messages--status {
display: none; display: none;
} }

3
css/search.css

@ -1,5 +1,8 @@
/* Search result page /* Search result page
--------------------------------------*/ --------------------------------------*/
main a.advanced_search_link {
display:none;
}
.page-content input[type="search"] { .page-content input[type="search"] {
width: 80%; width: 80%;
} }

2
templates/block/block--advanced-search.html.twig

@ -35,6 +35,6 @@
{% block content %} {% block content %}
{{ content }} {{ content }}
{% endblock %} {% endblock %}
<a href="/search">ADVANCED SEARCH</a> <a class="advanced_search_link" href="/search">ADVANCED SEARCH</a>
</div><!--/.block-content --> </div><!--/.block-content -->
</div><!--/.block --> </div><!--/.block -->

3
templates/layout/page--user.html.twig

@ -22,7 +22,7 @@
{% include '@vre2024/template-parts/content-parts/content_top.html.twig' %} {% include '@vre2024/template-parts/content-parts/content_top.html.twig' %}
{% endif %} {% endif %}
{% if logged_in %}
<h2>Manage Your Scholar Profile</h2> <h2>Manage Your Scholar Profile</h2>
<div id="tabs" class="profile_management"> <div id="tabs" class="profile_management">
<ul> <ul>
@ -52,6 +52,7 @@
<h3>Deposit Full Text:</h3> <h3>Deposit Full Text:</h3>
{{ drupal_entity('webform', 'deposit_full_text') }} {{ drupal_entity('webform', 'deposit_full_text') }}
</div> </div>
{% endif %}
</div> </div>
{{ page.content }} {{ page.content }}
</div> </div>

Loading…
Cancel
Save