[TWIG][CSS] Feedback provided to active page. Removed top accent border on notes.

This commit is contained in:
Eliseu Amaro 2021-08-09 18:06:45 +01:00 committed by Hugo Sales
parent 68cf6dee65
commit cb21599cef
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
5 changed files with 26 additions and 12 deletions

View File

@ -67,6 +67,13 @@
align-items: center; align-items: center;
} }
.active {
border-radius: var(--unit-size);
background: var(--white);
color: var(--bg1) !important;
transition: var(--cubic-transition);
}
.icon-logo { .icon-logo {
margin-right: var(--small-size); margin-right: var(--small-size);
fill: var(--white); fill: var(--white);
@ -138,7 +145,7 @@
.note { .note {
background-color: var(--translucent); background-color: var(--translucent);
border: solid 2px var(--bg2); border: solid 2px var(--bg2);
border-top: solid 2px var(--bg3); /*border-top: solid 2px var(--bg3);*/
border-radius: var(--unit-size); border-radius: var(--unit-size);
} }

View File

@ -32,6 +32,7 @@
#user-avatar { #user-avatar {
box-sizing: border-box; box-sizing: border-box;
border-radius: 50%; border-radius: 50%;
padding: 0;
} }
#user-avatar img { #user-avatar img {
@ -44,8 +45,8 @@
#user-avatar:hover, #user-avatar:hover,
#user-avatar:focus { #user-avatar:focus {
all: unset !important;
cursor: pointer; cursor: pointer;
background: none !important;
} }
#user-avatar:hover img, #user-avatar:hover img,
@ -62,6 +63,7 @@
#user-tags { #user-tags {
font-family: var(--main-font); font-family: var(--main-font);
font-size: var(--medium-size); font-size: var(--medium-size);
padding-left: var(--unit-size);
} }
.footer { .footer {

View File

@ -136,26 +136,29 @@ li {
padding: 0; padding: 0;
} }
a:link { a {
text-decoration: none; text-decoration: none;
color: var(--white); color: var(--white);
border-radius: var(--unit-size);
padding-left: var(--unit-size);
padding-right: var(--unit-size);
margin-bottom: 1px;
outline: 0; outline: 0;
} }
a:visited { a:visited {
text-decoration: none;
color: var(--white); color: var(--white);
padding-left: var(--unit-size);
padding-right: var(--unit-size);
outline: 0; outline: 0;
margin: 0; margin: 0;
padding: 0;
} }
a:focus, a:focus,
a:hover { a:hover {
border-radius: var(--unit-size);
background: var(--white); background: var(--white);
color: var(--bg1) !important; color: var(--bg1) !important;
padding: 0 var(--unit-size) 0 var(--unit-size);
transition: var(--cubic-transition); transition: var(--cubic-transition);
} }

View File

@ -105,14 +105,16 @@
margin-top: var(--unit-size); margin-top: var(--unit-size);
} }
.section-title-settings summary {
padding: var(--unit-size) var(--small-size);
}
.section-title-settings summary:focus, .section-title-settings summary:focus,
.section-title-settings summary:hover { .section-title-settings summary:hover {
cursor: pointer !important; cursor: pointer !important;
border-radius: var(--unit-size); border-radius: var(--unit-size);
background: var(--white); background: var(--white);
color: var(--bg1); color: var(--bg1);
padding-left: var(--unit-size);
padding-right: var(--unit-size);
transition: var(--cubic-transition); transition: var(--cubic-transition);
} }

View File

@ -3,14 +3,14 @@
{% if app.user %} {% if app.user %}
<section class='profile'> <section class='profile'>
<section id="profile-links"> <div id="profile-links">
<a id="user-avatar" href="{{ path('settings') }}"> <a id="user-avatar" href="{{ path('settings') }}">
<img src='{{ user_avatar }}' alt="Your avatar." class="icon icon-avatar"> <img src='{{ user_avatar }}' alt="Your avatar." class="icon icon-avatar">
</a> </a>
<span id="user-info"> <span id="user-info">
<a id="user-nick" href="{{ path('settings') }}"> <a id="user-nick" href="{{ path('settings') }}">
<h2>{{ user_nickname }}</h2> <h1>{{ user_nickname }}</h1>
</a> </a>
<div id="user-tags"> <div id="user-tags">
{% if user_tags %} {% if user_tags %}
@ -22,7 +22,7 @@
{% endif %} {% endif %}
</div> </div>
</span> </span>
</section> </div>
<span id="stats"> <span id="stats">
<h2>{{ 'Followers' | trans }} {{ user_followers }}</h2> <h2>{{ 'Followers' | trans }} {{ user_followers }}</h2>