Skip to content

Commit

Permalink
ciemny motyw i poprawa widoczności
Browse files Browse the repository at this point in the history
  • Loading branch information
wasu-code committed Mar 15, 2022
1 parent 889d76b commit d26ce3f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/inna_chroniona.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<head>
<meta charset="utf-8" />
<title>Chroniona strona</title>
<link rel="stylesheet" href="<?php print(_APP_URL)?>/main.css">
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
</head>
<body>
Expand Down
3 changes: 2 additions & 1 deletion app/security/login_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="utf-8" />
<title>Logowanie</title>
<link rel="stylesheet" href="<?php print(_APP_URL)?>/main.css">
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
</head>
<body>
Expand All @@ -24,7 +25,7 @@
//wyświeltenie listy błędów, jeśli istnieją
if (isset($messages)) {
if (count ( $messages ) > 0) {
echo '<ol style="padding: 10px 10px 10px 30px; border-radius: 5px; background-color: #f88; width:300px;">';
echo '<ol id="id_errors">';
foreach ( $messages as $key => $msg ) {
echo '<li>'.$msg.'</li>';
}
Expand Down
21 changes: 21 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
body {
color:aliceblue;
background-color: #333;
}

.pure-form legend {
color:aliceblue !important;
}

form.pure-form input{
color:black;
}

#id_errors{
color: black;
margin: 20px;
padding: 10px 10px 10px 30px;
border-radius: 5px;
background-color: #f88;
width:300px;
}

0 comments on commit d26ce3f

Please sign in to comment.