commit e3779129d6ef109275040f9aba4c45b36af5e74f
parent a48d2a9a37f31e31089df49f7ffc330300e95ae2
Author: markseu <mark2011@mayberg.se>
Date: Thu, 19 Jun 2014 15:22:41 +0200
Core update (midsommar style remix)
Diffstat:
4 files changed, 23 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
@@ -1,4 +1,4 @@
-Yellow 0.3.3
+Yellow 0.3.4
============
Yellow is for people who make websites.
diff --git a/media/styles/default.css b/media/styles/default.css
@@ -1,4 +1,4 @@
-/* Yellow default style 0.3.2 */
+/* Yellow default style 0.3.3 */
html, body, div, form, pre, span, tr, th, td { margin:0; padding:0; border:0; vertical-align:baseline; }
body {
@@ -12,26 +12,27 @@ body {
h1, h2, h3, h4, h5, h6 { color:#07d; font-weight:normal; }
hr { height:1px; background:#ddd; border:0; }
code { font-size:1.1em; }
+a { color:#07d; }
+a:hover { color:#07d; text-decoration:underline; }
a, img { border:none; text-decoration:none; }
-a { color:#717171; }
-a:hover { color:#07d; }
.header h1 { margin-top:0.5em; margin-bottom:0em; font-size:2.5em; }
-.header a { color:#111; }
+.header a { color:#111; text-decoration:none; }
.navigation { margin-bottom:1em; border-bottom:1px solid #ddd; line-height:2em; }
.navigation a { color:#111; padding:0 0.3em; display:inline-block; }
.navigation a:hover { color:#07d; }
-.navigation li a.active { color:#07d; }
+.navigation li a.active { color:#111; }
.navigation li a.active:hover { color:#07d; }
.navigation li { display:inline; }
.navigation ul { margin:0 -0.3em; padding:0; list-style:none; }
.pagination { margin:1em 0; }
-.content a { color:#07d; }
-.content a:hover { color:#07d; text-decoration:underline; }
+.content h1 a:hover { text-decoration:none; }
.content img { max-width:100%; height:auto; }
.content form { margin:1em 0; }
.content .flexible { position:relative; padding-bottom:56.25%; padding-top:30px; }
.content .flexible iframe { position:absolute; top:0; left:0; width:100%; height:100%; }
-.footer { margin-top:1em; border-top:1px solid #ddd; line-height:2em; }
+.footer { margin-top:1em; padding:0.5em 0em; border-top:1px solid #ddd; }
+.footer a { color:#717171; }
+.footer a:hover { color:#07d; text-decoration:underline; }
.left { float:left; margin:0 1em 0 0; }
.center { display:block; margin:0 auto; }
.right { float:right; margin:0 0 0 1em; }
diff --git a/system/core/core-webinterface.css b/system/core/core-webinterface.css
@@ -1,4 +1,4 @@
-/* Yellow web interface 0.3.1 */
+/* Yellow web interface 0.3.2 */
.yellow-bar { position:relative; overflow:hidden; line-height:2.0em; }
.yellow-bar-left { display:block; float:left; }
@@ -22,24 +22,29 @@
.yellow-btn {
margin:0; padding:4px 22px;
- background-color:#eaeaea; color:#333333;
+ display:inline-block;
+ background-color:#eaeaea; color:#333333;
background-image:linear-gradient(to bottom, #ffffff, #e1e1e1);
background-repeat:repeat-x;
border:1px solid #bbb;
border-color:#d1d1d1 #d1d1d1 #aaaaaa;
border-radius:4px;
outline-offset:-2px;
- font-size:0.9em;
+ font-size:0.9em; font-family:inherit; font-weight:normal; line-height:1;
+ text-align:center; text-decoration:none;
+}
+.yellow-btn:hover, .yellow-btn:focus, .yellow-btn:active {
+ color:#333333;
+ background-image:none;
+ text-decoration:none;
}
-.yellow-btn:hover, .yellow-btn:focus, .yellow-btn:active { background-image:none; }
.yellow-btn:active { box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.1); }
-.yellow-btn-warn {
+.yellow-btn-red {
background-color:#c33c35; color:#ffffff;
background-image:linear-gradient(to bottom, #ee5f5b, #bd362f);
border-color:#b13121 #b13121 #802020;
- text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);
}
-.yellow-btn-warn:active { box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.3); }
+.yellow-btn-red:hover, .yellow-btn-red:focus, .yellow-btn-red:active { color:#ffffff; }
#yellow-pane-login { }
#yellow-pane-login h1 { margin:0.5em 0.5em; }
@@ -49,5 +54,3 @@
#yellow-pane-edit #yellow-edit-info { margin:0; padding:5px; border:1px solid #bbb; display:none; }
#yellow-pane-edit #yellow-edit-buttons { margin:5px 0; }
#yellow-pane-user { }
-
-.yellow-icon { width:16px; height:16px; display:inline-block; background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAIAAACQkWg2AAAA4UlEQVQoFZWQPQrCQBBGv80qwfyIIoKFhYWl1/EGFl5A7EyhIFgIgnZewpt4A5uAgoWIS0SMiRlJlqzZJtPMtzPvMbAsPqNUGaXoBC4tVJQL9gIsROQj2Kdzc4hqH2Ipsb8LTTge6lvwzo+w4O7AJExBFYI5ohtgwp7Q0hzBeEFsKGelCvEFYk2r2hi8B2cK4SEOMpg6K3yri/YJvIWPD9xxHeTpJKsXaPmAWFHnXYgZBbWKAvA8pMz7qML00glxWOTkRCfwRrpmXHIy6ATDyoTMlLjul3JLXdRd0HFyVlr4AhXBLDxuCuBRAAAAAElFTkSuQmCC); }
diff --git a/system/core/core.php b/system/core/core.php
@@ -5,7 +5,7 @@
// Yellow main class
class Yellow
{
- const Version = "0.3.3";
+ const Version = "0.3.4";
var $page; //current page
var $pages; //pages from file system
var $config; //configuration