Initial commit
72
css/admin.css
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
i.d12mb-nutshell {
|
||||||
|
background-image: url(../icons/acorn.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-update {
|
||||||
|
background-image: url(../icons/update.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-attach {
|
||||||
|
background-image: url(../icons/attach.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-delete {
|
||||||
|
background-image: url(../icons/delete.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-part {
|
||||||
|
background-image: url(../icons/cog.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-mentions {
|
||||||
|
background-image: url(../icons/mentions.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-warning {
|
||||||
|
background-image: url(../icons/warning.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-important {
|
||||||
|
background-image: url(../icons/important.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-notice {
|
||||||
|
background-image: url(../icons/notice.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-error {
|
||||||
|
background-image: url(../icons/error.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-caution {
|
||||||
|
background-image: url(../icons/caution.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-archive {
|
||||||
|
background-image: url(../icons/archive.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-support {
|
||||||
|
background-image: url(../icons/support.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-contact {
|
||||||
|
background-image: url(../icons/contact.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-global {
|
||||||
|
background-image: url(../icons/global.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-green {
|
||||||
|
background-image: url(../icons/green.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-accept {
|
||||||
|
background-image: url(../icons/okay.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
||||||
|
i.d12mb-stats {
|
||||||
|
background-image: url(../icons/statistics.png);
|
||||||
|
margin: 2px 6px 0 0;
|
||||||
|
}
|
18
css/bs-mw-thick-thick.css
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 2px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-left-width: 8px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
18
css/bs-mw-thick-thin.css
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 1px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-left-width: 8px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
18
css/bs-mw-thin-thick.css
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 2px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-left-width: 4px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
18
css/bs-mw-thin-thin.css
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 1px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-left-width: 4px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
17
css/bs-round-double.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: double 3px #000;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
17
css/bs-round-single-thick.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 2px #000;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
17
css/bs-round-single-thin.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 1px #000;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
17
css/bs-square-double.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: double 3px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
17
css/bs-square-single-thick.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 2px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
17
css/bs-square-single-thin.css
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
.d12-block {
|
||||||
|
margin: 10px auto;
|
||||||
|
width: 85%;
|
||||||
|
border: solid 1px #000;
|
||||||
|
border-radius: 0px;
|
||||||
|
padding: 10px 10px 10px 54px;
|
||||||
|
}
|
||||||
|
.d12-block p:first-child {
|
||||||
|
margin-top: 0px;
|
||||||
|
border-bottom: solid 1px #000;
|
||||||
|
padding-bottom: 5px;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
.d12-block ul {
|
||||||
|
margin-left: 14px !important;
|
||||||
|
}
|
187
css/cs-aqua.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #F3F9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #3399FF;
|
||||||
|
background: #F3F9FF url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #3399FF;
|
||||||
|
border-color: #3399FF;
|
||||||
|
}
|
188
css/cs-bark.css
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #704214;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
background: #704214 url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #E5DDD4;
|
||||||
|
border-color: #E5DDD4;
|
||||||
|
}
|
187
css/cs-beach.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #FBF5DD;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #8A643F;
|
||||||
|
background: #FBF5DD url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #8A643F;
|
||||||
|
border-color: #8A643F;
|
||||||
|
}
|
187
css/cs-business.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #F6F7F8;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
187
css/cs-bw.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #444;
|
||||||
|
background: #fff url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #444;
|
||||||
|
border-color: #444;
|
||||||
|
}
|
187
css/cs-default.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #8C4815;
|
||||||
|
background: #FFEFCF url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #8c4815;
|
||||||
|
border-color: #8C4815;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #4282B6;
|
||||||
|
background: #EFF6FA url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #4282B6;
|
||||||
|
border-color: #4282B6;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #404777;
|
||||||
|
background: #F6F7F8 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #404777;
|
||||||
|
border-color: #404777;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #A60B05;
|
||||||
|
background: #FCEDEB url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #A60B05;
|
||||||
|
border-color: #A60B05;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #333;
|
||||||
|
background: #eee url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #333;
|
||||||
|
border-color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #0B5DA1;
|
||||||
|
background: #FFF5DB url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #0B5DA1;
|
||||||
|
border-color: #0B5DA1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #D56D01;
|
||||||
|
background: #fafafa url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #D56D01;
|
||||||
|
border-color: #D56D01;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #BF3829;
|
||||||
|
background: #FFF7F7 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #BF3829;
|
||||||
|
border-color: #BF3829;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #D56D01;
|
||||||
|
background: #fafafa url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #D56D01;
|
||||||
|
border-color: #D56D01;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #C13A29;
|
||||||
|
background: #FFF5F5 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #C13A29;
|
||||||
|
border-color: #C13A29;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #D56D01;
|
||||||
|
background: #fafafa url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #D56D01;
|
||||||
|
border-color: #D56D01;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #0B5DA1;
|
||||||
|
background: #eee url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #0B5DA1;
|
||||||
|
border-color: #0B5DA1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #CD0000;
|
||||||
|
background: #fff url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #CD0000;
|
||||||
|
border-color: #CD0000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #630;
|
||||||
|
background: #fff url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #630;
|
||||||
|
border-color: #630;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #074;
|
||||||
|
background: #fff url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #074;
|
||||||
|
border-color: #074;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #427D00;
|
||||||
|
background: #fff url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #427D00;
|
||||||
|
border-color: #427D00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #99C700;
|
||||||
|
background: #fff url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #427D00;
|
||||||
|
border-color: #99C700;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #376EA3;
|
||||||
|
background: #fff url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #376EA3;
|
||||||
|
border-color: #376EA3;
|
||||||
|
}
|
187
css/cs-forest.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #5D3800;
|
||||||
|
background: #EEF2EA url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #336600;
|
||||||
|
border-color: #336600;
|
||||||
|
}
|
188
css/cs-leaves.css
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #006600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
background: #006600 url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #D1E3D1;
|
||||||
|
border-color: #D1E3D1;
|
||||||
|
}
|
188
css/cs-magique.css
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #5100A2;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
background: #5100A2 url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #DCB9FF;
|
||||||
|
border-color: #DCB9FF;
|
||||||
|
}
|
187
css/cs-sol.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFFFEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #FFCC00;
|
||||||
|
background: #FFFFEE url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #FFCC00;
|
||||||
|
border-color: #FFCC00;
|
||||||
|
}
|
188
css/cs-solstice.css
Normal file
@ -0,0 +1,188 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #EEE;
|
||||||
|
background: #000 url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #EEE;
|
||||||
|
border-color: #EEE;
|
||||||
|
}
|
187
css/cs-winter.css
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
/*
|
||||||
|
Don't need this class right now, but let's save it.
|
||||||
|
We can use it in future updates.
|
||||||
|
Plugin adopters can also style this text using a child theme.
|
||||||
|
*/
|
||||||
|
.d12-sc-text {
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
.d12-nutshell {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/acorn.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-nutshell p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Updates */
|
||||||
|
.d12-update {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/update.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-update p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Attachments */
|
||||||
|
.d12-attach {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/attach.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-attach p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Deletion */
|
||||||
|
.d12-delete {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/delete.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-delete p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
.d12-part {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/cog.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-part p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
.d12-mention {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/mentions.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-mention p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
.d12-warning {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/warning.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-warning p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
.d12-important {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/important.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-important p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
.d12-notice {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/notice.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-notice p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
.d12-error {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/error.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-error p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
.d12-caution {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/caution.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-caution p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
.d12-archive {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/archive.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-archive p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
.d12-support {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/support.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-support p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
.d12-contact {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/contact.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-contact p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
.d12-global {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/global.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-global p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
.d12-green {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/green.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-green p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
.d12-accept {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/okay.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-accept p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
.d12-stats {
|
||||||
|
border-color: #B9B9D5;
|
||||||
|
background: #F2F2F7 url(../images/statistics.png) no-repeat 10px 10px;
|
||||||
|
}
|
||||||
|
.d12-stats p:first-child {
|
||||||
|
color: #5D5D9E;
|
||||||
|
border-color: #5D5D9E;
|
||||||
|
}
|
350
d12-message-blocks.php
Normal file
@ -0,0 +1,350 @@
|
|||||||
|
<?php
|
||||||
|
/*
|
||||||
|
* Plugin Name: d12 Message Blocks
|
||||||
|
* Plugin URI: http://kjodle.net/wordpress/d12-message-blocks/
|
||||||
|
* Description: Adds shortcodes for message blocks.
|
||||||
|
* Version: 2.0
|
||||||
|
* Author: Kenneth John Odle
|
||||||
|
* Author URI: http://kjodle.net/
|
||||||
|
* Text Domain: d12-message-blocks
|
||||||
|
* Domain Path: /lang
|
||||||
|
* License: GPL3
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
Icons courtesy of Fat Cow
|
||||||
|
http://www.fatcow.com/free-icons
|
||||||
|
*/
|
||||||
|
|
||||||
|
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
|
||||||
|
|
||||||
|
// Load our translations
|
||||||
|
load_plugin_textdomain( 'lang');
|
||||||
|
function d12mb_tinymce_plugin_add_locale($locales) {
|
||||||
|
$locales ['My-Custom-Tinymce-Plugin'] = plugin_dir_path ( __FILE__ ) . 'd12mb-tinymce-plugin-langs.php';
|
||||||
|
return $locales;
|
||||||
|
}
|
||||||
|
add_filter('mce_external_languages', 'd12mb_tinymce_plugin_add_locale');
|
||||||
|
|
||||||
|
|
||||||
|
// Initialize our array if it's not set
|
||||||
|
|
||||||
|
|
||||||
|
// Retrieve Message Block options from database, register appropriate stylesheet, and enqueue
|
||||||
|
function d12bs_retrieve() {
|
||||||
|
$mbbsoptions = get_option('d12mb_options');
|
||||||
|
switch($mbbsoptions['bs']) {
|
||||||
|
case "1" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-single-thin.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "2" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-single-thick.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "3" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-double.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "4" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-square-single-thin.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "5" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-square-single-thick.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "6" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-square-double.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "7" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thick-thin.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "8" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thick-thick.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "9" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thin-thick.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "10" :
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-mw-thin-thin.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
wp_enqueue_style( 'd12mb', plugins_url('css/bs-round-single-thick.css', __FILE__), false, '1.1.0' );
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'd12bs_retrieve' );
|
||||||
|
|
||||||
|
|
||||||
|
// Retrieve Message Block options from database, register appropriate stylesheet, and enqueue
|
||||||
|
function d12cs_retrieve() {
|
||||||
|
$mbcsoptions = get_option('d12mb_options');
|
||||||
|
switch($mbcsoptions['cs']) {
|
||||||
|
case "1" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-default.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "2" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-business.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "3" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-beach.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "4" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-sol.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "5" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-aqua.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "6" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-forest.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "7" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-winter.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "8" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-magique.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "9" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-solstice.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "10" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-bark.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "11" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-leaves.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
case "12" :
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-bw.css', __FILE__), false, '1.1.0' );
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
wp_enqueue_style( 'd12cs', plugins_url('css/cs-default.css', __FILE__), false, '1.1.0' );
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
add_action( 'wp_enqueue_scripts', 'd12cs_retrieve' );
|
||||||
|
|
||||||
|
|
||||||
|
/* Enqueue our back end style sheet */
|
||||||
|
function d12_shortcodes_admin_styles() {
|
||||||
|
wp_enqueue_style( 'd12mb-screenstyle', plugins_url( '/css/admin.css', __FILE__, '1.0', 'screen' ) );
|
||||||
|
}
|
||||||
|
add_action( 'admin_enqueue_scripts', 'd12_shortcodes_admin_styles' );
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Functions for our shortcodes *
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Nutshell */
|
||||||
|
function d12_nutshell( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-nutshell"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'This article in a nutshell:', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-nutshell' , 'd12_nutshell' );
|
||||||
|
|
||||||
|
/* Update */
|
||||||
|
function d12_update( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-update"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'Update Information:', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-update' , 'd12_update' );
|
||||||
|
|
||||||
|
/* Attach */
|
||||||
|
function d12_attach( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-attach"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'Downloads:', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-attach' , 'd12_attach' );
|
||||||
|
|
||||||
|
/* Delete */
|
||||||
|
function d12_delete( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-delete"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'This page has been marked for deletion.', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-delete' , 'd12_delete' );
|
||||||
|
|
||||||
|
/* Part of a Series */
|
||||||
|
function d12_part( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'series' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
echo '<div class="d12-block d12-part"><div class="d12-sc-text"><p><strong>';
|
||||||
|
printf(__( 'This page is part of a series on %s', 'd12-message-blocks' ), $series );
|
||||||
|
echo '.</strong></p>' . $content . '</div></div> ';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-part' , 'd12_part' );
|
||||||
|
|
||||||
|
/* Mentions */
|
||||||
|
function d12_mentions( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-mention"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'This page has been mentioned here:', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-mentions' , 'd12_mentions' );
|
||||||
|
|
||||||
|
/* Warning */
|
||||||
|
function d12_warning( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-warning"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e ( 'Warning!', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-warning' , 'd12_warning' );
|
||||||
|
|
||||||
|
/* Important */
|
||||||
|
function d12_important( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-important"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e ( 'Important!', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-important' , 'd12_important' );
|
||||||
|
|
||||||
|
/* Notice */
|
||||||
|
function d12_notice( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-notice"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'Notice!', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-notice' , 'd12_notice' );
|
||||||
|
|
||||||
|
/* Error */
|
||||||
|
function d12_error( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-error"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'Error!', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-error' , 'd12_error' );
|
||||||
|
|
||||||
|
/* Caution */
|
||||||
|
function d12_caution( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-caution"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'Caution!', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-caution' , 'd12_caution' );
|
||||||
|
|
||||||
|
/* Archive */
|
||||||
|
function d12_archive( $atts, $content= NULL) {
|
||||||
|
echo '<div class="d12-block d12-archive"><div class="d12-sc-text"><p><strong>';
|
||||||
|
_e( 'This page has been archived.', 'd12-message-blocks' );
|
||||||
|
echo '</strong></p>' . $content . '</div></div>';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-archive' , 'd12_archive' );
|
||||||
|
|
||||||
|
/* Support */
|
||||||
|
function d12_support( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'title' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
return '<div class="d12-block d12-support">
|
||||||
|
<div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>
|
||||||
|
</div>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-support' , 'd12_support' );
|
||||||
|
|
||||||
|
/* Contact */
|
||||||
|
function d12_contact( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'title' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
return '<div class="d12-block d12-contact">
|
||||||
|
<div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>
|
||||||
|
</div>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-contact' , 'd12_contact' );
|
||||||
|
|
||||||
|
/* Global */
|
||||||
|
function d12_global( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'title' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
return '<div class="d12-block d12-global">
|
||||||
|
<div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>
|
||||||
|
</div>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-global' , 'd12_global' );
|
||||||
|
|
||||||
|
/* Green */
|
||||||
|
function d12_green( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'title' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
return '<div class="d12-block d12-green">
|
||||||
|
<div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>
|
||||||
|
</div>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-green' , 'd12_green' );
|
||||||
|
|
||||||
|
/* Accept */
|
||||||
|
function d12_accept( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'title' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
return '<div class="d12-block d12-accept">
|
||||||
|
<div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>
|
||||||
|
</div>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-accept' , 'd12_accept' );
|
||||||
|
|
||||||
|
/* Stats */
|
||||||
|
function d12_stats( $atts, $content= NULL) {
|
||||||
|
extract( shortcode_atts(
|
||||||
|
array(
|
||||||
|
'title' => '',
|
||||||
|
), $atts )
|
||||||
|
);
|
||||||
|
return '<div class="d12-block d12-stats">
|
||||||
|
<div class="d12-sc-text"><p><strong>' . $title . '</strong></p>' . $content . '</div>
|
||||||
|
</div>
|
||||||
|
';
|
||||||
|
}
|
||||||
|
add_shortcode( 'd12-stats' , 'd12_stats' );
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Register a function with TinyMCE
|
||||||
|
*/
|
||||||
|
add_action( 'init', 'd12mb_buttons' );
|
||||||
|
function d12mb_buttons() {
|
||||||
|
if ( current_user_can('edit_posts') && current_user_can('edit_pages') )
|
||||||
|
{
|
||||||
|
add_filter( "mce_external_plugins", "d12mb_add_buttons" );
|
||||||
|
add_filter( 'mce_buttons_2', 'd12mb_register_buttons' );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function d12mb_add_buttons( $plugin_array ) {
|
||||||
|
$plugin_array['d12mb'] = plugins_url( 'js/d12mb.js', __FILE__ );
|
||||||
|
return $plugin_array;
|
||||||
|
}
|
||||||
|
function d12mb_register_buttons( $buttons ) {
|
||||||
|
array_push( $buttons, 'd12-mb-button', 'd12-mb-button-2' );
|
||||||
|
return $buttons;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Experiment to add shortcode to excerpts
|
||||||
|
// wordpress.org/support/topic/how-to-enable-shortcodes-in-excerpts?replies=8#post-1843419
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add an options page
|
||||||
|
*
|
||||||
|
* @since d12 Message Blocks 1.1
|
||||||
|
*/
|
||||||
|
require plugin_basename( 'plugin-options.php' );
|
21
d12mb-tinymce-plugin-langs.php
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
// This file is based on wp-includes/js/tinymce/langs/wp-langs.php
|
||||||
|
|
||||||
|
if ( ! defined( 'ABSPATH' ) )
|
||||||
|
exit;
|
||||||
|
|
||||||
|
if ( ! class_exists( '_WP_Editors' ) )
|
||||||
|
require( ABSPATH . WPINC . '/class-wp-editor.php' );
|
||||||
|
|
||||||
|
function d12mb_tinymce_plugin_translation() {
|
||||||
|
$strings = array(
|
||||||
|
'nutshell' => __('This page in a nutshell', 'd12-message-blocks'),
|
||||||
|
);
|
||||||
|
$locale = _WP_Editors::$mce_locale;
|
||||||
|
$translated = 'tinyMCE.addI18n("' . $locale . '.d12-message-blocks", ' . json_encode( $strings ) . ");\n";
|
||||||
|
|
||||||
|
return $translated;
|
||||||
|
}
|
||||||
|
|
||||||
|
$strings = d12mb_tinymce_plugin_translation();
|
BIN
examples/example01.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
examples/example02.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
examples/example03.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
examples/example04.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
examples/example05.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
examples/example06.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
examples/example07.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
examples/example08.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
examples/example09.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
examples/example10.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
icons/acorn.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
icons/archive.png
Normal file
After Width: | Height: | Size: 730 B |
BIN
icons/attach.png
Normal file
After Width: | Height: | Size: 514 B |
BIN
icons/caution.png
Normal file
After Width: | Height: | Size: 543 B |
BIN
icons/cog.png
Normal file
After Width: | Height: | Size: 777 B |
BIN
icons/contact.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
icons/cross.png
Normal file
After Width: | Height: | Size: 473 B |
BIN
icons/delete.png
Normal file
After Width: | Height: | Size: 695 B |
BIN
icons/error.png
Normal file
After Width: | Height: | Size: 727 B |
BIN
icons/film.png
Normal file
After Width: | Height: | Size: 683 B |
BIN
icons/global.png
Normal file
After Width: | Height: | Size: 861 B |
BIN
icons/green.png
Normal file
After Width: | Height: | Size: 822 B |
BIN
icons/important.png
Normal file
After Width: | Height: | Size: 732 B |
BIN
icons/mentions.png
Normal file
After Width: | Height: | Size: 846 B |
BIN
icons/notice.png
Normal file
After Width: | Height: | Size: 923 B |
BIN
icons/okay.png
Normal file
After Width: | Height: | Size: 712 B |
BIN
icons/statistics.png
Normal file
After Width: | Height: | Size: 851 B |
BIN
icons/support.png
Normal file
After Width: | Height: | Size: 919 B |
BIN
icons/update.png
Normal file
After Width: | Height: | Size: 814 B |
BIN
icons/warning.png
Normal file
After Width: | Height: | Size: 668 B |
BIN
images/acorn.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
images/archive.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
images/attach.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
images/caution.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
images/cog.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
images/contact.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
images/cross.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
images/delete.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/error.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
images/film.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
images/global.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
images/green.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
images/important.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
images/mentions.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
images/notice.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
images/okay.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
images/statistics.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
images/support.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
images/update.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
images/warning.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
js/d12-mb-mce-button-2.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
js/d12-mb-mce-button.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
455
js/d12mb.js
Normal file
@ -0,0 +1,455 @@
|
|||||||
|
(function() {
|
||||||
|
tinymce.create('tinymce.plugins.d12mb', {
|
||||||
|
init : function (ed, url) {
|
||||||
|
ed.addButton('d12-mb-button', {
|
||||||
|
title:'Add a message block',
|
||||||
|
type:'menubutton',
|
||||||
|
image: url + '/d12-mb-mce-button.png',
|
||||||
|
menu: [
|
||||||
|
{
|
||||||
|
text: 'This article in a nutshell',
|
||||||
|
value: 'Nutshell',
|
||||||
|
icon: 'icon d12mb-nutshell',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( enutshell ) {
|
||||||
|
ed.selection.setContent('[d12-nutshell]' + enutshell.data.contents + '[/d12-nutshell]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Highlight updates',
|
||||||
|
value: 'Update',
|
||||||
|
icon: 'icon d12mb-update',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( eupdate ) {
|
||||||
|
ed.selection.setContent('[d12-update]' + eupdate.data.contents + '[/d12-update]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Highlight attachments',
|
||||||
|
value: 'Attach',
|
||||||
|
icon: 'icon d12mb-attach',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( eattach ) {
|
||||||
|
ed.selection.setContent('[d12-attach]' + eattach.data.contents + '[/d12-attach]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Mark page for deletion',
|
||||||
|
value: 'Delete',
|
||||||
|
icon: 'icon d12mb-delete',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( edelete ) {
|
||||||
|
ed.selection.setContent('[d12-delete]' + edelete.data.contents + '[/d12-delete]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Highlight mentions',
|
||||||
|
value: 'Mentions',
|
||||||
|
icon: 'icon d12mb-mentions',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( ementions ) {
|
||||||
|
ed.selection.setContent('[d12-mentions]' + ementions.data.contents + '[/d12-mentions]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Warning',
|
||||||
|
value: 'Warning',
|
||||||
|
icon: 'icon d12mb-warning',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( ewarning ) {
|
||||||
|
ed.selection.setContent('[d12-warning]' + ewarning.data.contents + '[/d12-warning]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Important',
|
||||||
|
value: 'Iportant',
|
||||||
|
icon: 'icon d12mb-important',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( eimportant ) {
|
||||||
|
ed.selection.setContent('[d12-important]' + eimportant.data.contents + '[/d12-important]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Notice',
|
||||||
|
value: 'Notice',
|
||||||
|
icon: 'icon d12mb-notice',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( enotice ) {
|
||||||
|
ed.selection.setContent('[d12-notice]' + enotice.data.contents + '[/d12-notice]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Error',
|
||||||
|
value: 'Error',
|
||||||
|
icon: 'icon d12mb-error',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( eerror ) {
|
||||||
|
ed.selection.setContent('[d12-error]' + eerror.data.contents + '[/d12-error]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Caution',
|
||||||
|
value: 'Caution',
|
||||||
|
icon: 'icon d12mb-caution',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( ecaution ) {
|
||||||
|
ed.selection.setContent('[d12-caution]' + ecaution.data.contents + '[/d12-caution]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Archive',
|
||||||
|
value: 'Archive',
|
||||||
|
icon: 'icon d12mb-archive',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contents for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 150,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'contents',
|
||||||
|
label: 'Contents:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( earchive ) {
|
||||||
|
ed.selection.setContent('[d12-archive]' + earchive.data.contents + '[/d12-archive]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
] // end of menu
|
||||||
|
}); // end of ed.addButton
|
||||||
|
ed.addButton('d12-mb-button-2', {
|
||||||
|
title:'Add a message block with a custom title',
|
||||||
|
type:'menubutton',
|
||||||
|
image: url + '/d12-mb-mce-button-2.png',
|
||||||
|
menu: [
|
||||||
|
{
|
||||||
|
text: 'Part of a series',
|
||||||
|
value: 'Part',
|
||||||
|
icon: 'icon d12mb-part',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the data for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'This series of articles is about:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Description of this series:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( epart ) {
|
||||||
|
ed.selection.setContent('[d12-part series="' + epart.data.title + '"]' + epart.data.description + '[/d12-part]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, // End of "Part"
|
||||||
|
{
|
||||||
|
text: 'Add a support message',
|
||||||
|
value: 'Support',
|
||||||
|
icon: 'icon d12mb-support',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the support information',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'Support title:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Support message:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( esupport ) {
|
||||||
|
ed.selection.setContent('[d12-support title="' + esupport.data.title + '"]' + esupport.data.description + '[/d12-support]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, // End of "Support"
|
||||||
|
{
|
||||||
|
text: 'Add contact information',
|
||||||
|
value: 'Contact',
|
||||||
|
icon: 'icon d12mb-contact',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter the contact information',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'Contact box title:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Contact information:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( econtact ) {
|
||||||
|
ed.selection.setContent('[d12-contact title="' + econtact.data.title + '"]' + econtact.data.description + '[/d12-contact]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, // End of "Contact"
|
||||||
|
{
|
||||||
|
text: 'Add a global message',
|
||||||
|
value: 'Global',
|
||||||
|
icon: 'icon d12mb-global',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter a title for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'Global title:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Global message:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( eglobal ) {
|
||||||
|
ed.selection.setContent('[d12-global title="' + eglobal.data.title + '"]' + eglobal.data.description + '[/d12-global]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, // End of "Global"
|
||||||
|
{
|
||||||
|
text: 'Add a green message',
|
||||||
|
value: 'Green',
|
||||||
|
icon: 'icon d12mb-green',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter a title for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'Green title:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Green message:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( egreen ) {
|
||||||
|
ed.selection.setContent('[d12-green title="' + egreen.data.title + '"]' + egreen.data.description + '[/d12-green]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, // End of "Green"
|
||||||
|
{
|
||||||
|
text: 'Add an accept message',
|
||||||
|
value: 'Accept',
|
||||||
|
icon: 'icon d12mb-accept',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter a title for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'Accept title:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Accept message:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( eaccept ) {
|
||||||
|
ed.selection.setContent('[d12-accept title="' + eaccept.data.title + '"]' + eaccept.data.description + '[/d12-accept]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}, // End of "Green"
|
||||||
|
{
|
||||||
|
text: 'Add a stats message',
|
||||||
|
value: 'Statistics',
|
||||||
|
icon: 'icon d12mb-stats',
|
||||||
|
onclick: function() {
|
||||||
|
ed.windowManager.open( {
|
||||||
|
title: 'Please enter a title for this message box',
|
||||||
|
body: [{
|
||||||
|
type: 'textbox',
|
||||||
|
name: 'title',
|
||||||
|
label: 'Statistics title:'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
type: 'textbox',
|
||||||
|
minHeight: 200,
|
||||||
|
minWidth: 400,
|
||||||
|
multiline: 'true',
|
||||||
|
name: 'description',
|
||||||
|
label: 'Statistics message:'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
onsubmit: function( estats ) {
|
||||||
|
ed.selection.setContent('[d12-stats title="' + estats.data.title + '"]' + estats.data.description + '[/d12-stats]');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
} // End of "Statistics"
|
||||||
|
] // end of menu
|
||||||
|
}); // end of ed.addButton
|
||||||
|
},
|
||||||
|
createControl : function(n, cm) {
|
||||||
|
return null;
|
||||||
|
},
|
||||||
|
}); // end of tinymce.create()
|
||||||
|
tinymce.PluginManager.add( 'd12mb', tinymce.plugins.d12mb );
|
||||||
|
})(); // closes the first line
|
190
plugin-options.php
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
// Create a new admin panel
|
||||||
|
function d12mb_admin_panel_setup(){
|
||||||
|
add_submenu_page(
|
||||||
|
'options-general.php',
|
||||||
|
'd12 Message Blocks Options',
|
||||||
|
'd12 Message Blocks',
|
||||||
|
'manage_options',
|
||||||
|
'd12-menu-blocks-options',
|
||||||
|
'd12mb_options_callback'
|
||||||
|
);
|
||||||
|
}
|
||||||
|
add_action('admin_menu', 'd12mb_admin_panel_setup');
|
||||||
|
|
||||||
|
|
||||||
|
// Callback to create the setting page
|
||||||
|
function d12mb_options_callback(){
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="wrap">
|
||||||
|
<h2>d12 Message Blocks Options</h2>
|
||||||
|
<p><strong>New!</strong> In version 1.1, you can select from 10 different border styles and 11 color schemes. Seven of the color schemes are suitable for light backgrounds, and the other four are suitable for dark backgrounds. (Screenshots display the "Business" color scheme.)</p>
|
||||||
|
|
||||||
|
|
||||||
|
<form method="post" action="options.php">
|
||||||
|
<?php
|
||||||
|
settings_fields( 'd12mb_options_group' );
|
||||||
|
do_settings_sections( 'd12mb_border' );
|
||||||
|
do_settings_sections( 'd12mb_color' );
|
||||||
|
|
||||||
|
?>
|
||||||
|
<input name="Submit" type="submit" class="button-primary" value="<?php esc_attr_e(__('Save Options','d12-message-blocks')); ?>" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// Add the admin settings
|
||||||
|
add_action( 'admin_init', 'd12mb_admin_init');
|
||||||
|
function d12mb_admin_init() {
|
||||||
|
register_setting(
|
||||||
|
'd12mb_options_group',
|
||||||
|
'd12mb_options',
|
||||||
|
''
|
||||||
|
);
|
||||||
|
add_settings_section(
|
||||||
|
'd12mb_border_settings',
|
||||||
|
'Border Style Options',
|
||||||
|
'bs_settings_section',
|
||||||
|
'd12mb_border'
|
||||||
|
);
|
||||||
|
add_settings_field(
|
||||||
|
'd12mb_bs',
|
||||||
|
'Message Block Border Style',
|
||||||
|
'bs_settings_field',
|
||||||
|
'd12mb_border',
|
||||||
|
'd12mb_border_settings'
|
||||||
|
);
|
||||||
|
add_settings_section(
|
||||||
|
'd12mb_color_settings',
|
||||||
|
'Color Scheme Options',
|
||||||
|
'cs_settings_section',
|
||||||
|
'd12mb_color'
|
||||||
|
);
|
||||||
|
add_settings_field(
|
||||||
|
'd12mb_cs',
|
||||||
|
'Message Blocks Color Scheme',
|
||||||
|
'cs_settings_field',
|
||||||
|
'd12mb_color',
|
||||||
|
'd12mb_color_settings'
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// Callback for border style setting_section
|
||||||
|
function bs_settings_section() {
|
||||||
|
echo '<p>Select from one of 10 different border styles.</p>';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Callback for color scheme setting_section
|
||||||
|
function cs_settings_section() {
|
||||||
|
echo '<p>Select from one of 11 different color schemes.</p>';
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// Callback for settings_field for Border Style
|
||||||
|
function bs_settings_field(){
|
||||||
|
$options = get_option( 'd12mb_options' );
|
||||||
|
|
||||||
|
$html = '<p><b>Rounded Corner Options</b></p>';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_one" name="d12mb_options[bs]" value="1"' . checked( 1, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_one">' . __( 'Rounded Corners Thin Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example01.png', __FILE__ ) . '" /></label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_two" name="d12mb_options[bs]" value="2"' . checked( 2, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_two">' . __( 'Rounded Corners Thick Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example02.png', __FILE__ ) . '" /></label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_three" name="d12mb_options[bs]" value="3"' . checked( 3, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_three">' . __( 'Rounded Corners Double Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example03.png', __FILE__ ) . '" /></label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<p><b>Square Corner Options</b></p>';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_four" name="d12mb_options[bs]" value="4"' . checked( 4, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_four">' . __( 'Square Corners Thin Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example04.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_five" name="d12mb_options[bs]" value="5"' . checked( 5, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_five">' . __( 'Square Corners Thick Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example05.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_six" name="d12mb_options[bs]" value="6"' . checked( 6, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_six">' . __( 'Square Corners Double Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example06.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
$html .= '<p><b>MediaWiki Style Borders</b> have a bar on the left side</p>';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_seven" name="d12mb_options[bs]" value="7"' . checked( 7, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_seven">' . __( 'Thick Bar Thin Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example07.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_eight" name="d12mb_options[bs]" value="8"' . checked( 8, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_eight">' . __( 'Thick Bar Thick Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example08.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_nine" name="d12mb_options[bs]" value="9"' . checked( 9, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_nine">' . __( 'Thin Bar Thick Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example09.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="bs_ten" name="d12mb_options[bs]" value="10"' . checked( 10, $options['bs'], false ) . '/>';
|
||||||
|
$html .= '<label for="bs_ten">' . __( 'Thin Bar Thin Border', 'd12-message-blocks' ) . '<br />';
|
||||||
|
$html .= '<img src="' .plugins_url( 'examples/example10.png', __FILE__ ) . '" /></label><br />';
|
||||||
|
|
||||||
|
echo $html;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Callback for settings_field for Color Scheme
|
||||||
|
function cs_settings_field(){
|
||||||
|
$options = get_option( 'd12mb_options' );
|
||||||
|
|
||||||
|
$html = '<p><b>Light Themes</b> — suitable for light backgrounds</p>';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_one" name="d12mb_options[cs]" value="1"' . checked( 1, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_one">'. __( 'Colorful (Default)', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_two" name="d12mb_options[cs]" value="2"' . checked( 2, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_two">' . __( 'Business', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_three" name="d12mb_options[cs]" value="3"' . checked( 3, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_three">' . __( 'Beach', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_four" name="d12mb_options[cs]" value="4"' . checked( 4, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_four">' . __( 'Sol', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_five" name="d12mb_options[cs]" value="5"' . checked( 5, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_five">' . __( 'Aqua', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_six" name="d12mb_options[cs]" value="6"' . checked( 6, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_six">' . __( 'Forest', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_seven" name="d12mb_options[cs]" value="7"' . checked( 7, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_seven">' . __( 'Winter', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_twelve" name="d12mb_options[cs]" value="12"' . checked( 12, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_twelve">' . __( 'Black and White', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<p><b>Dark Themes</b> — suitable for dark backgrounds</p>';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_eight" name="d12mb_options[cs]" value="8"' . checked( 8, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_eight">' . __( 'Magique', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_nine" name="d12mb_options[cs]" value="9"' . checked( 9, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_nine">' . __( 'Solstice', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_ten" name="d12mb_options[cs]" value="10"' . checked( 10, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_ten">' . __( 'Bark', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
$html .= '<input type="radio" id="cs_eleven" name="d12mb_options[cs]" value="11"' . checked(11, $options['cs'], false ) . '/>';
|
||||||
|
$html .= '<label for="cs_eleven">' . __( 'Leaves', 'd12-message-blocks' ) . '</label><br /> ';
|
||||||
|
|
||||||
|
echo $html;
|
||||||
|
};
|
||||||
|
|
90
readme.txt
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
=== d12 Message Blocks ===
|
||||||
|
Contributors: kjodle
|
||||||
|
Tags: shortcodes, message blocks, posts, pages
|
||||||
|
Donate link: http://kjodle.info/support
|
||||||
|
Requires at least: 2.5
|
||||||
|
Tested up to: 4.3.1
|
||||||
|
Stable tag: 2.0
|
||||||
|
License: GPLv2 or later
|
||||||
|
License URI: http://www.gnu.org/licenses/gpl.html
|
||||||
|
|
||||||
|
Highlight important information by adding message blocks to your posts and pages
|
||||||
|
|
||||||
|
|
||||||
|
== Description ==
|
||||||
|
d12 Message Blocks makes it easy for you to highlight important information on your posts and pages by adding easy-to-notice message blocks. The plugin's functions are easily accessible from a drop-down menu in the TinyMCE editor toolbar.
|
||||||
|
|
||||||
|
There are two types of message blocks. The first type provides a title and prompts you for the message block's content. The second type prompts you for both a title and the content.
|
||||||
|
|
||||||
|
Want to see it in action? Check out [my demo page](http://techblog.kjodle.net/2015/06/28/message-blocks-wordpress-plugin/).
|
||||||
|
|
||||||
|
Want to check it out in different themes? Check out [my multi-theme demo page](http://waybeta.net/2015/07/d12-message-blocks-wordpress-plugin/).
|
||||||
|
|
||||||
|
|
||||||
|
== Installation ==
|
||||||
|
|
||||||
|
**From your WordPress dashboard**
|
||||||
|
|
||||||
|
1. Visit 'Plugins > Add New'
|
||||||
|
1. Search for 'd12 Message Blocks'
|
||||||
|
1. Activate d12 Message Blocksfrom your Plugins page.
|
||||||
|
|
||||||
|
**From WordPress.org**
|
||||||
|
|
||||||
|
1. Download d12 Message Blocks.
|
||||||
|
1. Upload the 'd12-message-blocks' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...)
|
||||||
|
1. Activate d12 Message Blocks from your Plugins page.
|
||||||
|
|
||||||
|
|
||||||
|
== Frequently Asked Questions ==
|
||||||
|
|
||||||
|
= Will this plugin work with all themes? =
|
||||||
|
|
||||||
|
It should. I haven't tested it with all themes, but I've written it in such a way that it should. If you encounter issues, please post a link to your site in the [support forum](http://wordpress.org/support/plugin/d12-message-blocks) along with a description of your issue.
|
||||||
|
|
||||||
|
= Is this plugin responsive? =
|
||||||
|
|
||||||
|
Yes. It should look good on all mobile devices, although on extremely narrow screens, the icon will shift to the top.
|
||||||
|
|
||||||
|
= Can I change the border or background colors? =
|
||||||
|
|
||||||
|
<strong>New in 2.0</strong> You can now select from 10 different border styles and 11 different color schemes from the plugin's options page.
|
||||||
|
|
||||||
|
= I can't see the toolbar buttons. =
|
||||||
|
|
||||||
|
Click on the ["Toggle Toolbar"](https://make.wordpress.org/support/user-manual/content/editors/visual-editor/#row-2) button at the end of the first row.
|
||||||
|
|
||||||
|
= Can I add links or lists? =
|
||||||
|
|
||||||
|
You can add any html you like in the popup window, and it will be passed to the visual editor. If you are not comfortable editing html, it is easier to add links or lists after you have clicked "OK" and been returned to the visual editor.
|
||||||
|
|
||||||
|
|
||||||
|
== Screenshots ==
|
||||||
|
|
||||||
|
1. The plugin adds these two buttons to the end of the second toolbar.
|
||||||
|
2. The first button lets you add these message blocks. They will automatically add the title shown in the menu.
|
||||||
|
3. A popup box from the first button.
|
||||||
|
4. The second button lets you add these message blocks. You will be prompted both for a title and content.
|
||||||
|
5. A popup box from the second button.
|
||||||
|
6. The "Part of a series" button is a little different, as you only need a single word or phrase for the title.
|
||||||
|
7. The output from the "Part of a series" button.
|
||||||
|
8. <strong>New in 2.0!</strong> Choose from among 10 different border styles.
|
||||||
|
9. <strong>New in 2.0!</strong> Choose from 7 new light color schemes (in addition to the default color scheme).
|
||||||
|
10. <strong>New in 2.0!</strong> Choose from 4 new dark color schemes.
|
||||||
|
|
||||||
|
|
||||||
|
== Changelog ==
|
||||||
|
|
||||||
|
= 2.0 =
|
||||||
|
* Added an option page allowing users to select from 10 different border styles and 11 different color schemes.
|
||||||
|
|
||||||
|
= 1.1 =
|
||||||
|
* Plugin is now translatable
|
||||||
|
|
||||||
|
= 1.0 =
|
||||||
|
* Initial release
|
||||||
|
|
||||||
|
== Upgrade Notice ==
|
||||||
|
|
||||||
|
= 2.0 =
|
||||||
|
You can now change color schemes or border styles from the plugin's options page.
|