primo commit
This commit is contained in:
20
media/com_attachments/css/add_attachment_button.css
Normal file
20
media/com_attachments/css/add_attachment_button.css
Normal file
@ -0,0 +1,20 @@
|
||||
div.button2-left > div.add_attachment
|
||||
{
|
||||
background: url(../images/add_attachment_button.png) no-repeat scroll 100% 0;
|
||||
}
|
||||
|
||||
div#editor-xtd-buttons i.icon-add_attachment
|
||||
{
|
||||
background: url(../images/add_attachment_button_small.png) no-repeat scroll 100% 0;
|
||||
vertical-align: middle;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
div#editor-xtd-buttons i.icon-add_attachment_frontend
|
||||
{
|
||||
background: url(../images/add_attachment_button_small.png) no-repeat scroll 100% 0;
|
||||
vertical-align: middle;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
10
media/com_attachments/css/add_attachment_button_rtl.css
Normal file
10
media/com_attachments/css/add_attachment_button_rtl.css
Normal file
@ -0,0 +1,10 @@
|
||||
.button2-left .add_attachment {
|
||||
background: url(../images/add_attachment_button_rtl.png) 0 0 no-repeat;
|
||||
}
|
||||
|
||||
div#editor-xtd-buttons div.btn-toolbar i.icon-add_attachment {
|
||||
background: url(../images/add_attachment_button_small_rtl.png) 0 0 no-repeat;
|
||||
vertical-align: middle;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
395
media/com_attachments/css/attachments_admin.css
Normal file
395
media/com_attachments/css/attachments_admin.css
Normal file
@ -0,0 +1,395 @@
|
||||
/* Styles for the main list of attachments in the administrative back end */
|
||||
|
||||
body.component {
|
||||
padding-top: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend * {
|
||||
float: none;
|
||||
}
|
||||
|
||||
form.attachmentsBackend,
|
||||
form#adminForm
|
||||
{
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend th,
|
||||
form#adminForm th
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
div#element-box div.m form#adminForm table#attachmentsList tr td a {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
|
||||
form#adminForm div.attachments_filter label.filter-search-lbl {
|
||||
display: inline;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter {
|
||||
padding: 0 0 2px 6px;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
form#adminForm button#reset_order {
|
||||
margin: 0 0 0 3em;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter table,
|
||||
form#adminForm div.attachments_filter tbody,
|
||||
form#adminForm div.attachments_filter tr,
|
||||
form#adminForm div.attachments_filter td {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td select,
|
||||
form#adminForm div.attachments_filter td option,
|
||||
form#adminForm div.attachments_filter td input {
|
||||
vertical-align: middle;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td select {
|
||||
height: 1.6em;
|
||||
}
|
||||
|
||||
form#adminForm input[type=checkbox] {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table.adminlist th {
|
||||
text-align: left;
|
||||
border-bottom: 0;
|
||||
/* padding: 4px 0 4px 8px; */
|
||||
}
|
||||
table.adminlist th.at_checked {
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
}
|
||||
table.adminlist th.at_published { text-align: center; }
|
||||
table.adminlist th.at_filename { text-align: left; }
|
||||
table.adminlist th.at_description { text-align: left; }
|
||||
table.adminlist th.at_access { text-align: center; }
|
||||
table.adminlist th.at_user_field { text-align: left; }
|
||||
table.adminlist th.at_file_type { text-align: center; }
|
||||
table.adminlist th.at_file_size { text-align: center; }
|
||||
table.adminlist th.at_creator_name { text-align: left; }
|
||||
table.adminlist th.at_created_date { text-align: left; }
|
||||
table.adminlist th.at_mod_date { text-align: left; }
|
||||
table.adminlist th.at_downloads { text-align: center; }
|
||||
|
||||
table.adminlist td {
|
||||
text-align: left;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
table.adminlist img.link_overlay {
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
text-align: left;
|
||||
padding: 4px 0 4px 8px;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
div.container-fluid table.adminlist td.at_filename {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
|
||||
table.adminlist td.at_filename a img {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.adminlist td.at_checked {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table.adminlist td.at_published { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_description { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_access { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_user_field { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_file_type { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_file_size { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_creator_name { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_created_date { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_mod_date { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_downloads { text-align: center; padding: 4px 0 4px 8px;}
|
||||
|
||||
table.adminlist td.at_parentsep {
|
||||
height: 0.8em;
|
||||
background-color: #DDD;
|
||||
border-top: 1px solid #999;
|
||||
border-bottom: 1px solid #BBB;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.adminlist tr.row1 {
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
table.adminlist span.error {
|
||||
color: #FF0000;
|
||||
font-style: italic;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
|
||||
table.adminlist td.showlinks a {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* For the link to download a file */
|
||||
|
||||
table.adminlist a.downloadAttach {
|
||||
margin-left: 0px;
|
||||
font-size: 80%;
|
||||
color : #F00;
|
||||
text-decoration: none;
|
||||
}
|
||||
table.adminlist a.downloadAttach:link { color : #F00; text-decoration: none; }
|
||||
table.adminlist a.downloadAttach:visited { color : #F00; text-decoration: none; }
|
||||
table.adminlist a.downloadAttach:hover { color : #F00; text-decoration: underline; }
|
||||
table.adminlist a.downloadAttach:active { color : #F00; text-decoration: none; }
|
||||
|
||||
|
||||
|
||||
/* For the link to add another attachment to an parent */
|
||||
|
||||
table.adminlist a.addAttach {
|
||||
font-weight: normal;
|
||||
color: #F00;
|
||||
text-decoration: none;
|
||||
}
|
||||
table.adminlist a.addAttach:link { color : #F00; text-decoration: none; }
|
||||
table.adminlist a.addAttach:visited { color : #F00; text-decoration: none; }
|
||||
table.adminlist a.addAttach:hover { color : #F00; text-decoration: underline; }
|
||||
table.adminlist a.addAttach:active { color : #F00; text-decoration: none; }
|
||||
|
||||
table.adminlist a.addAttach img {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
|
||||
/* Styles for attachments admin */
|
||||
div.attachmentsAdmin {
|
||||
margin-left: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin h1 {
|
||||
line-height: normal;
|
||||
font-size: 200%;
|
||||
font-weight: bold;
|
||||
color: #000088;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin h2 {
|
||||
line-height: normal;
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin li a { padding: 2px; }
|
||||
div.attachmentsAdmin li a:link { color: #0000FF; text-decoration: none; }
|
||||
div.attachmentsAdmin li a:hover {
|
||||
color: #0000FF; text-decoration: none;
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
div.attachmentsAdmin li a:visited { color: #0000FF; text-decoration: none; }
|
||||
div.attachmentsAdmin li a:active { color: #0000FF; text-decoration: none; }
|
||||
|
||||
div#componentVersion {
|
||||
font-style: italic;
|
||||
font-size: 1em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
##F00border {
|
||||
border: 1px solid #F00;
|
||||
}
|
||||
|
||||
/* For the link to change the article */
|
||||
|
||||
td#key_article {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
a.changeButton {
|
||||
padding: 1px 4px 1px 4px;
|
||||
margin-left: 12px;
|
||||
font-size: 95%;
|
||||
color : #333333;
|
||||
text-decoration: none;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
}
|
||||
a.changeButton:link { color : #333333; text-decoration: none; }
|
||||
a.changeButton:visited { color : #333333; text-decoration: none; }
|
||||
a.changeButton:hover { color : #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.changeButton:active { color : #333333; text-decoration: none; }
|
||||
|
||||
a.modal-button {
|
||||
padding-top: 1px;
|
||||
padding-top: 1px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
color: #333333;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a.modal-button:link { color: #333333; text-decoration: none; }
|
||||
a.modal-button:hover { color: #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.modal-button:visited { color: #333333; text-decoration: none; }
|
||||
a.modal-button:active { color: #333333; text-decoration: none; }
|
||||
|
||||
|
||||
input#upload, input#upload_warning {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents {
|
||||
margin: 2em 0 0 0;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
div.attachmentsList {
|
||||
margin-top: 0;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
|
||||
.form-horizontal .control-group .controls {
|
||||
margin-left: 300px;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group .control-label {
|
||||
width: 285px;
|
||||
padding-left: 4px;
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group .radio.btn-group {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
/* For warning dialog */
|
||||
|
||||
div.attachmentsWarning {
|
||||
padding: 10px;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
div.attachmentsWarning h1 {
|
||||
line-height: normal;
|
||||
font-size: 250%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: #F00;
|
||||
border-bottom: 1px solid #DDD;
|
||||
}
|
||||
|
||||
div.attachmentsWarning h2 {
|
||||
line-height: normal;
|
||||
font-size: 175%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 1em 0 1em 0;
|
||||
}
|
||||
|
||||
*
|
||||
div.attachmentsWarning input[type="button"],
|
||||
div.attachmentsWarning input[type="submit"]
|
||||
{
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
border: 1px solid #666;
|
||||
background-color: #DDD;
|
||||
}
|
||||
|
||||
|
||||
div.attachmentsWarning span.left {
|
||||
width: 8em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
div.attachmentsWarning span.right {
|
||||
width: 8em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* For utils command list */
|
||||
|
||||
div#modal-adminUtils {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
div#modal-adminUtils div.modal-header {
|
||||
/* Copied from 3.0 .subheader */
|
||||
background: -moz-linear-gradient(center top , #FFFFFF 0%, #EDEDED 100%) repeat scroll 0 0 transparent;
|
||||
border-bottom: 1px solid #D3D3D3;
|
||||
color: #0C192E;
|
||||
margin-bottom: 10px;
|
||||
text-shadow: 0 1px 0 #FFFFFF;
|
||||
}
|
||||
|
||||
div#utilsList {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
div#utilsList h1 {
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
div#utilsList h2 {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
|
||||
/* For icons */
|
||||
|
||||
.icon-48-attachments { background-image: url(../images/attachments_logo48.png); }
|
||||
|
||||
.icon-32-adminUtils { background-image: url(../images/attachments_utils32.png); }
|
||||
|
||||
.icon-16-attachments { background-image: url(../images/attachments.png); }
|
||||
|
||||
/* for Joomla 3.x */
|
||||
div.container-fluid form#adminForm
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* for Joomla 3 page logo */
|
||||
body.com_attachments h1.page-title
|
||||
{
|
||||
padding-left: 40px;
|
||||
background-image: url(../images/attachments_logo32.png);
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
660
media/com_attachments/css/attachments_admin_form.css
Normal file
660
media/com_attachments/css/attachments_admin_form.css
Normal file
@ -0,0 +1,660 @@
|
||||
/* Styles for the main list of attachments in the administrative back end */
|
||||
|
||||
body.component {
|
||||
padding-top: 0;
|
||||
margin: 4px 6px 0 6px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend * {
|
||||
float: none;
|
||||
}
|
||||
|
||||
form.attachmentsBackend,
|
||||
form#adminForm
|
||||
{
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend th,
|
||||
form#adminForm th
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend div.right,
|
||||
form#adminForm div.right {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
/* for Joomla 3.x */
|
||||
div.container-fluid form#adminForm
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
div#element-box div.m form#adminForm table#attachmentsList tr td a {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
|
||||
form#adminForm div.attachments_filter label.filter-search-lbl {
|
||||
display: inline;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter {
|
||||
padding: 0 0 2px 6px;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
form#adminForm button#reset_order {
|
||||
margin: 0 0 0 3em;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter table,
|
||||
form#adminForm div.attachments_filter tbody,
|
||||
form#adminForm div.attachments_filter tr,
|
||||
form#adminForm div.attachments_filter td {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td select,
|
||||
form#adminForm div.attachments_filter td option,
|
||||
form#adminForm div.attachments_filter td input {
|
||||
vertical-align: middle;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td select {
|
||||
height: 1.6em;
|
||||
}
|
||||
|
||||
form#adminForm input[type=checkbox] {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table.adminlist th {
|
||||
text-align: left;
|
||||
border-bottom: 0;
|
||||
padding: 4px 0 4px 8px;
|
||||
}
|
||||
table.adminlist th.at_checked {
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
}
|
||||
table.adminlist th.at_published { text-align: center; }
|
||||
table.adminlist th.at_filename { text-align: left; }
|
||||
table.adminlist th.at_description { text-align: left; }
|
||||
table.adminlist th.at_access { text-align: center; }
|
||||
table.adminlist th.at_user_field { text-align: left; }
|
||||
table.adminlist th.at_file_type { text-align: center; }
|
||||
table.adminlist th.at_file_size { text-align: center; }
|
||||
table.adminlist th.at_creator_name { text-align: left; }
|
||||
table.adminlist th.at_created_date { text-align: left; }
|
||||
table.adminlist th.at_mod_date { text-align: left; }
|
||||
table.adminlist th.at_downloads { text-align: center; }
|
||||
|
||||
table.adminlist td {
|
||||
text-align: left;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
table.adminlist img#link {
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
text-align: left;
|
||||
padding: 4px 0 4px 8px;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
div.container-fluid table.adminlist td.at_filename {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
|
||||
table.adminlist td.at_filename a img {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.adminlist td.at_checked {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table.adminlist td.at_published { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_description { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_access { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_user_field { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_file_type { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_file_size { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_creator_name { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_created_date { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_mod_date { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_downloads { text-align: center; padding: 4px 0 4px 8px;}
|
||||
|
||||
table.adminlist td.at_parentsep {
|
||||
height: 0.8em;
|
||||
background-color: #DDD;
|
||||
border-top: 1px solid #999;
|
||||
border-bottom: 1px solid #BBB;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.adminlist tr.row1 {
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
span.error {
|
||||
color: #FF0000;
|
||||
font-style: italic;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
|
||||
table.adminlist td.showlinks a {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* For the link to download a file */
|
||||
|
||||
a.downloadAttach {
|
||||
margin-left: 0px;
|
||||
font-size: 80%;
|
||||
color : #F00;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.downloadAttach:link { color : #F00; text-decoration: none; }
|
||||
a.downloadAttach:visited { color : #F00; text-decoration: none; }
|
||||
a.downloadAttach:hover { color : #F00; text-decoration: underline; }
|
||||
a.downloadAttach:active { color : #F00; text-decoration: none; }
|
||||
|
||||
|
||||
|
||||
/* For the link to add another attachment to an parent */
|
||||
|
||||
a.addAttach {
|
||||
font-weight: normal;
|
||||
color: #F00;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.addAttach:link { color : #F00; text-decoration: none; }
|
||||
a.addAttach:visited { color : #F00; text-decoration: none; }
|
||||
a.addAttach:hover { color : #F00; text-decoration: underline; }
|
||||
a.addAttach:active { color : #F00; text-decoration: none; }
|
||||
|
||||
a.addAttach img {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
|
||||
/* Styles for attachments admin */
|
||||
div.attachmentsAdmin {
|
||||
margin-left: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin h1 {
|
||||
line-height: normal;
|
||||
font-size: 200%;
|
||||
font-weight: bold;
|
||||
color: #000088;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin h2 {
|
||||
line-height: normal;
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin li a { padding: 2px; }
|
||||
div.attachmentsAdmin li a:link { color: #0000FF; text-decoration: none; }
|
||||
div.attachmentsAdmin li a:hover {
|
||||
color: #0000FF; text-decoration: none;
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
div.attachmentsAdmin li a:visited { color: #0000FF; text-decoration: none; }
|
||||
div.attachmentsAdmin li a:active { color: #0000FF; text-decoration: none; }
|
||||
|
||||
div#componentVersion {
|
||||
font-style: italic;
|
||||
font-size: 1em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
##F00border {
|
||||
border: 1px solid #F00;
|
||||
}
|
||||
|
||||
/* For the link to change the article */
|
||||
|
||||
td#key_article {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
a.changeButton {
|
||||
padding: 1px 4px 1px 4px;
|
||||
margin-left: 12px;
|
||||
font-size: 95%;
|
||||
color : #333333;
|
||||
text-decoration: none;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
}
|
||||
a.changeButton:link { color : #333333; text-decoration: none; }
|
||||
a.changeButton:visited { color : #333333; text-decoration: none; }
|
||||
a.changeButton:hover { color : #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.changeButton:active { color : #333333; text-decoration: none; }
|
||||
|
||||
a.modal-button {
|
||||
padding-top: 1px;
|
||||
padding-top: 1px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
color: #333333;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a.modal-button:link { color: #333333; text-decoration: none; }
|
||||
a.modal-button:hover { color: #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.modal-button:visited { color: #333333; text-decoration: none; }
|
||||
a.modal-button:active { color: #333333; text-decoration: none; }
|
||||
|
||||
|
||||
/* For the upload attachment form */
|
||||
|
||||
form.attachmentsBackend {
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset,
|
||||
form.attachmentsBackend td > fieldset.radio {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td label,
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td input[type="radio"],
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td input[type="checkbox"]
|
||||
{
|
||||
float: none;
|
||||
padding: 0;
|
||||
margin: 0 0 0 0.5em;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable tr {
|
||||
margin: 4px 0 4px 0;
|
||||
border: 1px solid #FFF;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td select.inputbox {
|
||||
background-color: #DDD;
|
||||
margin: 0 8px 0 1px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td input[type="checkbox"] {
|
||||
margin: 0 0 0 0.25em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td label {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td label.radiobtn {
|
||||
float: none;
|
||||
min-width: 0em;
|
||||
padding: 0;
|
||||
margin: 0 1em 0 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend legend {
|
||||
font-size: 140%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend input {
|
||||
float: none;
|
||||
border: 1px solid #888;
|
||||
color : #333333;
|
||||
background-color: #CCC;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend input[type="text"] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
form.attachmentsBackend input#parent_title {
|
||||
background-color: #BBB;
|
||||
color: #555;
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
form.attachmentsBackend input[type="button"],
|
||||
form.attachmentsBackend input[type="submit"],
|
||||
{
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
border: 1px solid #666;
|
||||
}
|
||||
|
||||
div.attachmentsWarning div.form_buttons,
|
||||
form.attachmentsBackend div.form_buttons {
|
||||
background-color: #F4F4F4;
|
||||
margin-top: 4px;
|
||||
padding: 8px 20px 8px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form.attachmentsBackend span.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable {
|
||||
padding: 4px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td {
|
||||
padding: 3px 8px 3px 3px;
|
||||
vertical-align: middle;
|
||||
font-size: 1.0em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td span {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td span.optional {
|
||||
vertical-align: inherit;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend table.admintable td.key,
|
||||
form.attachmentsBackend table.admintable td.key2 {
|
||||
background-color: #DADAF0;
|
||||
color: #444;
|
||||
width: 8em;
|
||||
padding: 0 4px 0 4px;
|
||||
margin: 2px 0 2px 0;
|
||||
vertical-align: middle;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td.key2 {
|
||||
width: 8em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td.switch {
|
||||
padding: 0 4px 0 10px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td.at_title {
|
||||
-- max-width: 18em;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend fieldset.adminform label {
|
||||
vertical-align: middle;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform label#upload_file_label {
|
||||
display: inline-block;
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
|
||||
div.attachmentsBackendTitle h1 {
|
||||
font-size: 1.5em;
|
||||
color: #05B;
|
||||
margin: 0;
|
||||
padding: 0 0 4px 0;
|
||||
}
|
||||
|
||||
div.attachmentsBackendTitle h2 {
|
||||
font-size: 1.25em;
|
||||
color: #05B;
|
||||
margin: 0;
|
||||
padding: 0 0 6px 0;
|
||||
}
|
||||
|
||||
input#upload, input#upload_warning {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents {
|
||||
font-size: 1.0em;
|
||||
line-height: 1.5em;
|
||||
padding: 0 0 6px 0;
|
||||
float: right;
|
||||
max-width: 40%;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents p {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents span:first-letter
|
||||
{
|
||||
margin-left: -2em;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents span {
|
||||
font-weight: bold;
|
||||
font-size: 1.1em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents a.changeButton {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* Small fixes for form to edit parameters */
|
||||
|
||||
input#paramsregister_url {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input#paramshide_attachments_for {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration h3 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration > dt {
|
||||
background-color: #CACACA;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration > dt.open {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration > dt.open h3 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul#attachments-options {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
ul#attachments-options > li label,
|
||||
ul#attachments-options > li select,
|
||||
ul#attachments-options > li textarea,
|
||||
ul#attachments-options > li input,
|
||||
ul#attachments-options > li > fieldset.radio
|
||||
{
|
||||
float: none;
|
||||
display: inline-block;
|
||||
min-width: 2.75em;
|
||||
}
|
||||
|
||||
ul#attachments-options > li {
|
||||
background-color: #E0E0E0;
|
||||
margin: 3px 0 3px 0;
|
||||
}
|
||||
|
||||
ul#attachments-options > li textarea,
|
||||
ul#attachments-options > li select {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
ul#attachments-options > li > label {
|
||||
min-width: 21em;
|
||||
width: 21em;
|
||||
text-align: right;
|
||||
padding: 0 8px 0 0;
|
||||
margin: 0 2px 4px 0;
|
||||
}
|
||||
|
||||
|
||||
ul#attachments-options > li > label#jform_rules-lbl {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul#attachments-options div#permissions-sliders {
|
||||
margin: 4px 0 0 0;
|
||||
}
|
||||
|
||||
form#component-form p.tab-description {
|
||||
font-size: 150%;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
ul#attachments-options div.pane-sliders p {
|
||||
margin: 0 0 4px 0;
|
||||
}
|
||||
|
||||
/* fieldset#jform_download_mode label { width: 5em; } */
|
||||
|
||||
.form-horizontal .control-group .controls {
|
||||
margin-left: 300px;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group .control-label {
|
||||
width: 285px;
|
||||
padding-left: 4px;
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group .radio.btn-group {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
form.attachmentsBackend > fieldset.adminform > table.admintable {
|
||||
border: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* For warning dialog */
|
||||
|
||||
div.attachmentsWarning {
|
||||
padding: 10px;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
div.attachmentsWarning h1 {
|
||||
line-height: normal;
|
||||
font-size: 250%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: #F00;
|
||||
border-bottom: 1px solid #DDD;
|
||||
}
|
||||
|
||||
div.attachmentsWarning h2 {
|
||||
line-height: normal;
|
||||
font-size: 175%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 1em 0 1em 0;
|
||||
}
|
||||
|
||||
*
|
||||
div.attachmentsWarning input[type="button"],
|
||||
div.attachmentsWarning input[type="submit"]
|
||||
{
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
border: 1px solid #666;
|
||||
background-color: #DDD;
|
||||
}
|
||||
|
||||
|
||||
div.attachmentsWarning span.left {
|
||||
width: 8em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
div.attachmentsWarning span.right {
|
||||
width: 8em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* For utils command list */
|
||||
|
||||
div#modal-adminUtils div.modal-header {
|
||||
/* Copied from 3.0 .subheader */
|
||||
background: -moz-linear-gradient(center top , #FFFFFF 0%, #EDEDED 100%) repeat scroll 0 0 transparent;
|
||||
border-bottom: 1px solid #D3D3D3;
|
||||
color: #0C192E;
|
||||
margin-bottom: 10px;
|
||||
text-shadow: 0 1px 0 #FFFFFF;
|
||||
}
|
||||
|
||||
div#utilsList {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
div#utilsList h1 {
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
div#utilsList h2 {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
|
||||
/* For icons */
|
||||
|
||||
.icon-48-attachments { background-image: url(../images/attachments_logo48.png); }
|
||||
|
||||
.icon-16-attachments { background-image: url(../images/attachments.png); }
|
||||
|
||||
.icon-32-adminUtils { background-image: url(../images/attachments_utils32.png); }
|
||||
|
||||
|
||||
|
||||
71
media/com_attachments/css/attachments_admin_form_rtl.css
Normal file
71
media/com_attachments/css/attachments_admin_form_rtl.css
Normal file
@ -0,0 +1,71 @@
|
||||
/* Styles for the main list of attachments in the administrative back end */
|
||||
|
||||
table.adminlist th {
|
||||
text-align: right;
|
||||
}
|
||||
table.adminlist th.at_filename { text-align: right; }
|
||||
table.adminlist th.at_description { text-align: right; }
|
||||
table.adminlist th.at_user_field { text-align: right; }
|
||||
|
||||
table.adminlist td {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
text-align: right;
|
||||
/*font-size: 125%; */
|
||||
}
|
||||
|
||||
.at_filename a
|
||||
{
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
td.at_filename {
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
table.adminlist img#link {
|
||||
margin-right: -16px;
|
||||
padding-left: 16px;
|
||||
}
|
||||
table.adminlist td.at_description { text-align: right; }
|
||||
table.adminlist td.at_user_field { text-align: right; }
|
||||
|
||||
/* For the link to download a file */
|
||||
|
||||
a.downloadAttach {
|
||||
margin-left: auto;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
|
||||
/* For the upload attachment form */
|
||||
|
||||
form.attachmentsBackend {
|
||||
margin-left: auto;
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
/* Styles for attachments admin */
|
||||
div.attachmentsAdmin {
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* For icons */
|
||||
|
||||
.icon-48-attachments
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
|
||||
.icon-16-attachments
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
|
||||
.icon-32-admin
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
71
media/com_attachments/css/attachments_admin_rtl.css
Normal file
71
media/com_attachments/css/attachments_admin_rtl.css
Normal file
@ -0,0 +1,71 @@
|
||||
/* Styles for the main list of attachments in the administrative back end */
|
||||
|
||||
table.adminlist th {
|
||||
text-align: right;
|
||||
}
|
||||
table.adminlist th.at_filename { text-align: right; }
|
||||
table.adminlist th.at_description { text-align: right; }
|
||||
table.adminlist th.at_user_field { text-align: right; }
|
||||
|
||||
table.adminlist td {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
text-align: right;
|
||||
/*font-size: 125%; */
|
||||
}
|
||||
|
||||
.at_filename a
|
||||
{
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
td.at_filename {
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
table.adminlist img#link {
|
||||
margin-right: -16px;
|
||||
padding-left: 16px;
|
||||
}
|
||||
table.adminlist td.at_description { text-align: right; }
|
||||
table.adminlist td.at_user_field { text-align: right; }
|
||||
|
||||
/* For the link to download a file */
|
||||
|
||||
a.downloadAttach {
|
||||
margin-left: auto;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
|
||||
/* For the upload attachment form */
|
||||
|
||||
form.attachmentsBackend {
|
||||
margin-left: auto;
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
/* Styles for attachments admin */
|
||||
div.attachmentsAdmin {
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* For icons */
|
||||
|
||||
.icon-48-attachments
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
|
||||
.icon-16-attachments
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
|
||||
.icon-32-admin
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
625
media/com_attachments/css/attachments_admin_utils.css
Normal file
625
media/com_attachments/css/attachments_admin_utils.css
Normal file
@ -0,0 +1,625 @@
|
||||
/* Styles for the main list of attachments in the administrative back end */
|
||||
|
||||
body.component {
|
||||
padding-top: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend * {
|
||||
float: none;
|
||||
}
|
||||
|
||||
form.attachmentsBackend,
|
||||
form#adminForm
|
||||
{
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend th,
|
||||
form#adminForm th
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* for Joomla 3.x */
|
||||
div.container-fluid form#adminForm
|
||||
{
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
div#element-box div.m form#adminForm table#attachmentsList tr td a {
|
||||
font-size: 85%;
|
||||
}
|
||||
|
||||
|
||||
form#adminForm div.attachments_filter label.filter-search-lbl {
|
||||
display: inline;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter {
|
||||
padding: 0 0 2px 6px;
|
||||
margin: 0 0 6px 0;
|
||||
}
|
||||
|
||||
form#adminForm button#reset_order {
|
||||
margin: 0 0 0 3em;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter table,
|
||||
form#adminForm div.attachments_filter tbody,
|
||||
form#adminForm div.attachments_filter tr,
|
||||
form#adminForm div.attachments_filter td {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td select,
|
||||
form#adminForm div.attachments_filter td option,
|
||||
form#adminForm div.attachments_filter td input {
|
||||
vertical-align: middle;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form#adminForm div.attachments_filter td select {
|
||||
height: 1.6em;
|
||||
}
|
||||
|
||||
form#adminForm input[type=checkbox] {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
table.adminlist th {
|
||||
text-align: left;
|
||||
border-bottom: 0;
|
||||
padding: 4px 0 4px 8px;
|
||||
}
|
||||
table.adminlist th.at_checked {
|
||||
padding: 0;
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
}
|
||||
table.adminlist th.at_published { text-align: center; }
|
||||
table.adminlist th.at_filename { text-align: left; }
|
||||
table.adminlist th.at_description { text-align: left; }
|
||||
table.adminlist th.at_access { text-align: center; }
|
||||
table.adminlist th.at_user_field { text-align: left; }
|
||||
table.adminlist th.at_file_type { text-align: center; }
|
||||
table.adminlist th.at_file_size { text-align: center; }
|
||||
table.adminlist th.at_creator_name { text-align: left; }
|
||||
table.adminlist th.at_created_date { text-align: left; }
|
||||
table.adminlist th.at_mod_date { text-align: left; }
|
||||
table.adminlist th.at_downloads { text-align: center; }
|
||||
|
||||
table.adminlist td {
|
||||
text-align: left;
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
table.adminlist img#link {
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
text-align: left;
|
||||
padding: 4px 0 4px 8px;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
div.container-fluid table.adminlist td.at_filename {
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
|
||||
table.adminlist td.at_filename a img {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.adminlist td.at_checked {
|
||||
text-align: center;
|
||||
width: 20px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
table.adminlist td.at_published { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_description { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_access { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_user_field { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_file_type { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_file_size { text-align: center; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_creator_name { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_created_date { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_mod_date { text-align: left; padding: 4px 0 4px 8px;}
|
||||
table.adminlist td.at_downloads { text-align: center; padding: 4px 0 4px 8px;}
|
||||
|
||||
table.adminlist td.at_parentsep {
|
||||
height: 0.8em;
|
||||
background-color: #DDD;
|
||||
border-top: 1px solid #999;
|
||||
border-bottom: 1px solid #BBB;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
table.adminlist tr.row1 {
|
||||
background-color: #F0F0F0;
|
||||
}
|
||||
|
||||
span.error {
|
||||
color: #FF0000;
|
||||
font-style: italic;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
|
||||
table.adminlist td.showlinks a {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* For the link to download a file */
|
||||
|
||||
a.downloadAttach {
|
||||
margin-left: 0px;
|
||||
font-size: 80%;
|
||||
color : #F00;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.downloadAttach:link { color : #F00; text-decoration: none; }
|
||||
a.downloadAttach:visited { color : #F00; text-decoration: none; }
|
||||
a.downloadAttach:hover { color : #F00; text-decoration: underline; }
|
||||
a.downloadAttach:active { color : #F00; text-decoration: none; }
|
||||
|
||||
|
||||
|
||||
/* For the link to add another attachment to an parent */
|
||||
|
||||
a.addAttach {
|
||||
font-weight: normal;
|
||||
color: #F00;
|
||||
text-decoration: none;
|
||||
}
|
||||
a.addAttach:link { color : #F00; text-decoration: none; }
|
||||
a.addAttach:visited { color : #F00; text-decoration: none; }
|
||||
a.addAttach:hover { color : #F00; text-decoration: underline; }
|
||||
a.addAttach:active { color : #F00; text-decoration: none; }
|
||||
|
||||
a.addAttach img {
|
||||
vertical-align: text-bottom;
|
||||
}
|
||||
|
||||
|
||||
/* Styles for attachments admin */
|
||||
div.attachmentsAdmin {
|
||||
margin-left: 20px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin h1 {
|
||||
line-height: normal;
|
||||
font-size: 200%;
|
||||
font-weight: bold;
|
||||
color: #000088;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin h2 {
|
||||
line-height: normal;
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.attachmentsAdmin li a { padding: 2px; }
|
||||
div.attachmentsAdmin li a:link { color: #0000FF; text-decoration: none; }
|
||||
div.attachmentsAdmin li a:hover {
|
||||
color: #0000FF; text-decoration: none;
|
||||
background-color: #DDDDDD;
|
||||
}
|
||||
div.attachmentsAdmin li a:visited { color: #0000FF; text-decoration: none; }
|
||||
div.attachmentsAdmin li a:active { color: #0000FF; text-decoration: none; }
|
||||
|
||||
div#componentVersion {
|
||||
font-style: italic;
|
||||
font-size: 1em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
##F00border {
|
||||
border: 1px solid #F00;
|
||||
}
|
||||
|
||||
/* For the link to change the article */
|
||||
|
||||
td#key_article {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
a.changeButton {
|
||||
padding: 1px 4px 1px 4px;
|
||||
margin-left: 12px;
|
||||
font-size: 95%;
|
||||
color : #333333;
|
||||
text-decoration: none;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
}
|
||||
a.changeButton:link { color : #333333; text-decoration: none; }
|
||||
a.changeButton:visited { color : #333333; text-decoration: none; }
|
||||
a.changeButton:hover { color : #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.changeButton:active { color : #333333; text-decoration: none; }
|
||||
|
||||
a.modal-button {
|
||||
padding-top: 1px;
|
||||
padding-top: 1px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
color: #333333;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
a.modal-button:link { color: #333333; text-decoration: none; }
|
||||
a.modal-button:hover { color: #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.modal-button:visited { color: #333333; text-decoration: none; }
|
||||
a.modal-button:active { color: #333333; text-decoration: none; }
|
||||
|
||||
|
||||
/* For the upload attachment form */
|
||||
|
||||
form.attachmentsBackend {
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset,
|
||||
form.attachmentsBackend td > fieldset.radio {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td label,
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td input[type="radio"],
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td input[type="checkbox"]
|
||||
{
|
||||
float: none;
|
||||
padding: 0;
|
||||
margin: 0 0 0 0.5em;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable tr {
|
||||
margin: 4px 0 4px 0;
|
||||
border: 1px solid #FFF;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td select.inputbox {
|
||||
background-color: #DDD;
|
||||
margin: 0 8px 0 1px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td input[type="checkbox"] {
|
||||
margin: 0 0 0 0.25em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td label {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend fieldset.adminform table.admintable td label.radiobtn {
|
||||
float: none;
|
||||
min-width: 0em;
|
||||
padding: 0;
|
||||
margin: 0 1em 0 0;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend legend {
|
||||
font-size: 140%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend input {
|
||||
float: none;
|
||||
border: 1px solid #888;
|
||||
color : #333333;
|
||||
background-color: #CCC;
|
||||
margin: 2px;
|
||||
}
|
||||
|
||||
form.attachmentsBackend input[type="text"] {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
form.attachmentsBackend input#parent_title {
|
||||
background-color: #BBB;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
form.attachmentsBackend input[type="button"],
|
||||
form.attachmentsBackend input[type="submit"],
|
||||
{
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
border: 1px solid #666;
|
||||
}
|
||||
|
||||
div.attachmentsWarning div.form_buttons,
|
||||
form.attachmentsBackend div.form_buttons {
|
||||
background-color: #F4F4F4;
|
||||
margin-top: 4px;
|
||||
padding: 8px 20px 8px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form.attachmentsBackend span.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable {
|
||||
padding: 4px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td {
|
||||
padding: 3px 8px 3px 3px;
|
||||
vertical-align: middle;
|
||||
font-size: 1.0em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td span {
|
||||
float: none;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td span.optional {
|
||||
vertical-align: inherit;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend table.admintable td.key,
|
||||
form.attachmentsBackend table.admintable td.key2 {
|
||||
background-color: #DADAF0;
|
||||
color: #444;
|
||||
width: 12em;
|
||||
padding: 0 4px 0 4px;
|
||||
margin: 2px 0 2px 0;
|
||||
vertical-align: middle;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td.key2 {
|
||||
width: 8em;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td.switch {
|
||||
padding: 0 4px 0 10px;
|
||||
border: 1px solid #CCC;
|
||||
}
|
||||
|
||||
form.attachmentsBackend table.admintable td.at_title {
|
||||
-- max-width: 18em;
|
||||
}
|
||||
|
||||
|
||||
form.attachmentsBackend fieldset.adminform label {
|
||||
vertical-align: middle;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
form.attachmentsBackend fieldset.adminform label#upload_file_label {
|
||||
display: inline-block;
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
|
||||
div.attachmentsBackendTitle h1 {
|
||||
font-size: 1.5em;
|
||||
color: #05B;
|
||||
margin: 0;
|
||||
padding: 0 0 4px 0;
|
||||
}
|
||||
|
||||
div.attachmentsBackendTitle h2 {
|
||||
font-size: 1.25em;
|
||||
color: #05B;
|
||||
margin: 0;
|
||||
padding: 0 0 6px 0;
|
||||
}
|
||||
|
||||
input#upload, input#upload_warning {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
div#attachmentsPotentialParents {
|
||||
margin: 2em 0 0 0;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
div.attachmentsList {
|
||||
margin-top: 0;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
/* Small fixes for form to edit parameters */
|
||||
|
||||
input#paramsregister_url {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input#paramshide_attachments_for {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration h3 {
|
||||
font-size: 1.4em;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration > dt {
|
||||
background-color: #CACACA;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration > dt.open {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
dl#config-tabs-com_attachments_configuration > dt.open h3 {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
ul#attachments-options {
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
ul#attachments-options > li label,
|
||||
ul#attachments-options > li select,
|
||||
ul#attachments-options > li textarea,
|
||||
ul#attachments-options > li input,
|
||||
ul#attachments-options > li > fieldset.radio
|
||||
{
|
||||
float: none;
|
||||
display: inline-block;
|
||||
min-width: 2.75em;
|
||||
}
|
||||
|
||||
ul#attachments-options > li {
|
||||
background-color: #E0E0E0;
|
||||
margin: 3px 0 3px 0;
|
||||
}
|
||||
|
||||
ul#attachments-options > li textarea,
|
||||
ul#attachments-options > li select {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
ul#attachments-options > li > label {
|
||||
min-width: 20em;
|
||||
width: 20em;
|
||||
text-align: right;
|
||||
padding: 0 8px 0 0;
|
||||
margin: 0 2px 4px 0;
|
||||
}
|
||||
|
||||
|
||||
ul#attachments-options > li > label#jform_rules-lbl {
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul#attachments-options div#permissions-sliders {
|
||||
margin: 4px 0 0 0;
|
||||
}
|
||||
|
||||
form#component-form p.tab-description {
|
||||
font-size: 150%;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
ul#attachments-options div.pane-sliders p {
|
||||
margin: 0 0 4px 0;
|
||||
}
|
||||
|
||||
/* fieldset#jform_download_mode label { width: 5em; } */
|
||||
|
||||
.form-horizontal .control-group .controls {
|
||||
margin-left: 300px;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group .control-label {
|
||||
width: 285px;
|
||||
padding-left: 4px;
|
||||
background-color: #F9F9F9;
|
||||
}
|
||||
|
||||
.form-horizontal .control-group .radio.btn-group {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
|
||||
/* For warning dialog */
|
||||
|
||||
div.attachmentsWarning {
|
||||
padding: 10px;
|
||||
margin: 20px;
|
||||
}
|
||||
|
||||
div.attachmentsWarning h1 {
|
||||
line-height: normal;
|
||||
font-size: 250%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: #F00;
|
||||
border-bottom: 1px solid #DDD;
|
||||
}
|
||||
|
||||
div.attachmentsWarning h2 {
|
||||
line-height: normal;
|
||||
font-size: 175%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
margin: 1em 0 1em 0;
|
||||
}
|
||||
|
||||
*
|
||||
div.attachmentsWarning input[type="button"],
|
||||
div.attachmentsWarning input[type="submit"]
|
||||
{
|
||||
font-size: 1.3em;
|
||||
font-weight: bold;
|
||||
border: 1px solid #666;
|
||||
background-color: #DDD;
|
||||
}
|
||||
|
||||
|
||||
div.attachmentsWarning span.left {
|
||||
width: 8em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
div.attachmentsWarning span.right {
|
||||
width: 8em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* For utils command list */
|
||||
|
||||
div#modal-adminUtils div.modal-header {
|
||||
/* Copied from 3.0 .subheader */
|
||||
background: -moz-linear-gradient(center top , #FFFFFF 0%, #EDEDED 100%) repeat scroll 0 0 transparent;
|
||||
border-bottom: 1px solid #D3D3D3;
|
||||
color: #0C192E;
|
||||
margin-bottom: 10px;
|
||||
text-shadow: 0 1px 0 #FFFFFF;
|
||||
}
|
||||
|
||||
div#utilsList {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
div#utilsList h1 {
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
div#utilsList h2 {
|
||||
font-size: 125%;
|
||||
}
|
||||
|
||||
|
||||
/* For icons */
|
||||
|
||||
.icon-48-attachments { background-image: url(../images/attachments_logo48.png); }
|
||||
|
||||
.icon-32-adminUtils { background-image: url(../images/attachments_utils32.png); }
|
||||
|
||||
.icon-16-attachments { background-image: url(../images/attachments.png); }
|
||||
71
media/com_attachments/css/attachments_admin_utils_rtl.css
Normal file
71
media/com_attachments/css/attachments_admin_utils_rtl.css
Normal file
@ -0,0 +1,71 @@
|
||||
/* Styles for the main list of attachments in the administrative back end */
|
||||
|
||||
table.adminlist th {
|
||||
text-align: right;
|
||||
}
|
||||
table.adminlist th.at_filename { text-align: right; }
|
||||
table.adminlist th.at_description { text-align: right; }
|
||||
table.adminlist th.at_user_field { text-align: right; }
|
||||
|
||||
table.adminlist td {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
table.adminlist td.at_filename {
|
||||
text-align: right;
|
||||
/*font-size: 125%; */
|
||||
}
|
||||
|
||||
.at_filename a
|
||||
{
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
td.at_filename {
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
table.adminlist img#link {
|
||||
margin-right: -16px;
|
||||
padding-left: 16px;
|
||||
}
|
||||
table.adminlist td.at_description { text-align: right; }
|
||||
table.adminlist td.at_user_field { text-align: right; }
|
||||
|
||||
/* For the link to download a file */
|
||||
|
||||
a.downloadAttach {
|
||||
margin-left: auto;
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
|
||||
/* For the upload attachment form */
|
||||
|
||||
form.attachmentsBackend {
|
||||
margin-left: auto;
|
||||
margin-right: -8px;
|
||||
}
|
||||
|
||||
/* Styles for attachments admin */
|
||||
div.attachmentsAdmin {
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* For icons */
|
||||
|
||||
.icon-48-attachments
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
|
||||
.icon-16-attachments
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
|
||||
.icon-32-admin
|
||||
{
|
||||
background-position:right;
|
||||
}
|
||||
223
media/com_attachments/css/attachments_frontend_form.css
Normal file
223
media/com_attachments/css/attachments_frontend_form.css
Normal file
@ -0,0 +1,223 @@
|
||||
/* Styles for the upload and update pages */
|
||||
|
||||
body.contentpane {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
div#main {
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage {
|
||||
width: 95%;
|
||||
margin: 6px auto 6px auto;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage h1 {
|
||||
font-size: 150%;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage h2 {
|
||||
width: 100%;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage p {
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage label {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage div.at_control label.at_control_label {
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage div.at_control {
|
||||
margin-top: 4px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage div.at_control div.controls {
|
||||
margin-left: 5px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage div.at_control div.controls label {
|
||||
margin: 0 0 0 5px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
div#uploadAttachmentsPage form.attachments fieldset {
|
||||
padding: 15px 10px 4px 0;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage legend {
|
||||
padding: 3px 0;
|
||||
}
|
||||
|
||||
|
||||
div#uploadAttachmentsPage div.form_buttons {
|
||||
background-color: #F4F4F4;
|
||||
padding: 8px 20px 8px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div#uploadAttachmentsPage div.form_buttons span.right {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* For button-like links to change/switch */
|
||||
|
||||
a.changeButton {
|
||||
padding: 1px 4px 1px 4px;
|
||||
margin-left: 20px;
|
||||
font-size: 90%;
|
||||
color : #333333;
|
||||
text-decoration: none;
|
||||
background-color: #CCCCCC;
|
||||
border: 1px solid #888888;
|
||||
}
|
||||
a.changeButton:link { color : #333333; text-decoration: none; }
|
||||
a.changeButton:visited { color : #333333; text-decoration: none; }
|
||||
a.changeButton:hover { color : #333333; text-decoration: none; background-color: #DDDDDD; }
|
||||
a.changeButton:active { color : #333333; text-decoration: none; }
|
||||
|
||||
|
||||
/* Styles for upload form */
|
||||
|
||||
input#description { width: 100%; }
|
||||
input#upload { width: 100%; }
|
||||
input#display_name { width: 100%; }
|
||||
|
||||
div#uploadAttachmentsPage p.display_name {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
input#upload, input#upload_warning {
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
form.attachments {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form.attachments fieldset {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
form.attachments legend {
|
||||
font-size: 125%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
form.attachments div.formWarning {
|
||||
width: 95%;
|
||||
font-size: 140%;
|
||||
font-weight: bold;
|
||||
line-height: 120%;
|
||||
padding: 8px;
|
||||
padding-left: 15px;
|
||||
margin-bottom: 10px;
|
||||
color: #0000CC;
|
||||
background-color: #FFFF66;
|
||||
}
|
||||
|
||||
form.attachments input#upload_warning {
|
||||
background-color: #FFFF66;
|
||||
}
|
||||
|
||||
form.attachments input[type=checkbox] {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
form.attachments span.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Styles for lists of attachments on upload/update forms */
|
||||
div.attachmentsList caption {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
|
||||
/* Styles for delete warnings */
|
||||
body.modal div.attachmentsWarning,
|
||||
#main div.attachmentsWarning {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
body.modal div.attachmentsWarning h1,
|
||||
#main div.attachmentsWarning h1 {
|
||||
line-height: normal;
|
||||
font-size: 200%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: red;
|
||||
}
|
||||
|
||||
body.modal div.attachmentsWarning h2,
|
||||
#main div.attachmentsWarning h2 {
|
||||
line-height: normal;
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body.modal div.attachmentsWarning span.left,
|
||||
#main div.attachmentsWarning span.left {
|
||||
width: 8em;
|
||||
float: left;
|
||||
}
|
||||
|
||||
body.modal div.attachmentsWarning span.right,
|
||||
#main div.attachmentsWarning span.right {
|
||||
width: 8em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
body.modal div.attachmentsWarning div.form_buttons,
|
||||
#main div.attachmentsWarning div.form_buttons {
|
||||
background-color: #F4F4F4;
|
||||
padding: 8px 20px 8px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
/* Some special overrides for redisplay of forms in the iframe */
|
||||
|
||||
body#attachments_iframe
|
||||
{
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
body#attachments_iframe div#uploadAttachmentsPage
|
||||
{
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
body#attachments_iframe h1
|
||||
{
|
||||
padding-bottom: 4px;
|
||||
border-bottom: 1px solid #BBB;
|
||||
}
|
||||
|
||||
body#attachments_iframe fieldset
|
||||
{
|
||||
border: none;
|
||||
}
|
||||
|
||||
14
media/com_attachments/css/attachments_frontend_form_rtl.css
Normal file
14
media/com_attachments/css/attachments_frontend_form_rtl.css
Normal file
@ -0,0 +1,14 @@
|
||||
/* Styles for lists of attachments */
|
||||
|
||||
div.attachmentsList {
|
||||
margin-left: 0px;
|
||||
margin-right: 15px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.uploadAttachmentsPage p {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
|
||||
355
media/com_attachments/css/attachments_help.css
Normal file
355
media/com_attachments/css/attachments_help.css
Normal file
@ -0,0 +1,355 @@
|
||||
body,
|
||||
body.contentpane {
|
||||
font-size: 0.95em;
|
||||
margin: 0;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
div.help-document {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.help-document div.header {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
color: #003366;
|
||||
padding: 4px 0 6px 1em;
|
||||
background-color: #BBBBFF;
|
||||
border-bottom: 1px solid #0000FF;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
div.help-document hr.header {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.help-document p.version {
|
||||
display: block;
|
||||
margin: 15px 0 0 0;
|
||||
padding: 0;
|
||||
font-size: 105%;
|
||||
}
|
||||
|
||||
a#tc_toggle {
|
||||
font-size: 70%;
|
||||
color: #88F;
|
||||
float: right;
|
||||
}
|
||||
|
||||
div.header a#tc_toggle {
|
||||
margin: 0.5em 2.5em 0 0;
|
||||
}
|
||||
|
||||
div.main a#tc_toggle {
|
||||
margin: 0 0 1em 0;
|
||||
}
|
||||
|
||||
|
||||
a#tc_toggle:hover {
|
||||
color: #33F;
|
||||
}
|
||||
|
||||
a#tc_toggle img {
|
||||
opacity: 0.5;
|
||||
filter: alpha(opacity=50); /* For IE8 and earlier */
|
||||
}
|
||||
|
||||
div.help-document div.main {
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
div.help-document span.text_code
|
||||
{
|
||||
font-size: 80%;
|
||||
font-weight: bold;
|
||||
margin-left: 3px;
|
||||
margin-right: 3px;
|
||||
display: None;
|
||||
}
|
||||
|
||||
div.help-document p {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
div.help-document img.drop-shadow {
|
||||
margin: 4px 0 12px 6px;
|
||||
border: 1px solid #000;
|
||||
box-shadow: 10px 10px 5px #444;
|
||||
-moz-box-shadow: 10px 10px 5px #444;
|
||||
-webkit-box-shadow: 10px 10px 5px #444;
|
||||
}
|
||||
|
||||
div.help-document ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.help-document p {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
div.help-document ul li {
|
||||
border-top: 8px solid transparent;
|
||||
}
|
||||
|
||||
div.help-document ol li {
|
||||
border-top: 4px solid transparent;
|
||||
}
|
||||
|
||||
div.help-document li p {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
div.help-document li p.paragraph {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.help-document h1 {
|
||||
width: 100%;
|
||||
font-size: 130%;
|
||||
color: #003366;
|
||||
margin: 0.6em 0 0 0;
|
||||
border-bottom: 2px solid #024;
|
||||
}
|
||||
|
||||
div.help-document div.header h1 img {
|
||||
margin: 0 0.5em -0.25em 0;
|
||||
}
|
||||
|
||||
div.help-document h1 a { text-decoration: none; }
|
||||
div.help-document h1 a:link { text-decoration: none; }
|
||||
div.help-document h1 a:visited { text-decoration: none; }
|
||||
div.help-document h1 a:hover { text-decoration: none; }
|
||||
div.help-document h1 a:active { text-decoration: none; }
|
||||
|
||||
div.help-document h1.title {
|
||||
font-size: 150%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
div.help-document h2 {
|
||||
width: 100%;
|
||||
font-size: 110%;
|
||||
color: #003366;
|
||||
margin: 12px 0 0 0;
|
||||
border-bottom: 1px solid #069;
|
||||
}
|
||||
|
||||
div.help-document h3 {
|
||||
width: 100%;
|
||||
font-size: 105%;
|
||||
color: #003366;
|
||||
margin: 8px 0 0 0;
|
||||
}
|
||||
|
||||
|
||||
div.help-document ul {
|
||||
margin-top: 4px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
div.help-document pre {
|
||||
padding: 5px 5px 5px 20px;
|
||||
background-color: #DDDDFF;
|
||||
color: #333333;
|
||||
line-height: 120%;
|
||||
border: 1px solid #ac9;
|
||||
font-size: 90%;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
div.help-document pre.literal-block {
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
|
||||
div.help-document tt {
|
||||
background-color: #DDDDFF;
|
||||
padding: 0 1px 0 1px;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
div.help-document span.pre {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
div.help-document a.display {
|
||||
display: block;
|
||||
margin: 10px 0 20px 40px;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
|
||||
/* Style warning blocks (partially from Sphinx) */
|
||||
div.help-document div.note,
|
||||
div.help-document div.hint,
|
||||
div.help-document div.warning,
|
||||
div.help-document div.important
|
||||
{
|
||||
border: 1px solid #666;
|
||||
width: 80%;
|
||||
margin: 4px 10px 4px 20px;
|
||||
padding: 6px 6px 2px 6px;
|
||||
}
|
||||
div.help-document div.warning {
|
||||
background-color: #ffe4e4;
|
||||
border: 1px solid #f66;
|
||||
}
|
||||
div.help-document div.important {
|
||||
background-color: #e4ffe4;
|
||||
border: 1px solid #6f6;
|
||||
}
|
||||
div.help-document div.note,
|
||||
div.help-document div.hint {
|
||||
background-color: #DDF;
|
||||
border: 1px solid #66F;
|
||||
}
|
||||
|
||||
div.help-document p.admonition-title {
|
||||
display: inline;
|
||||
font-weight: bold;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
div.help-document p.admonition-title:after {
|
||||
content: ":";
|
||||
}
|
||||
|
||||
/* -- topics (from Sphinx) ------------------------------ */
|
||||
div.help-document div.topic {
|
||||
border: 1px solid #ccc;
|
||||
padding: 7px 7px 0 7px;
|
||||
margin: 10px 0 10px 0;
|
||||
}
|
||||
div.help-document p.topic-title {
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
|
||||
div.help-document div#contents {
|
||||
margin: 0.5em 0 1em 1em;
|
||||
background-color: #BBBBFF;
|
||||
border: 1px solid #003366;
|
||||
width: 32em;
|
||||
}
|
||||
|
||||
|
||||
div.help-document ul,
|
||||
div.help-document ol {
|
||||
padding-left: 1.5em;
|
||||
margin: 0.2em 0 0.5em 0;
|
||||
}
|
||||
|
||||
div.help-document div#contents ul,
|
||||
div.help-document div#contents ol {
|
||||
margin: 6px 0 0 0;
|
||||
padding: 0 0.5em 0.5em 2em;
|
||||
}
|
||||
|
||||
div.help-document div#contents p.topic-title {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Fix some margins */
|
||||
|
||||
div.help-document div#contents li {
|
||||
margin: 0;
|
||||
padding: 0 0 4px 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.help-document dl.docutils dt {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.help-document dl.docutils dd {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.help-document blockquote {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div.help-document .first {
|
||||
margin-top: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
div.help-document p.last {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
div.help-document .noindent {
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
div.help-document .float-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
div.help-document div.figure {
|
||||
margin-left: 50px;
|
||||
}
|
||||
|
||||
div.help-document div.width50 { width: 50%; }
|
||||
div.help-document div.width100 { width: 100%; }
|
||||
|
||||
div.help-document p.caption {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
font-size: 95%;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
div.help-document div.small-figure {
|
||||
margin-left: 70px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
div.help-document div.small-figure p.caption {
|
||||
margin-left: 10px;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
div.help-document table.permissions {
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
border: 1;
|
||||
cellspacing: 0;
|
||||
cellpadding: 2px;
|
||||
background: transparent;
|
||||
border-collapse:collapse;
|
||||
}
|
||||
|
||||
div.help-document table#permissions {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
div.help-document table#permissions th,
|
||||
div.help-document table#permissions td {
|
||||
background: transparent;
|
||||
padding: 2px 4px 2px 4px;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
div.help-document table#permissions th {
|
||||
background-color: #DDD;
|
||||
font-size: 105%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.help-document div.hide-title p.admonition-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Color the links (including sections) */
|
||||
div.help-document a:link { color : #003366; text-decoration: none; }
|
||||
div.help-document a:visited { color : #003366; text-decoration: none; }
|
||||
div.help-document a:hover { color : #FF0000; text-decoration: none; }
|
||||
div.help-document a:active { color : #003366; text-decoration: none; }
|
||||
|
||||
|
||||
|
||||
5
media/com_attachments/css/attachments_hide.css
Normal file
5
media/com_attachments/css/attachments_hide.css
Normal file
@ -0,0 +1,5 @@
|
||||
/* Hide unreplaced attachments token */
|
||||
|
||||
span.hide_attachments_token {
|
||||
display: none;
|
||||
}
|
||||
255
media/com_attachments/css/attachments_list.css
Normal file
255
media/com_attachments/css/attachments_list.css
Normal file
@ -0,0 +1,255 @@
|
||||
/* Styles for lists of attachments */
|
||||
|
||||
#main div.attachmentsContainer,
|
||||
div.attachmentsContainer {
|
||||
clear: both;
|
||||
margin: 0 0 0.5em 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table,
|
||||
div.attachmentsList table {
|
||||
background: transparent;
|
||||
border: 1px solid #C0C0C0;
|
||||
clear: both;
|
||||
font-size: 90%;
|
||||
font-weight: bold;
|
||||
line-height: 160%;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
#main div.attachmentsList caption,
|
||||
div.attachmentsList caption {
|
||||
font-size: 110%;
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
#main div.attachmentsList thead tr,
|
||||
div.attachmentsList thead tr {
|
||||
background-color: #DADADA;
|
||||
}
|
||||
|
||||
#main div.attachmentsList tbody,
|
||||
div.attachmentsList tbody {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#main div.attachmentsList tbody tr,
|
||||
div.attachmentsList tbody tr {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#main div.attachmentsList tbody tr.odd,
|
||||
#main div.attachmentsList table tbody tr.odd td,
|
||||
div.attachmentsList tbody tr.odd,
|
||||
div.attachmentsList table tbody tr.odd td
|
||||
{
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#main div.attachmentsList tbody tr.even,
|
||||
#main div.attachmentsList tbody tr.even td,
|
||||
div.attachmentsList tbody tr.even td,
|
||||
div.attachmentsList tbody tr.even
|
||||
{
|
||||
background-color: #EEE;
|
||||
}
|
||||
|
||||
#main div.attachmentsList tr.unpublished,
|
||||
#main div.attachmentsList tr.unpublished td,
|
||||
div.attachmentsList tr.unpublished,
|
||||
div.attachmentsList tr.unpublished td
|
||||
{
|
||||
background-color: #AAA;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table thead th,
|
||||
div.attachmentsList table thead th {
|
||||
vertical-align: middle;
|
||||
background: transparent;
|
||||
border: 1px solid #D0D0D0;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table tbody td,
|
||||
div.attachmentsList table tbody td {
|
||||
background: transparent;
|
||||
vertical-align: middle;
|
||||
padding: 1px 3px 1px 3px;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table tbody tr.even td,
|
||||
div.attachmentsList table tbody tr.even td {
|
||||
background-color: #EEE;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table tbody tr.unpublished td,
|
||||
div.attachmentsList table tbody tr.unpublished td {
|
||||
background-color: #AAA;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
#main div.attachmentsList table a,
|
||||
div.attachmentsList table a {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table img,
|
||||
div.attachmentsList table img {
|
||||
vertical-align: text-bottom;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#main div.attachmentsList table a.modal-button,
|
||||
div.attachmentsList table a.modal-button {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.attachmentsList table td.at_edit a.modal-button {
|
||||
float: none;
|
||||
/* display: inline; */
|
||||
}
|
||||
|
||||
div.attachmentsList table td.at_edit a.modal-button img {
|
||||
float: none;
|
||||
/* display: inline; */
|
||||
}
|
||||
|
||||
#main div.attachmentsList img.link_overlay,
|
||||
div.attachmentsList img.link_overlay {
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
#main div.attachmentsList a.at_icon,
|
||||
div.attachmentsList a.at_icon {
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
div.attachmentsList a.at_icon:link { text-decoration: none; }
|
||||
div.attachmentsList a.at_icon:visited { text-decoration: none; }
|
||||
div.attachmentsList a.at_icon:hover { text-decoration: none; color: #F00; background: transparent; }
|
||||
div.attachmentsList a.at_icon:active { text-decoration: none; }
|
||||
|
||||
div.attachmentsList a.at_url { background: none; background-color: transparent; }
|
||||
div.attachmentsList a.at_url:link { text-decoration: none; }
|
||||
div.attachmentsList a.at_url:visited { text-decoration: none; }
|
||||
div.attachmentsList a.at_url:hover { text-decoration: underline; color: #F00; background: transparent; }
|
||||
div.attachmentsList a.at_url:active { text-decoration: none; }
|
||||
|
||||
div.attachmentsList th.at_filename,
|
||||
div.attachmentsList td.at_filename { text-align: left; }
|
||||
|
||||
div.attachmentsList td.at_file_size { text-align: right; }
|
||||
|
||||
div.attachmentsList th.at_downloads { text-align: center; }
|
||||
div.attachmentsList td.at_downloads { text-align: center; }
|
||||
|
||||
div.attachmentsList th.at_edit { text-align: center; }
|
||||
div.attachmentsList td.at_edit { text-align: center; background: transparent; }
|
||||
|
||||
|
||||
/* Style for the 'Add Attachment' link */
|
||||
|
||||
#main div.addattach,
|
||||
div.addattach {
|
||||
margin-top: 4px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
||||
div.addattach img,
|
||||
div.addattach a img {
|
||||
background: transparent;
|
||||
padding-right: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.addattach a {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.addattach a:hover {
|
||||
background: transparent;
|
||||
color: #F00;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.addattach a img { vertical-align: text-bottom; }
|
||||
|
||||
div.addattach a.at_icon { background: transparent; border-width: 0; }
|
||||
div.addattach a.at_icon:link { text-decoration: none; }
|
||||
div.addattach a.at_icon:visited { text-decoration: none; }
|
||||
div.addattach a.at_icon:hover { text-decoration: none; background: transparent; }
|
||||
div.addattach a.at_icon:active { text-decoration: none; }
|
||||
|
||||
div.addattach a { background: transparent; border-width: 0; }
|
||||
div.addattach a:link { color: red; text-decoration: none; }
|
||||
div.addattach a:visited { color: red; text-decoration: none; }
|
||||
div.addattach a:hover { color: red; text-decoration: underline; color: #F00; background: transparent; }
|
||||
div.addattach a:active { color: red; text-decoration: none; }
|
||||
|
||||
div.addattach a.modal-button {
|
||||
background: transparent;
|
||||
border-width: 0 !important;
|
||||
padding: 2px !important;
|
||||
}
|
||||
div.addattach a.modal-button:link { background: transparent; }
|
||||
div.addattach a.modal-button:visited { background: transparent; }
|
||||
div.addattach a.modal-button:hover { color: #F00; background: transparent; }
|
||||
div.addattach a.modal-button:active { background: transparent; }
|
||||
|
||||
|
||||
/* ---- Misc ----- */
|
||||
|
||||
div#main div.requestLogin h1 {
|
||||
color: #135cae;
|
||||
font-size: 150%;
|
||||
line-height: 150%;
|
||||
}
|
||||
|
||||
div#main div.requestLogin h2 {
|
||||
margin: 0;
|
||||
padding: 4px 0 0 20px;
|
||||
font-size: 100%;
|
||||
line-height: 100%;
|
||||
}
|
||||
|
||||
div#main div.requestLogin h2 a {
|
||||
font-size: 100%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Styles for warnings */
|
||||
div.uploadAttachmentsPage div.warning
|
||||
{
|
||||
margin-left: 20px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
div.uploadAttachmentsPage div.warning h1 {
|
||||
line-height: normal;
|
||||
font-size: 200%;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.uploadAttachmentsPage div.warning h2 {
|
||||
line-height: normal;
|
||||
font-size: 150%;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Make sure the table background is white in forms in the back end */
|
||||
form.attachmentsBackend + div.attachmentsList table {
|
||||
background-color: #FFF;
|
||||
}
|
||||
73
media/com_attachments/css/attachments_list_rtl.css
Normal file
73
media/com_attachments/css/attachments_list_rtl.css
Normal file
@ -0,0 +1,73 @@
|
||||
/* Styles for lists of attachments */
|
||||
|
||||
div.attachmentsList table
|
||||
{
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
div.attachmentsList caption
|
||||
{
|
||||
font-family: Times New Roman, Arial;
|
||||
font-size: 130%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.addattach img {
|
||||
padding-right: auto;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
div.attachmentsList img#link {
|
||||
margin-right: -16px;
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
div.attachmentsList a.at_icon {
|
||||
padding-right: auto;
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
div.attachmentsList td.at_file_size { text-align: left; }
|
||||
|
||||
/* Styles for the upload page (move to attachments2.css?) */
|
||||
div.uploadAttachmentsPage {
|
||||
margin-left: auto;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
/* For the link to change the parent */
|
||||
|
||||
a.changeButton {
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* Styles for upload form */
|
||||
|
||||
form.attachments {
|
||||
margin-left: auto;
|
||||
margin-right: -2px;
|
||||
}
|
||||
|
||||
|
||||
form.attachments div.formWarning {
|
||||
padding-left: auto;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/* Styles for warnings */
|
||||
div.warning {
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
/* Styles for delete warnings */
|
||||
div.deleteWarning {
|
||||
margin-left: auto;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.at_url
|
||||
{
|
||||
font-family: Times New Roman, Arial;
|
||||
}
|
||||
7
media/com_attachments/css/attachments_quickicon.css
Normal file
7
media/com_attachments/css/attachments_quickicon.css
Normal file
@ -0,0 +1,7 @@
|
||||
/* Quickicon rules */
|
||||
|
||||
div.cpanel div#plg_quickicon_attachment span {
|
||||
margin-left: 6px; /* force line break */
|
||||
margin-right: 6px;
|
||||
line-height: 115%;
|
||||
}
|
||||
1
media/com_attachments/css/index.html
Normal file
1
media/com_attachments/css/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
@ -0,0 +1,17 @@
|
||||
div.button2-left > div.insert_attachments_token {
|
||||
background: url(../images/insert_attachments_token_button.png) no-repeat scroll 100% 0;
|
||||
}
|
||||
|
||||
div#editor-xtd-buttons div.btn-toolbar i.icon-insert_attachments_token {
|
||||
background: url(../images/insert_attachments_token_button_small.png) no-repeat scroll 100% 0;
|
||||
vertical-align: middle;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
|
||||
div#editor-xtd-buttons div.btn-toolbar i.icon-insert_attachments_token_frontend {
|
||||
background: url(../images/insert_attachments_token_button_small.png) no-repeat scroll 100% 0;
|
||||
vertical-align: middle;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
.button2-left .insert_attachments_token {
|
||||
background: url(../images/insert_attachments_token_button_rtl.png) 0 0 no-repeat;
|
||||
}
|
||||
|
||||
div#editor-xtd-buttons div.btn-toolbar i.icon-insert_attachments_token {
|
||||
background: url(../images/insert_attachments_token_button_small_rtl.png) 0 0 no-repeat;
|
||||
vertical-align: middle;
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
}
|
||||
1
media/com_attachments/index.html
Normal file
1
media/com_attachments/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
18
media/com_attachments/js/attachments_caching.js
Normal file
18
media/com_attachments/js/attachments_caching.js
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Include CSS via Javascript
|
||||
*
|
||||
* Adapted from: http://snippets.dzone.com/posts/show/4554
|
||||
*
|
||||
* By Jonathan Cameron
|
||||
*
|
||||
* @param css_url string the URL/path to the CSS stylesheet file
|
||||
*/
|
||||
|
||||
function includeCSS(css_url) {
|
||||
var css_link = document.createElement('link');
|
||||
css_link.type = 'text/css';
|
||||
css_link.rel = 'stylesheet';
|
||||
css_link.href = css_url;
|
||||
css_link.media = 'screen';
|
||||
document.body.appendChild(css_link);
|
||||
}
|
||||
50
media/com_attachments/js/attachments_refresh.js
Normal file
50
media/com_attachments/js/attachments_refresh.js
Normal file
@ -0,0 +1,50 @@
|
||||
/**
|
||||
* Define Javascript function for refreshing attachments lists
|
||||
*
|
||||
* Copyright (C) 2010-2016 Jonathan M. Cameron, All Rights Reserved
|
||||
* License: http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
|
||||
*
|
||||
* By Jonathan Cameron
|
||||
*
|
||||
* @param siteURL string the site base URL for the request
|
||||
* @param ptype string parent_type for the attachments list parent
|
||||
* @param pentity string parent_entity for the attachments list parent
|
||||
* @param pid integer parent_id for the attachments list parent
|
||||
* @param lang the current language ('' if not specified)
|
||||
* @param from string the 'from' clause to pass in the request
|
||||
*/
|
||||
|
||||
function refreshAttachments(siteUrl, ptype, pentity, pid, lang, from) {
|
||||
var id = "attachmentsList_" + ptype + "_" + pentity + "_" + pid,
|
||||
alist = document.getElementById(id),
|
||||
url = siteUrl + "/index.php?option=com_attachments&task=attachmentsList";
|
||||
url += "&parent_id=" + pid;
|
||||
url += "&parent_type=" + ptype + "&parent_entity=" + pentity;
|
||||
url += "&lang=" + lang;
|
||||
url += "&from=" + from + "&tmpl=component&format=raw";
|
||||
if (!alist) {
|
||||
alist = window.parent.document.getElementById(id);
|
||||
}
|
||||
if (!alist) {
|
||||
id = "attachmentsList_" + ptype + "_default_" + pid;
|
||||
alist = window.parent.document.getElementById(id);
|
||||
}
|
||||
new window.Request({
|
||||
url: url,
|
||||
method: 'get',
|
||||
onComplete: function (response) {
|
||||
|
||||
// Refresh the attachments list
|
||||
alist.innerHTML = response;
|
||||
|
||||
// Remove any old click events (since they are for a deleted/updated SqueezeBox)
|
||||
$$('a.modal-button').removeEvents('click');
|
||||
|
||||
// Since the html has been replaced, we need to reconnect the modal button events
|
||||
window.SqueezeBox.initialize({});
|
||||
window.SqueezeBox.assign($$('a.modal-button'), { parse: 'rel' });
|
||||
}
|
||||
}).send();
|
||||
};
|
||||
|
||||
|
||||
1
media/com_attachments/js/index.html
Normal file
1
media/com_attachments/js/index.html
Normal file
@ -0,0 +1 @@
|
||||
<html><body bgcolor="#FFFFFF"></body></html>
|
||||
Reference in New Issue
Block a user