changed button-more style for faqs and featured posts
This commit is contained in:
parent
c8f082f964
commit
a118b1c11b
|
@ -16,9 +16,9 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the Espai d'assessorament, projecte oficina de suport de <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Tested up to: 6.2
|
||||
Requires PHP: 5.6
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Text Domain: ofisuport
|
||||
|
@ -972,6 +972,34 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
line-height: inherit;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .category-faq .more-link .button-more::before {
|
||||
content: "accedir";
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
left: 0.5em;
|
||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .category-faq .more-link .button-more::after {
|
||||
content: "+";
|
||||
display: inline-block;
|
||||
width: 8rem;
|
||||
height: 2rem;
|
||||
padding: 0 0.5rem;
|
||||
text-align: right;
|
||||
font-size: 2.5rem;
|
||||
line-height: 0.7;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area .category-faq .more-link .button-more:hover::after {
|
||||
content: ">";
|
||||
padding: 0 0.1rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.edit-post-visual-editor__content-area input[type="text"],
|
||||
.edit-post-visual-editor__content-area input[type="email"],
|
||||
.edit-post-visual-editor__content-area input[type="url"],
|
||||
|
@ -1555,25 +1583,40 @@ Add your custom styles in this file so it is easier to update the theme.
|
|||
.edit-post-visual-editor__content-area .ofisuport-filters section {
|
||||
margin: 1em 0;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .ofisuport-filters .oficinasuport-titol-opcions {
|
||||
max-width: 13em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .archive-posts {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.edit-post-visual-editor__content-area .oficinasuport-titol-opcions {
|
||||
/* applied in forms and contactforms */
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
max-width: 13em;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.6em 1em 0.4em;
|
||||
clear: both;
|
||||
cursor: pointer;
|
||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 0.9rem;
|
||||
border: 1px solid #000;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .oficinasuport-titol-opcions:after {
|
||||
content: ">";
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
.edit-post-visual-editor__content-area .oficinasuport-titol-opcions:hover:after {
|
||||
transform: rotate(90deg);
|
||||
animation: rotate 0.5s;
|
||||
}
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 48em) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -68,34 +68,34 @@ input[type="submit"],
|
|||
}
|
||||
}
|
||||
}
|
||||
// .category-faq {
|
||||
// .entry-title {
|
||||
// a {
|
||||
// &::before {
|
||||
// content: "accedir";
|
||||
// position: absolute;
|
||||
// bottom: 1em;
|
||||
// left: 0.5em;
|
||||
// font-family: $font__light;
|
||||
// font-size: 1rem;
|
||||
// line-height: 0;
|
||||
// }
|
||||
// &::after {
|
||||
// content: "+";
|
||||
// width: 8rem;
|
||||
// height: 2rem;
|
||||
// padding: 0 0.5rem;
|
||||
// text-align: right;
|
||||
// font-size: 2.5rem;
|
||||
// line-height: 0.7;
|
||||
// }
|
||||
// &:hover::after {
|
||||
// content: ">";
|
||||
// padding: 0 0.1rem;
|
||||
// font-size: 1.5rem;
|
||||
// line-height: 1.2;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
.category-faq {
|
||||
.more-link {
|
||||
.button-more {
|
||||
&::before {
|
||||
content: "accedir";
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
left: 0.5em;
|
||||
font-family: $font__light;
|
||||
font-size: 1rem;
|
||||
line-height: 0;
|
||||
}
|
||||
&::after {
|
||||
content: "+";
|
||||
display: inline-block;
|
||||
width: 8rem;
|
||||
height: 2rem;
|
||||
padding: 0 0.5rem;
|
||||
text-align: right;
|
||||
font-size: 2.5rem;
|
||||
line-height: 0.7;
|
||||
}
|
||||
&:hover::after {
|
||||
content: ">";
|
||||
padding: 0 0.1rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -106,8 +106,6 @@
|
|||
margin: 1em 0;
|
||||
}
|
||||
.oficinasuport-titol-opcions {
|
||||
max-width: 13em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
.archive-posts {
|
||||
|
@ -115,16 +113,38 @@
|
|||
}
|
||||
|
||||
.oficinasuport-titol-opcions {
|
||||
/* applied in forms and contactforms */
|
||||
// applied in forms and contactforms
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
max-width: 13em;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.6em 1em 0.4em;
|
||||
clear: both;
|
||||
cursor: pointer;
|
||||
font-family: $font__black;
|
||||
font-size: $font__size-body*0.9;
|
||||
border: 1px solid $color__border-button;
|
||||
text-transform: uppercase;
|
||||
&:after {
|
||||
content: ">";
|
||||
display: inline;
|
||||
float:right;
|
||||
}
|
||||
&:hover {
|
||||
&:after {
|
||||
transform: rotate(90deg);
|
||||
animation: rotate 0.5s;
|
||||
}
|
||||
}
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the Espai d'assessorament, projecte oficina de suport de <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Tested up to: 6.2
|
||||
Requires PHP: 5.6
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Text Domain: ofisuport
|
||||
|
|
57
style.css
57
style.css
|
@ -5,9 +5,9 @@ Theme URI: https://git.hangar.org/xarxaprod/
|
|||
Author: Hangar.org Tech Lab - hangar.org
|
||||
Author URI: https://hangar.org
|
||||
Description: theme for the Espai d'assessorament, projecte oficina de suport de <a href="https://xarxaprod.cat">XarxaProd</a>. Inclou la possibilitat de publicar, catalogar i cercar ajuts, resoldre dubtes amb FAQs i altres. Design by Eudald Van der Pla <a href="https://vanderpla.com">vanderpla.com</a>. Coding template and theme by <a href="https://vitrubio.net">Jorge - vitrubio.net</a>
|
||||
Version: 1.0.3
|
||||
Version: 1.0.4
|
||||
Tested up to: 6.2
|
||||
Requires PHP: 5.6
|
||||
Requires PHP: 7.4
|
||||
License: GNU General Public License v3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Text Domain: ofisuport
|
||||
|
@ -903,6 +903,34 @@ input[type="submit"]:focus,
|
|||
line-height: inherit;
|
||||
}
|
||||
|
||||
.category-faq .more-link .button-more::before {
|
||||
content: "accedir";
|
||||
position: absolute;
|
||||
bottom: 1em;
|
||||
left: 0.5em;
|
||||
font-family: "din-light", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 1rem;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.category-faq .more-link .button-more::after {
|
||||
content: "+";
|
||||
display: inline-block;
|
||||
width: 8rem;
|
||||
height: 2rem;
|
||||
padding: 0 0.5rem;
|
||||
text-align: right;
|
||||
font-size: 2.5rem;
|
||||
line-height: 0.7;
|
||||
}
|
||||
|
||||
.category-faq .more-link .button-more:hover::after {
|
||||
content: ">";
|
||||
padding: 0 0.1rem;
|
||||
font-size: 1.5rem;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
|
@ -1490,25 +1518,40 @@ textarea {
|
|||
.ofisuport-filters section {
|
||||
margin: 1em 0;
|
||||
}
|
||||
.ofisuport-filters .oficinasuport-titol-opcions {
|
||||
max-width: 13em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.archive-posts {
|
||||
grid-template-columns: repeat(1, 1fr);
|
||||
}
|
||||
.oficinasuport-titol-opcions {
|
||||
/* applied in forms and contactforms */
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
max-width: 13em;
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0.6em 1em 0.4em;
|
||||
clear: both;
|
||||
cursor: pointer;
|
||||
font-family: "din-black", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
font-size: 0.9rem;
|
||||
border: 1px solid #000;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.oficinasuport-titol-opcions:after {
|
||||
content: ">";
|
||||
display: inline;
|
||||
float: right;
|
||||
}
|
||||
.oficinasuport-titol-opcions:hover:after {
|
||||
transform: rotate(90deg);
|
||||
animation: rotate 0.5s;
|
||||
}
|
||||
@keyframes rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 48em) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue