Commit 369c7ced authored by Thomas Citharel's avatar Thomas Citharel 🌲

Update theme for nc11

parent c0ecc618
......@@ -14,8 +14,17 @@
height:auto;
}
#header .logo-icon {
display: inline-block;
background-image: url('../img/logo-icon.svg');
background-repeat: no-repeat;
background-position: center center;
width: 62px;
height: 34px;
}
#body-login p {
margin: 0px 0px 10px;
margin: 0 0 10px;
}
#preview {
......@@ -23,29 +32,34 @@
background:transparent;
}
footer[role="contentinfo"] {
display:none;
}
#body-login footer#framafooter {
display:block;
}
#framafooter h2,
#framafooter form {
display:none;
h1 {
font-size:48px;
}
h1 {font-size:48px;}
h2 {font-size:30px;margin-bottom:10px;}
h2 {
font-size:30px;
margin-bottom:10px;
}
.h1, .h2, .h3, .h4, .h5 {
.h1,
.h2,
.h3,
.h4,
.h5 {
font-weight: bold;
color: #666;
}
#body-login header img { height:58px;} /* Ind!eHosters */
#body-login header a,
#body-login header a:hover,
#body-login header a:focus { text-decoration:none; }
#body-login header a:focus {
text-decoration:none;
}
.container.ombre {
margin-top: 72px;
......@@ -68,7 +82,7 @@ img.ombre {
/* LOG IN & INSTALLATION ------------------------------------------------------------ */
#body-login form {
#body-login form[name="login"] {
margin: 10px auto 20px;
padding: 5px;
background-color: #6A5687;
......@@ -79,13 +93,16 @@ img.ombre {
margin:0;
}
#body-login form img { display:none; }
#body-login form img {
display:none;
}
#body-login form#alternative-logins {
background:none;
padding:0;
}
#body-login form[name="login"] {
width: 289px;
}
......@@ -94,8 +111,11 @@ img.ombre {
padding:5px;
font-size:14px;
font-weight:normal;
background-color: #6A5687;
border: 1px solid #fff;
}
/*
#body-login #submit.login {
position: absolute;
right: 0;
......@@ -105,16 +125,19 @@ img.ombre {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
opacity: .3;
}
#body-login #submit.login:hover,
#body-login #submit.login:focus {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
opacity: .7;
}
#body-login input[type="password"] {
padding-right: 40px;
box-sizing: border-box;
min-width: 269px;
}
*/
#body-login .msg {
color: #333;
......@@ -137,11 +160,13 @@ img.ombre {
}
#body-login form fieldset {
margin-bottom: 0px;
margin-bottom: 0;
}
#body-login form fieldset.warning-info {
color:#fff;
}
#body-login input[type="submit"].icon-confirm {
width:42px;
height:42px;
......@@ -161,6 +186,7 @@ img.ombre {
#body-login form[action*="registration"] #username {
width: 329px !important;
}
#body-login form[action*="registration"] #password,
#body-login form[action*="registration"] #submit {
width: 375px !important
......@@ -182,6 +208,7 @@ label[for="show"] {
}
/* Icons for username and password fields to better recognize them */
#adminlogin,
#adminpass,
input[name='adminpass-clone'],
......@@ -197,7 +224,7 @@ input[name='password-clone'] {
margin-top: 5px;
opacity:0.7;
color:#fff;
margin:0px;
margin: 0;
}
.error-wide {
......@@ -220,26 +247,37 @@ input[name='password-clone'] {
}
/* Alternative Logins */
#alternative-logins legend { display:none; }
#alternative-logins li { height:auto; display:block; }
#alternative-logins legend {
display:none;
}
#alternative-logins li {
height:auto;
display:block;
}
/* Log in and install button */
/*
#body-login input {
font-size: 18px;
}
#body-login input[type="text"],
#body-login input[type="password"] {
width: 249px;
}
#remember_login {
margin: 10px 5px 0 5px !important;
}
*/
/* Sticky footer */
#body-login .wrapper {
margin: 20px auto;
}
#body-login footer, #body-login .push {
#body-login footer,
#body-login .push {
height: auto;
display:none;
}
......@@ -253,8 +291,9 @@ input[name='password-clone'] {
}
/* NAVIGATION --------------------------------------------------------------- */
/* arrow look */
#navigation:after, #expanddiv:after {
#navigation:after,
#expanddiv:after {
border-bottom-color: #3E3363;
}
......@@ -287,12 +326,6 @@ h1 {
color: #616161;
}
header .lead {
font-style: italic;
font-weight: 300;
line-height: 2.4;
}
.trait {
background-color: #EEE;
height: 11px;
......
<!DOCTYPE html>
<html class="ng-csp" data-placeholder-focus="false" lang="<?php p($_['language']); ?>" >
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<meta charset="utf-8">
<title>
<?php p($theme->getTitle()); ?>
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="referrer" content="never">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="#1d2d44">
<?php foreach ($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
<?php endforeach; ?>
<?php foreach($_['printcssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
<?php endforeach; ?>
<?php foreach ($_['jsfiles'] as $jsfile): ?>
<script src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php print_unescaped($_['headers']); ?>
</head>
<body id="body-public">
<?php include('layout.noscript.warning.php'); ?>
<?php print_unescaped($_['content']); ?>
</body>
<head data-requesttoken="<?php p($_['requesttoken']); ?>">
<meta charset="utf-8">
<title>
<?php p($theme->getTitle()); ?>
</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="referrer" content="never">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="theme-color" content="<?php p($theme->getMailHeaderColor()); ?>">
<link rel="icon" href="<?php print_unescaped(image_path('', 'favicon.ico')); /* IE11+ supports png */ ?>">
<link rel="apple-touch-icon-precomposed" href="<?php print_unescaped(image_path('', 'favicon-touch.png')); ?>">
<link rel="mask-icon" sizes="any" href="<?php print_unescaped(image_path('', 'favicon-mask.svg')); ?>" color="#1d2d44">
<?php foreach ($_['cssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>">
<?php endforeach; ?>
<?php foreach($_['printcssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
<?php endforeach; ?>
<?php if (isset($_['inline_ocjs'])): ?>
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" type="text/javascript">
<?php print_unescaped($_['inline_ocjs']); ?>
</script>
<?php endif; ?>
<?php foreach ($_['jsfiles'] as $jsfile): ?>
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<?php print_unescaped($_['headers']); ?>
</head>
<body id="body-public">
<?php include('layout.noscript.warning.php'); ?>
<?php print_unescaped($_['content']); ?>
</body>
</html>
......@@ -19,10 +19,15 @@
<?php foreach($_['printcssfiles'] as $cssfile): ?>
<link rel="stylesheet" href="<?php print_unescaped($cssfile); ?>" media="print">
<?php endforeach; ?>
<?php if (isset($_['inline_ocjs'])): ?>
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" type="text/javascript">
<?php print_unescaped($_['inline_ocjs']); ?>
</script>
<?php endif; ?>
<?php foreach($_['jsfiles'] as $jsfile): ?>
<script src="<?php print_unescaped($jsfile); ?>"></script>
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="<?php print_unescaped($jsfile); ?>"></script>
<?php endforeach; ?>
<script src="/themes/framagenda/core/nav/nav.js" type="text/javascript"></script>
<script nonce="<?php p(\OC::$server->getContentSecurityPolicyNonceManager()->getNonce()) ?>" src="https://framasoft.org/nav/nav.js" type="text/javascript"></script>
<?php print_unescaped($_['headers']); ?>
</head>
<body id="<?php p($_['bodyid']);?>">
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment