1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-06 06:07:31 +02:00

Version 1.4.4: Finished Access Controle

This commit is contained in:
trendschau
2021-02-02 20:38:53 +01:00
parent 1d7d082280
commit f45da5e56f
24 changed files with 183 additions and 101 deletions

View File

@@ -67,7 +67,7 @@ article h1, article h2, article h3, article h4, article h5, article h6{
line-height: 1em;
position: relative;
}
article h1{ font-size: 2.2em; margin: 1.4em 0 0.6em; }
article h1{ font-size: 2.2em; margin: 1.4em 0 0.6em; z-index:1; }
article h2{ font-size: 1.6em; margin: 1.8em 0 0.6em; }
article h3{ font-size: 1.3em; margin: 1.6em 0 0.6em; }
article h4{ font-size: 1.1em; margin: 1.4em 0 0.6em; }
@@ -213,16 +213,21 @@ ul.TOC,.TOC ul{
margin: 1em 0;
padding: 10px 1em;
}
.notice3,
.notice4,
.notice5,
.notice6 {
.notice3{
margin: 1em 0;
padding: 10px 1em;
background-color: #d4e0ff;
border-left: 4px solid #3c7bf6;
}
/* used for pro content box */
.notice4{
position: relative;
text-align: center;
padding: 1em;
border: 1px solid;
}
/* Style the optional anchor-links for headlines */
a.tm-heading-anchor {
position: absolute;

View File

@@ -1,5 +1,5 @@
name: Cyanine Theme
version: 1.1.1
version: 1.1.2
description: Cyanine is a modern and flexible multi-purpose theme and the standard theme for typemill.
author: Trendschau
homepage: https://trendschau.net
@@ -163,15 +163,6 @@ forms:
label: Label for read more link
placeholder: All News
fieldsetUsers:
type: fieldset
legend: Users
fields:
accountButton:
type: checkbox
label: Show Account Button
checkboxlabel: Show account button in frontend for authenticated users?
fieldsetAuthor:
type: fieldset
legend: Article Author

View File

@@ -1,6 +1,6 @@
<section class="landingpageinfo w-100 dib tc bl br bb">
<div class="f5 f4-ns mw7 pv6 ph3 center">
<div class="f5 f4-ns mw7 pv6 ph3 fw3 lh-copy center">
{{ markdown(settings.themes.cyanine.infoMarkdown) }}

View File

@@ -110,12 +110,15 @@
color: {{ settings.themes.cyanine.fontcolorprimary|default('#F7F7F7') }};
}
.landingpagecontrast a, .landingpagecontrast a:link, .landingpagecontrast a:visited{
border-color: {{ settings.themes.cyanine.fontcolorprimary|default('#F7F7F7') }};
border-color: {{ settings.themes.cyanine.fontcolorprimary|default('#F7F7F7') }};
}
main, footer, .landingpageintro, .landingpageinfo, .landingpageteaser, .landingpagenavi, .landingpagenews,button.expander{
main, footer, .landingpageintro, .landingpageinfo, .landingpageteaser, .landingpagenavi, .landingpagenews,button.expander, .notice4{
background: {{ settings.themes.cyanine.brandcolorsecondary|default('#f7f7f7') }};
}
.notice4{
box-shadow: 0 -100px 80px 0px {{ settings.themes.cyanine.brandcolorsecondary|default('#f7f7f7') }};
}
main, footer, .landingpageintro, .landingpageinfo, .landingpageteaser, .landingpagenavi, .landingpagenews, .logo a, button.expander{
color: {{ settings.themes.cyanine.fontcolorsecondary|default('#333') }};
}
@@ -158,7 +161,7 @@
.landingpagenews li a{
color: {{ settings.themes.cyanine.newscolor|default('#333') }};
}
.mainnavigation li, tr, hr{
.mainnavigation li, tr, hr, .notice4{
border-color: {{ settings.themes.cyanine.thinbordercolor|default('lightgray') }};
}
a.tm-download::before{
@@ -178,10 +181,7 @@
background-color: #fff3d4;
border-left: 4px solid #f6b73c;
}
.notice3,
.notice4,
.notice5,
.notice6 {
.notice3{
background-color: #d4e0ff;
border-left: 4px solid #3c7bf6;
}
@@ -197,10 +197,7 @@
border-left: 10px solid #999;
color: #333;
}
.notice3,
.notice4,
.notice5,
.notice6 {
.notice3{
background-color: #444;
border-left: 10px solid #ccc;
color: #fff;
@@ -217,7 +214,7 @@
<body class="optimize-text pa2">
{% if ( settings.themes.cyanine.accountButton ) and ( is_loggedin() ) %}
{% if is_loggedin() %}
<svg style="position: absolute; width: 0; height: 0; overflow: hidden" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<symbol id="icon-user" viewBox="0 0 20 28">