Initial commit, Ecard system build with CodeIgniter PHP framework

Currently working
- Basic structure
- Basic caching and gzip compression for speed
- Admin authentication
This commit is contained in:
Ismo Vuorinen
2013-07-11 07:42:03 +03:00
committed by Ismo Vuorinen
parent 345d8ea65a
commit c10c9e3131
206 changed files with 53864 additions and 0 deletions

1
assets/css/foundation.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
assets/css/normalize.min.css vendored Normal file
View File

@@ -0,0 +1 @@
/*! normalize.css v2.1.1 | MIT License | git.io/normalize */ article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{background:#fff;color:#000;font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

179
assets/css/style.css Normal file
View File

@@ -0,0 +1,179 @@
html {
background: #cbc395 url('../img/tausta.jpg');
height: 100%;
margin: 0px;
padding: 0px;
}
body {
color: #333;
background: transparent url('../img/headerbg2.png') top center no-repeat;
}
body footer {
padding-top: 30px;
}
body footer .panel {
font-size: 11px;
}
h1, h2, h3 {
font-family: Georgia, 'Sans serif';
}
.top-bar-section .adminmenu > a {
background-color: #333 !important;
}
.top-bar-section .adminmenu a.logout {
background-color: #900 !important;
}
.progress span {
display: block;
padding: 4px 5px;
font-size: 11px;
overflow: hidden;
color: #fff;
}
.progress span.queue {
background: #111;
}
.progress span.public {
background: #333;
}
.progress span.private {
background: #555;
}
.progress span.hidden {
background: #777;
}
.clear {
clear: both;
overflow: auto;
}
.loginlink {
float: right;
font-size: 12px;
color: #aaa;
}
.headerlogo {
text-align: center;
padding-right: 20px;
margin-bottom: 0px;
}
.backgroundfix {
background: #fff;
}
.panel {
border-color: transparent;
}
.image-panel a {
color: #333;
font-size: 11px;
}
#ecard_form label.error {
margin-top: -10px;
padding-bottom: 20px;
clear: both;
overflow: auto;
}
#message_text {
width: 100%;
max-width: 100%;
min-width: 100%;
height: 200px;
min-height: 200px;
max-height: 500px;
}
#previewpanel {
border: 1px solid #333;
position: relative;
height: 350px;
}
#previewpanel, .previewpanelclear {
clear: both;
overflow: auto;
}
#previewimage {
position:absolute;
top: 0px;
left: 0px;
border: 1px solid #333;
z-index: 1;
}
.postcard_preview {
width: 100%;
height: 300px;
background: #333;
}
#message_title_preview {
font-size: 30px;
font-weight: bold;
}
#message_text_preview {
font-size: 18px;
}
#message_title_preview,
#message_text_preview {
position: relative;
z-index: 2;
color: #fff;
text-shadow: 0px 0px 10px rgba(150, 150, 150, 1);
width: 90%;
cursor: move;
border: 1px dashed #666;
}
#message_title_preview {
top: 20px;
left: 10px;
}
#message_text_preview {
top: 40px;
left: 10px;
white-space: pre;
}
.ui-draggable-dragging,
.ui-resizable-resizing {
background: #fff;
background: rgba(255, 255, 255, 0.5);
}
ul.thumbnails.image_picker_selector {
overflow: auto;
list-style-image: none;
list-style-position: outside;
list-style-type: none;
padding: 0px;
margin: 0px;
}
ul.thumbnails.image_picker_selector li {
margin: 0px 3px 3px 0px;
float: left;
}
ul.thumbnails.image_picker_selector li .thumbnail {
padding: 3px;
border: 1px solid #dddddd;
width: 90px;
height: 71px;
}
ul.thumbnails.image_picker_selector li .thumbnail.selected {
background: #0088cc;
width: 90px;
height: 71px;
}