- Update: Global styling for the public plugin name
- Update: Easier usage of the public plugin name in translations - Update: New Layout for the settings page to group similar settings to get a better overview - Update: Display settings submit button only if there is at least 1 editable setting in the current tab - Add: setting where the reference container appears on public pages (needs some corrections!) - Bugfix: displays only one reference container in front of the footer on category pages git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@918851 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
49c54b6a89
commit
d25f770bc5
19 changed files with 1322 additions and 1096 deletions
153
css/footnote.css
153
css/footnote.css
|
@ -3,135 +3,152 @@
|
|||
* User: Stefan
|
||||
* Date: 15.05.14
|
||||
* Time: 16:21
|
||||
* Version: 1.0.6
|
||||
* Version: 1.0.7
|
||||
* Since: 1.0
|
||||
*/
|
||||
|
||||
/*
|
||||
* styling for the 'footnotes' tag
|
||||
* @since 1.0.7
|
||||
*/
|
||||
.footnote_tag_styling, .footnote_tag_styling:hover {
|
||||
text-decoration: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.footnote_tag_styling_1 {
|
||||
color: #2bb975;
|
||||
}
|
||||
|
||||
.footnote_tag_styling_2 {
|
||||
color: #545f5a;
|
||||
}
|
||||
|
||||
/* container before the footnote appears at the bottom to get a space between footnote and content */
|
||||
.footnote_container_prepare {
|
||||
display: block !important;
|
||||
padding-top: 24px !important;
|
||||
display: block !important;
|
||||
padding-top: 24px !important;
|
||||
}
|
||||
|
||||
.footnote_container_prepare > p {
|
||||
font-size: 1.5em !important;
|
||||
margin-top: 1em !important;
|
||||
margin-bottom: 0.25em !important;
|
||||
padding: 0 !important;
|
||||
line-height: 1.3 !important;
|
||||
font-weight: normal !important;
|
||||
overflow: hidden !important;
|
||||
border-bottom: 1px solid #aaaaaa !important;
|
||||
display: block !important;
|
||||
-webkit-margin-before: 0.83em !important;
|
||||
-webkit-margin-after: 0.83em !important;
|
||||
-webkit-margin-start: 0px !important;
|
||||
-webkit-margin-end: 0px !important;
|
||||
text-align: left !important;
|
||||
font-size: 1.5em !important;
|
||||
margin-top: 1em !important;
|
||||
margin-bottom: 0.25em !important;
|
||||
padding: 0 !important;
|
||||
line-height: 1.3 !important;
|
||||
font-weight: normal !important;
|
||||
overflow: hidden !important;
|
||||
border-bottom: 1px solid #aaaaaa !important;
|
||||
display: block !important;
|
||||
-webkit-margin-before: 0.83em !important;
|
||||
-webkit-margin-after: 0.83em !important;
|
||||
-webkit-margin-start: 0px !important;
|
||||
-webkit-margin-end: 0px !important;
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.footnote_container_prepare > p > span {
|
||||
padding-left: 20px !important;
|
||||
text-align: left !important;
|
||||
cursor: pointer;
|
||||
padding-left: 20px !important;
|
||||
text-align: left !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.footnote_hide_box {
|
||||
display:none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* container for the footnote in the bottom */
|
||||
.footnote_plugin_container {
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
padding-bottom: 14px !important;
|
||||
display: block !important;
|
||||
width: 100% !important;
|
||||
padding-bottom: 14px !important;
|
||||
}
|
||||
|
||||
/* footnote (bottom) index */
|
||||
.footnote_plugin_index {
|
||||
float: left !important;
|
||||
min-width: 40px !important;
|
||||
white-space: nowrap !important;
|
||||
text-align: right !important;
|
||||
float: left !important;
|
||||
min-width: 40px !important;
|
||||
white-space: nowrap !important;
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
/* footnote (bottom) text */
|
||||
.footnote_plugin_text {
|
||||
float: left !important;
|
||||
padding-left: 16px !important;
|
||||
float: left !important;
|
||||
padding-left: 16px !important;
|
||||
}
|
||||
|
||||
/* footnote (bottom) link to the footnote implementation */
|
||||
.footnote_plugin_link {
|
||||
outline: none !important;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer !important;
|
||||
outline: none !important;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.footnote_plugin_link:hover {
|
||||
color: #4777ff !important;
|
||||
text-decoration: none !important;
|
||||
color: #4777ff !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/* footnote (bottom) styling end tag */
|
||||
.footnote_plugin_end {
|
||||
clear: left !important;
|
||||
clear: left !important;
|
||||
}
|
||||
|
||||
/* tooltip */
|
||||
.footnote_plugin_tooltip {
|
||||
outline: none !important;
|
||||
color: #4777ff !important;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer !important;
|
||||
outline: none !important;
|
||||
color: #4777ff !important;
|
||||
text-decoration: none !important;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
.footnote_plugin_tooltip strong {
|
||||
line-height: 30px !important;
|
||||
line-height: 30px !important;
|
||||
}
|
||||
|
||||
.footnote_plugin_tooltip:hover {
|
||||
text-decoration: none !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.footnote_plugin_tooltip span {
|
||||
z-index: 10 !important;
|
||||
display: none !important;
|
||||
padding: 14px 20px !important;
|
||||
margin-top: -30px !important;
|
||||
/*margin-left: 28px !important;*/
|
||||
/*width: 240px;*/
|
||||
line-height: 16px !important;
|
||||
cursor: default;
|
||||
z-index: 10 !important;
|
||||
display: none !important;
|
||||
padding: 14px 20px !important;
|
||||
margin-top: -30px !important;
|
||||
/*margin-left: 28px !important;*/
|
||||
/*width: 240px;*/
|
||||
line-height: 16px !important;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* added width and white-space styling in version 1.0.6
|
||||
*/
|
||||
.footnote_plugin_tooltip:hover span, .footnote_plugin_tooltip span:hover {
|
||||
display: inline !important;
|
||||
position: absolute !important;
|
||||
color: #474747 !important;
|
||||
border: 1px solid #ddccaa !important;
|
||||
background: #fffaf0 !important;
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
display: inline !important;
|
||||
position: absolute !important;
|
||||
color: #474747 !important;
|
||||
border: 1px solid #ddccaa !important;
|
||||
background: #fffaf0 !important;
|
||||
width: auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.callout {
|
||||
z-index: 20 !important;
|
||||
position: absolute !important;
|
||||
top: 30px !important;
|
||||
border: 0 !important;
|
||||
left: -12px !important;
|
||||
z-index: 20 !important;
|
||||
position: absolute !important;
|
||||
top: 30px !important;
|
||||
border: 0 !important;
|
||||
left: -12px !important;
|
||||
}
|
||||
|
||||
/*CSS3 extras*/
|
||||
.footnote_plugin_tooltip span {
|
||||
border-radius: 4px !important;
|
||||
-moz-border-radius: 4px !important;
|
||||
-webkit-border-radius: 4px !important;
|
||||
-moz-box-shadow: 5px 5px 8px #cccccc !important;
|
||||
-webkit-box-shadow: 5px 5px 8px #cccccc !important;
|
||||
box-shadow: 5px 5px 8px #cccccc !important;
|
||||
border-radius: 4px !important;
|
||||
-moz-border-radius: 4px !important;
|
||||
-webkit-border-radius: 4px !important;
|
||||
-moz-box-shadow: 5px 5px 8px #cccccc !important;
|
||||
-webkit-box-shadow: 5px 5px 8px #cccccc !important;
|
||||
box-shadow: 5px 5px 8px #cccccc !important;
|
||||
}
|
|
@ -9,63 +9,87 @@
|
|||
|
||||
/* overwrite some styling for inputs [type=text] and select-boxes */
|
||||
input[type=text], input[type=checkbox], input[type=password], textarea, select {
|
||||
/*margin-left: 12px !important;*/
|
||||
/*margin-left: 12px !important;*/
|
||||
}
|
||||
|
||||
input[type=text], input[type=password], textarea, select {
|
||||
padding-left: 8px !important;
|
||||
padding-right: 8px !important;
|
||||
padding-left: 8px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
|
||||
label {
|
||||
width: 20% !important;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
/*
|
||||
* layout for the meta box container
|
||||
* @since 1.0.7
|
||||
*/
|
||||
.postbox > h3 {
|
||||
height: 32px !important;
|
||||
line-height: 32px !important;
|
||||
}
|
||||
|
||||
.postbox > h3 > span {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
/* overwrite link layout on the settings page */
|
||||
a.footnote_plugin {
|
||||
text-decoration: underline !important;
|
||||
cursor: pointer !important;
|
||||
color: #202020 !important;
|
||||
text-decoration: underline !important;
|
||||
cursor: pointer !important;
|
||||
color: #202020 !important;
|
||||
}
|
||||
|
||||
/* setting with 15% width */
|
||||
.footnote_plugin_15 {
|
||||
width: 15% !important;
|
||||
}
|
||||
|
||||
/* setting with 25% width */
|
||||
.footnote_plugin_25 {
|
||||
width: 25% !important;
|
||||
width: 25% !important;
|
||||
}
|
||||
|
||||
/* setting with half width */
|
||||
.footnote_plugin_50 {
|
||||
width: 50% !important;
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
/* setting with 75% width */
|
||||
.footnote_plugin_75 {
|
||||
width: 75% !important;
|
||||
width: 75% !important;
|
||||
}
|
||||
|
||||
/* setting with full width */
|
||||
.footnote_plugin_100 {
|
||||
width: 100% !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
/* container for the box holding the placeholder tags at the end */
|
||||
.footnote_placeholder_box_container {
|
||||
text-align: center !important;
|
||||
/*width: auto;
|
||||
display: inline-block;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
margin-left: -210px;*/
|
||||
text-align: center !important;
|
||||
/*width: auto;
|
||||
display: inline-block;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
margin-left: -210px;*/
|
||||
}
|
||||
|
||||
/* highlight the placeholders */
|
||||
span.footnote_highlight_placeholder {
|
||||
font-weight: bold !important;
|
||||
padding-left: 8px !important;
|
||||
padding-right: 8px !important;
|
||||
font-weight: bold !important;
|
||||
padding-left: 8px !important;
|
||||
padding-right: 8px !important;
|
||||
}
|
||||
|
||||
.footnote_placeholder_box_example {
|
||||
border: 2px solid #2bb975 !important;
|
||||
border-radius: 4px !important;
|
||||
padding-top: 16px !important;
|
||||
padding-bottom: 16px !important;
|
||||
width: 50% !important;
|
||||
display: block !important;
|
||||
margin: 20px auto !important;
|
||||
border: 2px solid #2bb975 !important;
|
||||
border-radius: 4px !important;
|
||||
padding-top: 16px !important;
|
||||
padding-bottom: 16px !important;
|
||||
width: 50% !important;
|
||||
display: block !important;
|
||||
margin: 20px auto !important;
|
||||
}
|
Reference in a new issue