Changes for upcoming version 1.3.0

- Bugfix: Changed tooltip class to be unique
- Bugfix: Changed superscript styling to not manipulate the line height
- Bugfix: Changed styling of the footnotes text in the reference container to avoid line breaks
- Updated: Reformatted code
- Added: new settings tab for custom CSS settings

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@957947 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-07-31 10:17:38 +00:00
parent 0f3996338b
commit 3802249ec4
26 changed files with 2137 additions and 1651 deletions

View file

@ -1,119 +0,0 @@
/**
* Created by Stefan Herndler.
* User: Stefan
* Date: 15.05.14
* Time: 16:21
* 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;
}
.footnote_container_prepare > p {
line-height: 1.3 !important;
margin-top: 1em !important;
margin-bottom: 0.25em !important;
padding: 0 !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;
vertical-align: middle;
}
.footnote_container_prepare > p > span:first-child {
padding-left: 20px !important;
text-align: left !important;
cursor: pointer;
font-size: 1.5em !important;
}
.footnote_container_prepare > p > span:last-child {
}
.footnote_hide_box {
display: none;
}
/* container for the footnote in the bottom */
.footnote_plugin_container {
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;
display: inline-block;
}
/* footnote (bottom) text */
.footnote_plugin_text {
/*float: left !important;*/
padding-left: 16px !important;
display: inline-block;
}
/* footnote (bottom) link to the footnote implementation */
.footnote_plugin_link {
outline: none !important;
text-decoration: none !important;
cursor: pointer !important;
}
.footnote_plugin_link:hover {
/*color: #4777ff !important;*/
text-decoration: none !important;
}
/* footnote (bottom) styling end tag */
.footnote_plugin_end {
/*clear: left !important;*/
}
/* tooltip */
.footnote_plugin_tooltip_text {
text-decoration: none !important;
}
/* tooltip styling */
.tooltip {
display: none;
background-color: #fff7a7;
border: 1px solid #cccc99;
border-radius: 3px;
padding: 12px;
font-size: 13px;
-moz-box-shadow: 2px 2px 11px #666;
-webkit-box-shadow: 2px 2px 11px #666;
}

25
css/footnotes.css Executable file
View file

@ -0,0 +1,25 @@
/**
* Created by Stefan Herndler.
* User: Stefan
* Date: 15.05.14
* Time: 16:21
* 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;
}

View file

@ -0,0 +1,84 @@
/**
* Created by Stefan Herndler.
* User: Stefan
* Date: 30.07.14 11:25
* Version: 1.0
* Since: 1.3
*/
/* 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;
}
.footnote_container_prepare > p {
line-height: 1.3 !important;
margin-top: 1em !important;
margin-bottom: 0.25em !important;
padding: 0 !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;
vertical-align: middle;
}
.footnote_container_prepare > p > span:first-child {
padding-left: 20px !important;
text-align: left !important;
cursor: pointer;
font-size: 1.5em !important;
}
.footnote_container_prepare > p > span:last-child {
}
/* container for the footnote in the bottom */
.footnote_plugin_container {
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;
display: inline-block;
}
/* footnote (bottom) text */
.footnote_plugin_text {
/*float: left !important;*/
padding-left: 16px !important;
display: inline;
}
/* footnote (bottom) link to the footnote implementation */
.footnote_plugin_link {
outline: none !important;
text-decoration: none !important;
cursor: pointer !important;
}
.footnote_plugin_link:hover {
/*color: #4777ff !important;*/
text-decoration: none !important;
}
/* footnote (bottom) styling end tag */
.footnote_plugin_end {
/*clear: left !important;*/
}
.footnote_hide_box {
display: none;
}

View file

@ -7,11 +7,6 @@
* Since: 1.0
*/
/* 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;*/
}
input[type=text], input[type=password], textarea, select {
padding-left: 8px !important;
padding-right: 8px !important;

30
css/tooltip.css Normal file
View file

@ -0,0 +1,30 @@
/**
* Created by Stefan Herndler.
* User: Stefan
* Date: 30.07.14 11:26
* Version: 1.0
* Since: 1.3
*/
/* tooltip */
.footnote_plugin_tooltip_text {
text-decoration: none !important;
}
.footnote_plugin_tooltip_text > sup {
vertical-align: top !important;
position: relative !important;
top: -0.1em !important;
}
/* tooltip styling */
.footnote_tooltip {
display: none;
background-color: #fff7a7;
border: 1px solid #cccc99;
border-radius: 3px;
padding: 12px;
font-size: 13px;
-moz-box-shadow: 2px 2px 11px #666;
-webkit-box-shadow: 2px 2px 11px #666;
}