Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
azizkorkmaz committed Jun 29, 2019
0 parents commit cee0cf6
Show file tree
Hide file tree
Showing 63 changed files with 7,392 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
RewriteEngine On
RewriteRule ^([a-zA-Z0-9-_/]+)$ index.php [QSA]
4 changes: 4 additions & 0 deletions admin/controller/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php

require admin_view("index");

Binary file added admin/public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
263 changes: 263 additions & 0 deletions admin/public/sass/_form.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
h1 {
font-size: 23px;
font-weight: 400;
margin: 0;
padding: 9px 15px 4px 0;
line-height: 29px;
}

select, input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea {
box-sizing: border-box;
width: 100%;
padding: 5px 10px;
line-height: 120%;
font-size: 16px;
border: 1px solid #ddd;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
background-color: #fff;
color: #32373c;
outline: 0;
-webkit-transition: 50ms border-color ease-in-out;
transition: 50ms border-color ease-in-out;
&:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba(30, 140, 190, .8);
box-shadow: 0 0 2px rgba(30, 140, 190, .8);
}
&.big {
padding: 3px 8px;
font-size: 1.7em;
height: 1.7em;
width: 100%;
outline: 0;
margin: 0 0 3px;
background-color: #fff;
}
}
select {
width:auto;
}

textarea {
resize: none;
overflow: auto;
padding: 10px;
}

button:not(.toggle) {
background: #0085ba;
border-color: #0073aa #006799 #006799;
-webkit-box-shadow: 0 1px 0 #006799;
box-shadow: 0 1px 0 #006799;
color: #fff;
text-decoration: none;
text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
display: inline-block;
font-size: 14px;
line-height: 26px;
height: 28px;
margin: 0;
padding: 0 10px 1px;
cursor: pointer;
border-width: 1px;
border-style: solid;
-webkit-appearance: none;
-webkit-border-radius: 3px;
border-radius: 3px;
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
&:hover {
background: #008ec2;
border-color: #006799;
color: #fff;
}
&:focus {
-webkit-box-shadow: 0 1px 0 #0073aa, 0 0 2px 1px #33b3db;
box-shadow: 0 1px 0 #0073aa, 0 0 2px 1px #33b3db;
}
}

.form {
li {
margin-bottom: 12px;
&:last-child {
margin-bottom: 0;
}
label.title {
display: block;
margin-bottom: 7px;
color: #444;
}
input {
max-width: 100%;
}
}

&.label {
li {
overflow: hidden;
margin-bottom: 25px;
.label, label:not(.not) {
height:100%;
cursor: pointer;
float: left;
width:200px;
font-weight:bold;
line-height: 20px;
padding-top:8px;
}
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea {
width:400px;
}
p {
padding-top:10px;
font-style: italic;
color: #666;
}
label.not {
display: block;
padding-top:12px;
}
&.submit {
padding-left:200px;
}
&.line {
span {
display: block;
height:1px;
background-color: #e9e9e9;
}
}
.form-content {
padding-left:200px;
}
}
}
}

.btn {
color: #555;
border-color: #ccc;
background: #f7f7f7;
-webkit-box-shadow: 0 1px 0 #ccc;
box-shadow: 0 1px 0 #ccc;
vertical-align: top;
display: inline-block;
text-decoration: none;
font-size: 13px;
line-height: 26px;
height: 28px;
margin: 0;
padding: 0 10px 1px;
cursor: pointer;
border-width: 1px;
border-style: solid;
-webkit-appearance: none;
-webkit-border-radius: 3px;
border-radius: 3px;
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
&:hover {
background: #fafafa;
border-color: #999;
color: #23282d;
}
&:focus {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 3px rgba(0, 115, 170, .8);
box-shadow: 0 0 3px rgba(0, 115, 170, .8);
}
&.right {
float: right;
}
}

.table {
table {
background-color: #fff;
width:100%;
thead {
tr {
th {
text-align: left;
padding: 8px 10px;
line-height: 1.4em;
border-bottom: 1px solid #e1e1e1;
}
}
}
tbody {
tr {
td {
line-height: 1.5em;
padding: 8px 10px;
vertical-align: middle;
a {
color: $basecolor;
&.title {
font-weight:500;
font-size:16px;
}
}
.magic-links {
color: #ddd;
padding-top:5px;
visibility: hidden;
a {
&.trash {
color: #a00;
}
&:hover {
color: $hovercolor;
}
}
.date {
opacity:.8;
}
}
}
&:hover .magic-links {
visibility: visible;
}
&:nth-child(odd) {
background-color: #f9f9f9;
}
}
}
}
}

// messages
.message {
padding:12px;
border-left: 4px solid #777;
background-color: #fff;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
line-height:1.5;
color: #444;
font-size:13px;
&.info {
border-color: #00a0d2;
}
&.error {
border-color: #dd3d36;
}
&.success {
border-color: #7ad03a;
}
&.warning {
border-color: #ffba00;
}
a {
color: $basecolor;
&:hover {
color: lighten($basecolor, 10%);
}
}
}
76 changes: 76 additions & 0 deletions admin/public/sass/_login.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
// login screen
.login-screen {
width:320px;
margin:0 auto;
padding-top:150px;

// login logo
.login-logo {
text-align: center;
margin-bottom: 30px;
img {
height:70px;
}
}

form {
margin-top: 20px;
margin-left: 0;
padding: 26px 24px 32px;
font-weight: 400;
overflow: hidden;
background: #fff;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.13);
box-shadow: 0 1px 3px rgba(0,0,0,.13);
margin-bottom: 30px;
ul {
li {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
label:not(.checkbox) {
display: block;
color: #777;
padding-bottom: 5px;
}
.checkbox {
font-size:13px;
padding-top:6px;
display: block;
color: #777;
input {
margin-right: 5px;
}
}
input {
font-size: 24px !important;
padding: 3px 10px !important;
line-height:30px !important;
background-color: #fbfbfb !important;
&:focus {
background-color: #fff !important;
}
}
button {
float: right;
}
}
}
}
.login-links {
padding-left:30px;
a {
display: block;
margin-bottom: 20px;
color: #999;
.fa {
width:30px;
text-align: center;
}
&:hover {
color: $basecolor;
}
}
}
}
Loading

0 comments on commit cee0cf6

Please sign in to comment.