Add project
This commit is contained in:
301
webroot/css/cake.css
Normal file
301
webroot/css/cake.css
Normal file
@@ -0,0 +1,301 @@
|
||||
/* Milligram overrides */
|
||||
:root {
|
||||
/* The following are official CakePHP colors */
|
||||
--color-cakephp-red: #d33c43;
|
||||
--color-cakephp-gray: #404041;
|
||||
--color-cakephp-blue: #2f85ae;
|
||||
--color-cakephp-lightblue: #34bdd7;
|
||||
|
||||
/* These are additional colors */
|
||||
--color-lightgray: #606c76;
|
||||
--color-white: #fff;
|
||||
|
||||
--color-main-bg: #f5f7fa;
|
||||
--color-links: var(--color-cakephp-blue);
|
||||
--color-links-active: #2a6496;
|
||||
--color-headings: #363637;
|
||||
|
||||
--color-message-success-bg: #e3fcec;
|
||||
--color-message-success-text: #1f9d55;
|
||||
--color-message-success-border: #51d88a;
|
||||
|
||||
--color-message-warning-bg: #fffabc;
|
||||
--color-message-warning-text: #8d7b00;
|
||||
--color-message-warning-border: #d3b800;
|
||||
|
||||
--color-message-error-bg: #fcebea;
|
||||
--color-message-error-text: #cc1f1a;
|
||||
--color-message-error-border: #ef5753;
|
||||
|
||||
--color-message-info-bg: #eff8ff;
|
||||
--color-message-info-text: #2779bd;
|
||||
--color-message-info-border: #6cb2eb;
|
||||
}
|
||||
|
||||
.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
|
||||
background-color: var(--color-cakephp-red);
|
||||
border-color: var(--color-cakephp-red);
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 400;
|
||||
background: var(--color-main-bg);
|
||||
}
|
||||
|
||||
.top-nav-links,
|
||||
.side-nav,
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "Raleway", sans-serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 400;
|
||||
color: var(--color-headings);
|
||||
}
|
||||
|
||||
a {
|
||||
color: var(--color-links);
|
||||
transition: color 0.2s linear;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:focus,
|
||||
a:active {
|
||||
color: var(--color-links-active);
|
||||
transition: color 0.2s ease-out;
|
||||
}
|
||||
|
||||
.side-nav a,
|
||||
.top-nav-links a,
|
||||
th a,
|
||||
.actions a {
|
||||
color: var(--color-lightgray);
|
||||
}
|
||||
|
||||
.side-nav a:hover,
|
||||
.side-nav a:focus,
|
||||
.actions a:hover,
|
||||
.actions a:focus {
|
||||
color: var(--color-links-active);
|
||||
}
|
||||
|
||||
/* Utility */
|
||||
.table-responsive {
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
/* Main */
|
||||
.content {
|
||||
padding: 2rem;
|
||||
background: var(--color-white);
|
||||
border-radius: 0.4rem;
|
||||
/* Thanks Stripe */
|
||||
box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
|
||||
0 3px 6px 0 rgba(0, 0, 0, 0.07);
|
||||
}
|
||||
.content form {
|
||||
margin: 0;
|
||||
}
|
||||
.actions a {
|
||||
font-weight: bold;
|
||||
padding: 0 0.4rem;
|
||||
}
|
||||
.actions a:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
th {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Nav bar */
|
||||
.top-nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
max-width: 112rem;
|
||||
padding: 2rem;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.top-nav-title a {
|
||||
font-size: 2.4rem;
|
||||
color: var(--color-cakephp-red);
|
||||
}
|
||||
.top-nav-title span {
|
||||
color: var(--color-cakephp-gray);
|
||||
}
|
||||
.top-nav-links a {
|
||||
margin: 0 0.5rem;
|
||||
}
|
||||
.top-nav-title a,
|
||||
.top-nav-links a {
|
||||
font-weight: bold;
|
||||
}
|
||||
.side-nav-item {
|
||||
display: block;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
|
||||
/* View action */
|
||||
.view.content .text {
|
||||
margin-top: 1.2rem;
|
||||
}
|
||||
.related {
|
||||
margin-top: 2rem;
|
||||
}
|
||||
|
||||
/* Flash messages */
|
||||
.message {
|
||||
padding: .5rem 1rem;
|
||||
background: var(--color-message-info-bg);
|
||||
color: var(--color-message-info-text);
|
||||
border-color: var(--color-message-info-border);
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.message.hidden {
|
||||
display: none;
|
||||
}
|
||||
.message.success {
|
||||
background: var(--color-message-success-bg);
|
||||
color: var(--color-message-success-text);
|
||||
border-color: var(--color-message-success-border);
|
||||
}
|
||||
.message.warning {
|
||||
background: var(--color-message-warning-bg);
|
||||
color: var(--color-message-warning-text);
|
||||
border-color: var(--color-message-warning-border);
|
||||
}
|
||||
.message.error {
|
||||
background: var(--color-message-error-bg);
|
||||
color: var(--color-message-error-text);
|
||||
border-color: var(--color-message-error-border);
|
||||
}
|
||||
|
||||
/* Forms */
|
||||
.input {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
.input input,
|
||||
.input select,
|
||||
.input textarea {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.input label:has(input[type='checkbox']),
|
||||
.input label:has(input[type='radio']) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.input label:has(~ label),
|
||||
.input label:has(input[type='radio']) {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.input label > input[type='checkbox'],
|
||||
.input label > input[type='radio'] {
|
||||
margin-right: 1.0rem;
|
||||
}
|
||||
input[type='color'] {
|
||||
max-width: 4rem;
|
||||
padding: 0.3rem .5rem 0.3rem;
|
||||
}
|
||||
.error-message {
|
||||
color: var(--color-message-error-text);
|
||||
}
|
||||
|
||||
/* Paginator */
|
||||
.paginator {
|
||||
text-align: right;
|
||||
}
|
||||
.paginator p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pagination {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
list-style: none;
|
||||
margin: 0 0 1rem 0;
|
||||
padding: 0;
|
||||
}
|
||||
.pagination li {
|
||||
display: inline-block;
|
||||
margin: 0.25em;
|
||||
text-align: center;
|
||||
}
|
||||
.pagination a {
|
||||
color: var(--color-cakephp-blue);
|
||||
display: inline-block;
|
||||
font-size: 1.25rem;
|
||||
line-height: 3rem;
|
||||
min-width: 3rem;
|
||||
padding: 0;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
transition: background .3s,color .3s;
|
||||
}
|
||||
.pagination li.active a,
|
||||
.pagination a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.pagination .disabled a {
|
||||
cursor: not-allowed;
|
||||
color: var(--color-lightgray);
|
||||
text-decoration: none;
|
||||
}
|
||||
.first a,
|
||||
.prev a,
|
||||
.next a,
|
||||
.last a {
|
||||
padding: 0 .75rem;
|
||||
}
|
||||
.disabled a:hover {
|
||||
background: initial;
|
||||
color: initial;
|
||||
}
|
||||
.asc:after {
|
||||
content: " \2193";
|
||||
}
|
||||
.desc:after {
|
||||
content: " \2191";
|
||||
}
|
||||
|
||||
/* Error in non debug mode */
|
||||
.error-container {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 640px) {
|
||||
/* Fix milligram not having a responsive column system */
|
||||
.row .column[class*='column-'] {
|
||||
flex: 0 0 100%;
|
||||
max-width: 100%
|
||||
}
|
||||
.top-nav {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.side-nav {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.heading {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
.side-nav-item {
|
||||
display: inline;
|
||||
margin: 0 1.5rem 0 0;
|
||||
}
|
||||
.asc:after {
|
||||
content: " \2192";
|
||||
}
|
||||
.desc:after {
|
||||
content: " \2190";
|
||||
}
|
||||
}
|
||||
80
webroot/css/fonts.css
Normal file
80
webroot/css/fonts.css
Normal file
@@ -0,0 +1,80 @@
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../font/raleway-400-cyrillic-ext.woff2') format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../font/raleway-400-cyrillic.woff2') format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../font/raleway-400-vietnamese.woff2') format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../font/raleway-400-latin-ext.woff2') format('woff2');
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url('../font/raleway-400-latin.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../font/raleway-700-cyrillic-ext.woff2') format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../font/raleway-700-cyrillic.woff2') format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../font/raleway-700-vietnamese.woff2') format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../font/raleway-700-latin-ext.woff2') format('woff2');
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Raleway';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url('../font/raleway-700-latin.woff2') format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
75
webroot/css/home.css
Normal file
75
webroot/css/home.css
Normal file
@@ -0,0 +1,75 @@
|
||||
/* Home page styles */
|
||||
@font-face {
|
||||
font-family: 'cakefont';
|
||||
src: url('../font/cakedingbats-webfont.eot');
|
||||
src: url('../font/cakedingbats-webfont.eot?#iefix') format('embedded-opentype'),
|
||||
url('../font/cakedingbats-webfont.woff2') format('woff2'),
|
||||
url('../font/cakedingbats-webfont.woff') format('woff'),
|
||||
url('../font/cakedingbats-webfont.ttf') format('truetype'),
|
||||
url('../font/cakedingbats-webfont.svg#cake_dingbatsregular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
body {
|
||||
padding: 60px 0;
|
||||
}
|
||||
header {
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
img {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
h1 {
|
||||
font-weight: bold;
|
||||
}
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0 0 30px 0;
|
||||
padding-left: 25px;
|
||||
}
|
||||
a {
|
||||
color: #0071BC;
|
||||
text-decoration: underline;
|
||||
}
|
||||
hr {
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
border-top: 0;
|
||||
margin-bottom: 35px;
|
||||
}
|
||||
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.links a {
|
||||
margin-right: 10px;
|
||||
}
|
||||
.release-name {
|
||||
color: #D33C43;
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
}
|
||||
.bullet:before {
|
||||
font-family: 'cakefont', sans-serif;
|
||||
font-size: 18px;
|
||||
display: inline-block;
|
||||
margin-left: -1.3em;
|
||||
width: 1.2em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
vertical-align: -1px;
|
||||
}
|
||||
.success:before {
|
||||
color: #88c671;
|
||||
content: "\0056";
|
||||
}
|
||||
.problem:before {
|
||||
color: #d33d44;
|
||||
content: "\0057";
|
||||
}
|
||||
.cake-error {
|
||||
padding: 10px;
|
||||
margin: 10px 0;
|
||||
}
|
||||
#url-rewriting-warning {
|
||||
display: none;
|
||||
}
|
||||
9
webroot/css/milligram.min.css
vendored
Normal file
9
webroot/css/milligram.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
8
webroot/css/normalize.min.css
vendored
Normal file
8
webroot/css/normalize.min.css
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Minified by jsDelivr using clean-css v4.2.1.
|
||||
* Original file: /npm/normalize.css@8.0.1/normalize.css
|
||||
*
|
||||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||||
*/
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
|
||||
Reference in New Issue
Block a user