Новости Joomla

SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla

SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla

👩‍💻 SW JProjects v.2.5.0 - компонент каталога цифровых проектов на Joomla.Компонент - менеджер цифровых проектов для Joomla! CMS. Компонент обеспечивает создание каталога цифровых проектов и предоставляет возможность скачивания, в том числе с использованием лицензионных ключей.👩‍💻 v.2.5.0. Что нового?Схемы структур данных для серверов обновлений. Теперь с SW JProjects вы может создавать сервер обновлений не только для расширений Joomla, но и свои собственные. Например, вам нужно, чтобы структура данных сервера обновлений была другая и формат должен быть, например, не XML, а JSON. Формирование структуры данных для сервера обновлений расширений Joomla вынесено в отдельный плагин. Вы можете создать свой собственный плагин и реализовать в нём нужную вам структуру данных, добавив или наоборот исключив отображаемые данные. Сервер обновлений в компоненте по-прежнему отображает информацию о списке проектов и их версиях, о конкретном проекте и его changelog.Можно выбрать схему данных сервера обновлений глобально для всего компонента, выбрать другую схему данных для категории проектов, а так же выбрать схему в каждом проекте.

Разработчикам в качестве образца можно посмотреть плагин схемы данных для Joomla в составе компонента или же плагин-образец JSON-схемы на GitHub.
Группа плагинов swjprojects. Для нужд компонента создана группа плагинов swjprojects. В частности, в этой группе находится плагин структуры данных Joomla расширений для сервера обновлений.Изменение языковых констант. Изменены некоторые языковые константы в панели администратора. Если вы делали переопределение констант - переопределите их снова.👩‍💻 Joomla 6. Внесены изменения для корректной установки и работы компонента на Joomla 6. Компонент успешно протестирован на Joomla 6-beta2.Минимальная версия Joomla - 5. Подняты минимальные системные требования: Joomla 5.0.0 и PHP 8.1.
- Страница расширения👉 Плагин-образец кастомной JSON-схемы данных для сервера обновлений на GitHub.- GitHub расширения- Документация на GitHub- Joomla Extensions Directory#joomla #расширения

Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод...

Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод...

👩‍💻 Как триггерить события для плагинов на манер Joomla 5+?В Joomla 6 должны удалить метод triggerEvent(), с помощью которого раньше вызывались события для плагинов. Теперь чтобы в своём коде вызвать событие для плагина и получить от него результаты нужно:- создать объект класса события- передать в него параметры

use Joomla\CMS\Event\AbstractEvent;use Joomla\CMS\Factory;use Joomla\CMS\Plugin\PluginHelper;// Грузим плагины нужных группPluginHelper::importPlugin('system');// Создаём объект события$event = AbstractEvent::create('onAfterInitUniverse', [    'subject' => $this,    'data'    => $data, // какие-то данные    'article' => $article, // ещё материал вдовесок    'product' => $product, // и товаров подвезли]);// Триггерим событиеFactory::getApplication()->getDispatcher()->dispatch(    $event->getName(), // Тут можно строку передать 'onAfterInitUniverse'    $event);// Получаем результаты// В случае с AbstractEvent это может быть не 'result',// а что-то ещё - куда сами отдадите данные.// 2-й аргумент - значение по умолчанию, // если не получены результаты$results = $event->getArgument('result', []);
Плюсы такого подхода - вам не нужно запоминать порядок аргументов и проверять их наличие. Если вы написали свой класс события, то в плагине можно получать аргументы с помощью методов $event->getArticle(), $event->getData(), $event->getProduct() и подобными - реализуете сами под свои нужды. Если такой класс события написали, то создаёте экземпляр своего класса события и укажите его явно в аргументе eventClass
use Joomla\Component\MyComponent\Administrator\Event\MyCoolEvent;$event = MyCoolEvent::create('onAfterInitUniverse', [    'subject'    => $this,    'eventClass' => MyCoolEvent::class, // ваш класс события    'data'       => $data, // какие-то данные    'article'    => $article, // ещё материал вдовесок    'product'    => $product, // и товаров подвезли]);
Ожидаемо, что класс вашего события будет расширять AbsractEvent или другие классы событий Joomla.🙁 Есть неприятный нюанс - нельзя просто так вызывать событие и ничего не передать в аргументы. Аргумент subject обязательный. Но если вы всё-таки не хотите туда ничего передавать - передайте туда пустой stdClass или объект Joomla\registry\Registry.
@joomlafeed#joomla #php #webdev

0 Пользователей и 1 Гость просматривают эту тему.
  • 7 Ответов
  • 5054 Просмотров
*

sainttoxa

  • Новичок
  • 3
  • 0 / 0
HTML {
height: 100%;
margin-bottom: 0px;
}

form {
margin: 0;
padding: 0;

}
img,table {
border: 1;
}

body {
background: #00ff0c;
font-family: Arial;
line-height: 1.3em;
margin: 0;
padding: 0;
font-size: 12px;
color: #333;
}

.body_bg {
background: #fefefe;
background-image: url(../images/body_bg.jpg);
background-repeat: repeat-x;
margin-top: 0px;
margin-right: 0;
margin-bottom: 0;
   margin-left: 0;
}

   

body.contentpane {

   background: #f8f8f8;

}

/* a links */

a:link, a:visited {

   outline: none;

   text-decoration: underline;

   font-weight: normal;

   color: #888888;

}



a:hover {

   text-decoration: none;

   font-weight: normal;

   color: #888888;

}



table.contentpane ul li, div.nopad ul {

   list-style-image: url(../images/li.png);

}

input.button, .validate  {

   background: #999999;

   border: 0;

   font-size: 10px;

   color: #fff;

   padding: 3px 4px;

   cursor: pointer;

}



.search input.button {

   display: none;

}



input.button:hover, .validate:hover  {

   

}





p {

   margin-top: 0;

   margin-bottom: 5px;

   text-align: left;

}



.inputbox, #email {

   border: 1px solid #999999;

   padding: 2px;

}

.inputbox:hover {



}



#modlgn_remember  {

   border:0;

}



div.module div div div form#form-login {

   width: 160px;

}



#search {

   float: left;

   padding: 0;

   margin: 0;

}



#search div.module div div div form {

   padding: 0;

   margin: 0;

}



#search div.module_menu div div div div.search, #search  div.module div div div div.search {

   text-align: left;

   padding: 0;

   margin: 0;

   background: url(../images/search_bg.png) top left no-repeat;

   height: 34px;

}



#search div.module_menu div div div div.search1, #search  div.module div div div div.search1 {

   float: right;

   text-align: left;

   padding: 0;

   margin: 0;

   background: url(../images/search_bg.png) top right no-repeat;

   border: none;

}



#search div.module_menu div div div div.search1 input, #search  div.module div div div div.search1 input {

   float: right;

   line-height: 13px;

   font-size: 12px;

   color: #798950;

   margin:   0;

   width: 115px;

   height: 20px;   

   padding: 5px 5px 0 5px;

   border: none;

   text-transform: capitalize;

   background:none;

}   







#search .search .inputbox {

   line-height: 14px;

   font-size: 12px;

   color: #fff;

   margin:   0;

   width: 154px;

   height: 14px;   

   padding: 7px 0px 0 5px;

   border: none;

   text-transform: capitalize;

   background:none;

}



#search .search .button {

   text-align: center;

   text-align: center;

   background: transparent url(../images/search_btn_bg.png) top center no-repeat;

   font-size: 11px;

   color: #798950;

   margin: 0 0 0 10px;

   padding:0 0 2px 0;

   width: 65px;

   height: 27px;

   border:none;

   line-height: 26px;

}







/*****************************************/

/*** Template specific layout elements ***/

/*****************************************/

#page_bg {

   width: 940px;

   height: 100%;

   padding: 1px;

   margin: 0 auto;

   background: #454851;

}



#page_bg_1 {

   width: 940px;

   height: 100%;

   padding: 0;

   margin: 0 auto;

   background: #fff;

}

div.center {

   text-align: left;

   margin: 0 auto;

   padding: 0;

   width: 940px;

}





div#wrapper {

   padding: 0;

   margin: 0 auto;

}



#header {

   height: 236px;

   background: transparent url(../images/header_bg_1.jpg) top left no-repeat;

   margin: 0 auto;

   width: 930px;

   padding: 15px 10px 0 0;

}



#header_1 {

   background: transparent url(../images/header_bg.jpg) top center no-repeat;

   height: 251px;

}





#header_main .hleft {

   float: left;

   width: 474px;

   height: 276px;

   background: transparent url(../images/header_cinelogo.png) top left no-repeat;

   padding: 0;

}



#header_main .hright {

   float: left;

   width: 466px;

   height: 256px;

   padding: 10px 0 0 10px;

}



#header_main .hright  .hwr-left {

   float: left;

   width: 228px;

}



#header_main .hright  .hwr-right {

   float: right;

   width: 228px;

      

}



#header_main .hright  .hwr-right h3 , #header_main .hright  .hwr-left h3 {

   font-family: Arial;

   width: 218px;   

   color: #798950; /*color: #4CAFC6;*/

   font-size: 13px;

   height: 30px;

   text-decoration: none;

   text-align: left;

   padding: 0 0 0 10px;

   background: url(../images/latest_h3.png) top left no-repeat;

   font-weight: bold;

   line-height: 24px;

   margin: 0

}





#header_main .hright .hwr-left div.module_menu div div div, #hw-right .hwr-left div.module div div div,#hw-right .hwr-left div.module_menu div div, #hw-right .hwr-left div.module div div {

   padding: 0;

   margin: 0;

   background: none;   

}



#header_main .hright .hwr-right div.module_menu div div div, #header_main .hright .hwr-right div.module div div div,#header_main .hright .hwr-right div.module_menu div div, #header_main .hright .hwr-right div.module div div {

   padding: 0;

   margin: 0;

   background: none;   

}



#header_main .hright .hwr-right div.module_menu div div div,#header_main .hright .hwr-right div.module div div div, #header_main .hright .hwr-left div.module_menu div div div,#header_main .hright .hwr-left div.module div div div {

   text-align: left;

}



#header_main .hright .hwr-right div.module div div div ul, #header_main .hright .hwr-left div.module div div div ul {

   padding: 5px 5px 0 25px;   

   margin: 0;

}



#header_main .hright .hwr-right div.module div div div ul {

   list-style: url(../images/arrow_tleft.png);

}



#header_main .hright .hwr-left div.module div div div ul {

   list-style: url(../images/arrow_tright.png);

}



#header_main .hright .hwr-right div.module div div div ul, #header_main .hright .hwr-left div.module div div div ul {

   color: #1852D2;

}

#header_main .hright .hwr-right div.module div div div ul li a, #header_main .hright .hwr-left div.module div div div ul li a {

   color: #4E1703;

   text-decoration: none;

   font-size: 11px;

}



#header_main .hright .hwr-right div.module div div div ul li a:hover , #header_main .hright .hwr-left div.module div div div ul li a:hover {

   color: #4E1703;

   text-decoration: underline;

}



#newsflash {

   font-size: 11px;

   height: 130px;

   overflow: hidden;

}



#newsflash div.module_menu div div div, #newsflash div.module div div div {

   text-align: justify;

}



#newsflash h3 {

   font-family: Arial;

   width: 456px;   

   color: #798950; /*color: #4CAFC6;*/

   font-size: 13px;

   height: 26px;

   text-decoration: none;

   text-align: left;

   padding: 0 0 0 10px;

   background: url(../images/newsflash_h3.png) top left no-repeat;

   font-weight: bold;

   line-height: 24px;

   margin: 0

}



#content {

   width: 940px;

   margin: 0 auto;

   padding: 1px 0 0 0;

   overflow: hidden;

}



#topw {

   width: 940px;

   height: 57px;

   margin: 0 auto;

   padding: 0;

   background: url(../images/topw_bg.jpg) top left repeat-x;

}



#logo {

   text-align: left;

   padding: 0;

   line-height: 24px;

   text-indent: 35px;
   
   

}



#logo a, #logo a:link, #logo a:hover {

   font-weight: bold;

   font-family: Arial;

   font-size: 24px;

   letter-spacing: 1px;

   color: #fff;

   text-decoration: none;

   outline: none;
   

}





.pill_m {

   float: left;

   text-align: left;

   margin: 0;

   padding: 15px 0 0 0;

   width:940px;

}



#pillmenu {

   text-align: left;

   padding: 0 0 0 10px;

   margin:0 auto;

}



#pillmenu ul {

   margin: 0;

   padding: 0;

   list-style: none;

}



#pillmenu li {

   float: left;

   margin: 0 10px 0 0;

   padding: 0;

   background: url(../images/pillmenu_r_bg.jpg) center right no-repeat;



}



#pillmenu li:hover {



}



#pillmenu li a#active_menu-nav {

   

}



#pillmenu li a {

   font-family: Verdana;

   font-size: 19px;

   float: left;

   display: block;

   line-height: 24px;

   padding: 0 10px 0 10px;

   margin: 0;

   color: #fff;

   text-decoration: none;

   font-weight: bold;

   background: none;

   height: 26px;

   background: url(../images/pillmenu_l_bg.jpg) center left no-repeat;

}



#pillmenu li a:hover {

   text-decoration: underline;

}



div#timedate {

   font-size: 12px;

   font-weight: bold;

   color: #AB4C37;

   text-align: center;

   padding: 0 0 10px 0;   

}



#leftcolumn ,#rightcolumn {

   margin: 0;

   width: 180px;

   float: left;

   padding: 0 0 10px 0;

   text-align: left;

}



div#maincontent {

   float: left;

   width: 580px;

   margin: 0 0 6px 0;

   padding:0;

}



.m1{

   padding: 10px 0 10px 0;

}



.m1_f {


   padding: 10px 0 10px 10px;

}



div#maincontent_full {

   float: left;

   width: 760px;

   margin: 0;

   padding: 0;

}



div.cpathway {

   margin: 0 0 10px 0;

   padding: 0;

   height: 25px;

   background: transparent url(../images/cpathway-right.jpg) bottom right no-repeat;

}



div.cpathway div.cpleft {

   margin: 0;

   padding: 0;

   width: 100%;

   height: 25px;

   background: transparent url(../images/cpathway-left.jpg) bottom left no-repeat;

}



div.cpathway span {

   padding: 0 10px;

   color: #999999;

   line-height: 23px;

   font-size: 11px;

}



div.cpathway span a {

   color: #999999;

}



div.nopad {

   overflow: hidden;

   padding: 0;

}

div.nopad form#jForm p, div.nopad form#jForm  div#navigation {

   padding: 5px 0 0 10px;

}

div.nopad ul {

   clear: both;

}



td.middle_pad {

   width: 20px;

}



#banner_l {

   text-align: left;

   padding: 0 0 0 24px;

}



#footer {

   margin: 0 auto;

   text-align: center;

   width: 960px;

   height: 54px;

}



#footer p {

   height: 20px;

   text-align: right;

   padding: 10px  0 0;

   color: #666666;

}



/*****************************************/

/*** Joomla! specific content elements ***/

/*****************************************/



div.offline {

   background: #fffebb;

   width: 100%;

   position: absolute;

   top: 0;

   left: 0;

   font-size: 1.2em;

   padding: 5px;

}



/* headers */

div.componentheading {

   height: 22px;

   padding: 0 0 0 10px;

}

table.blog {

   

}

h1 {

   padding: 0;

   font-family: Arial;

   font-size: 1.5em;

   font-weight: bold;

   vertical-align: middle;

   color: #a6241b;

   text-align: left;

   width: 100%;

}



h2, .contentheading {

   padding: 0;

   font-family: Arial;

   font-size: 13px;

   vertical-align: middle;

   color: #5a5a5a;

   text-align: left;

   font-weight: bold;

}



table.contentpaneopen h3 {

   margin-top: 25px;

}



h4 {

   font-family: Arial;

   color: #333;

}



   h3, .componentheading, table.moduletable th, legend {
   margin: 0;
   font-family: Arial;
   font-size: 16px;
   text-align: left;
   color: #b1291e;
   padding: 0;
   font-weight: bold;
}

/* small text */

.small {

   font-size: 10px;

   color: #454545;

   font-weight: normal;

   text-align: left;

}



.modifydate {

   height: 20px;

   vertical-align: bottom;

   font-size: 10px;

   color: #999999;

   font-weight: normal;

   text-align: right;

}



.createdate {

   height: 20px;

   vertical-align: top;

   font-size: 10px;

   color: #454545;

   font-weight: normal;

   vertical-align: top;

   padding-top: 0px;

}



a.readon {

   display: block;

   float: right;

   text-decoration: none;

   line-height: 14px;

   font-size: 10px;

   text-decoration: none;

   color: #888888;

   border-bottom: solid 1px #888888;

}



a.readon:hover {

   color: #888888;

   text-decoration: none;

   border-bottom: solid 1px #fff;



}



/* form validation */

.invalid { border-color: #ff0000; }

label.invalid { color: #ff0000; }





/** overlib **/



.ol-foreground {

   background-color: #f1f1f1;

   color: #333;

}



.ol-background {

   background-color: #f1f1f1;

   color: #333;

}



.ol-textfont {

   font-family: Arial;

   font-size: 10px;

}



.ol-captionfont {

   font-family: Arial;

   font-size: 12px;

   color: #f6f6f6;

   font-weight: bold;

}

.ol-captionfont a {

   background-color: #f1f1f1;

   color: #333;

   text-decoration: none;

   font-size: 12px;

}



.ol-closefont {}



/* menu links */

a.mainlevel:link, a.mainlevel:visited {

   padding-left: 5px;

   margin: 0;

   line-height: 18px;

   text-decoration: none;

   color: #2EB6F4;

   font-weight: bold;

   font-size: 11px;

}



a.mainlevel:hover {



}



/* spacers */

span.article_separator {

   display: block;

   height: 20px;

}



.article_column {



}



.column_separator {

   

}



td.buttonheading {

   text-align: right;

   width: 0;

}

.clr {

   clear:both;
   text-align: center;
   margin-right: auto;
   margin-left: auto;
}

.footer {
   text-align: center;
   margin-right: auto;
   margin-left: auto;
   padding: 10px;
   border-top-width: 1px;
   border-top-style: solid;
   border-top-color: #000000;
}



table.blog span.article_separator {

   display: block;

   height: 20px;

}







/* table of contents */

table.contenttoc {

  margin: 5px;

  border: 1px solid #ccc;

  padding: 5px;

}



table.contenttoc td {

  padding: 0 5px;

}





/* content tables */

td.sectiontableheader {

  color: #333;

  font-weight: bold;

  padding: 4px;

  border-bottom: 1px solid #666;

}



tr.sectiontableentry0 td,

tr.sectiontableentry1 td,

tr.sectiontableentry2 td {

  padding: 4px;

}



td.sectiontableentry0,

td.sectiontableentry1,

td.sectiontableentry2 {

  padding: 3px;

  color: #333;

  font-size: 10px;

}





/* content styles */

.contentpaneopen, table.contentpane {

   margin: 0;

   padding: 0;

}



table.contentpane td{

   text-align: centr;

}



table.contentpane td.contentdescription {

   width: 100%;

}



table.contentpane  {

   text-align: centr;

   float: left;

   width: 100%;

   margin: 8px;

}



table.contentpane ul li a .category {

   color: #FF8800;

}



table.contentpane ul li {

   color: #333;

}



table.contentpaneopen {

   margin: 2px 8px;

}



table.contentpaneopen li {

   margin-bottom: 5px;

}



table.contentpaneopen fieldset {

   border: 0;

   border-top: 1px solid #669933;

}



table.contentpaneopen h3 {

   margin-top: 25px;

}



table.contentpaneopen h4 {

   font-family: Arial;

   color: #669933;

}



.highlight {

   background-color: #fffebb;

}



/* module control elements */

table.user1user2 div.moduletable {

   margin-bottom: 0px;

}



div.moduletable, div.module {

  margin-bottom: 25px;

}



div.module_menu, div.module {

   margin: 0;

   padding: 0;

}



div.module_menu div, div.module {

   

}



div.module_menu div div, div.module div div {

   margin: 0 0 15px 0;

   padding: 0;

   background: none /* url(../images/menu_bottom.png) bottom left no-repeat*/;

}



#newsflash div.module_menu div div, #newsflash div.module div div, #search div.module_menu div div, #search div.module div div  {

   background: none;

   padding: 0;

   margin: 0;

}



div.module_menu div div div, div.module div div div{

   margin: 0;

   background: none /*url(../images/menu_top_out.png) top left no-repeat*/;

   text-align: left;

   padding: 0 0 20px 0;

}





div.module_menu div div div div, div.module div div div div {

   background: none;

   padding: 4px 8px;

   text-align: left;

}



div.module div div div form {

   padding: 4px 0 0 4px;

   margin: 0 auto;

   text-align: left;

}



div.module div div div form table td {

   text-align: left;

}



div.module div div div form ul{

   margin: 10px 0 0;

   padding: 0;

   list-style: none;

}



div.module_menu ul {

   list-style: none;

   text-align: left;

   padding: 0;

}



div.module_menu ul li{

   margin: 0;

   padding: 0;

}



div.module_menu ul li a:link, div.module_menu ul li a:visited {

   list-style: none;

   text-align: left;

   padding: 0;

}



div.module_text div div div div  {

   margin:0 auto;

   

}



div.bannergroup_text {

   display:block;

   width:160px;

   background: none /*url(../images/menu_bottom.png) bottom left no-repeat*/;

   padding: 10px 10px 0 10px;

}

.bannerheader {

padding: 0 0 0 6px;

}

#leftcolumn div.module table ,#rightcolumn div.module table {

   margin:0 auto;

}



div.module table.poll {

   width: 160px;

   margin:0 atuo;

}



#leftcolumn div.module table.poll td {

   text-align: left;

}



/* LEFT COL H3 */

#leftcolumn h3, #rightcolumn h3  {    

   font-family: Arial;

   width: 170px;   

   color: #fff; /*color: #798950;*/

   font-size: 12px;

   height: 36px;

   text-decoration: none;

   text-align: left;

   padding: 0 0 0 10px;

   font-weight: bold;

   line-height: 25px;

   margin: 0;

   background: url(../images/h3.png) top left no-repeat;

   

}



#leftcolumn .moduletable_menu, #leftcolumn .moduletable, #leftcolumn .moduletable_text, #leftcolumn .c,

#rightcolumn .moduletable_menu, #rightcolumn .moduletable, #rightcolumn .moduletable_text, #rightcolumn .c {

   margin: 0 0 16px 0;

   padding: 0 0 8px 0;

}



#leftcolumn ul.menu, #rightcolumn ul.menu {

   margin: 0 auto;

   padding: 5px 0 0 14px;

   list-style: none;

   width: 163px;

}



#leftcolumn ul.menu li, #rightcolumn ul.menu li {

   margin: 0;

   padding: 0;

}



#leftcolumn ul.menu li:hover, #rightcolumn ul.menu li:hover {



}



/*LEFT COL LINK*/

#leftcolumn ul.menu li a, #leftcolumn ul.menu li a:link,

#rightcolumn ul.menu li a, #rightcolumn ul.menu li a:link {

   line-height: 18px;

   padding: 0 0 0 15px;

   text-decoration: none;

   font-size: 11px;

      background: url(../images/menu_row.png) center left no-repeat;

   margin: 0;

   height: 18px;

   color: #888888;

   font-weight: bold;

}



#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {

   color: #888888;

   text-decoration: underline;

}



/*LEFT COL CURRENT LINK*/

#leftcolumn ul.menu li#current a, #leftcolumn ul.menu li#current a:link,

#rightcolumn ul.menu li#current a, #rightcolumn ul.menu li#current a:link {

   line-height: 18px;

   padding: 0 0 0 15px;

   text-decoration: underline;

   color: #a6241b;

   font-weight: bold;

   font-size: 11px;

   background: url(../images/menu_row.png) center left no-repeat;

   margin: 0;

   height: 18px;

}



#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {

   color: #888888;

   text-decoration: underline;

}



/*LEFT COL SUB LINK*/

#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link {

   text-decoration: none;

   color: #666;

   margin: 0 0 0 15px;

   font-size: 11px;

   background: url(../images/menu_row.png) center left no-repeat;

   font-weight: normal;

   display: block;

   line-height: 18px;

   padding: 0 0 0 12px;

   border: none;

   height: 18px;

}



#leftcolumn ul.menu li ul li#current a, #leftcolumn ul.menu li ul li#current a:link, #leftcolumn ul.menu li ul li#current a:visited, #leftcolumn ul.menu li ul li#current a:hover {

   font-size: 11px;

   margin: 0 0 0 15px;

   padding: 0 0 0 12px;

   text-decoration: none;

   border: none;

   color: #333;

   background: url(../images/menu_row.png) center left no-repeat;

   height: 18px;

   line-height: 18px;

}

/*SUBMENU POSITION*/

#leftcolumn ul.menu li#current ul {

   margin: 0;

   padding: 0;

}



#leftcolumn ul.menu li#current ul li {

   margin: 0;

   padding: 0;

}



/*CURRENT SUBMENU POSITION*/

#leftcolumn ul.menu li ul {

   margin: 0;

   padding: 0;

}



#leftcolumn ul.menu li.parent ul li a {

   text-decoration: none;

   color: #666;

   margin: 0 0 0 15px;

   font-size: 11px;

   background: url(../images/menu_row.png) center left no-repeat;

   font-weight: normal;

   display: block;

   line-height: 12px;

   padding: 0 0 0 18px;

   border: none;

   height: 18px;

}



#leftcolumn ul.menu li#current ul li a:hover {

   color: #333;

}



#leftcolumn ul.menu li ul, #rightcolumn ul.menu li ul {

   list-style: none;

}



/* forms */

#leftcolumn .moduletable ul, #rightcolumn .moduletable ul {

   margin: 6px 0;

   padding: 0;

   list-style: none;

}



#leftcolumn .moduletable ul li, #rightcolumn .moduletable ul li {

   margin: 0;

   padding: 0 2px;

}



table.adminform textarea {

  width: 540px;

  height: 400px;

  font-size: 1em;

  color: #000099;

}



form#form-login fieldset {

   border: 0 none;

   margin: 0;

   padding: 0;

}

form#form-login ul li{

   padding: 0;

}



form#form-login ul li a {

   text-align: left;

   padding: 0;

   font-size: 10px;

}



/* thumbnails */

div.mosimage         {  margin: 5px; }

div.mosimage_caption {  font-size: .90em; color: #333; }



div.caption       { padding: 0 10px 0 10px; }

div.caption img   { border: 1px solid #CCC; }

div.caption p     { font-size: .90em; color: #333; text-align: center; }



/* Parameter Table */

table.paramlist {

   margin-top: 5px;

}



table.paramlist td.paramlist_key {

   width: 128px;

   text-align: centr;

   height: 30px;

}



table.paramlist td.paramlist_value {

}



div.message {

   font-family: Arial;

   font-weight: bold;

   font-size : 14px;

   color : #c30;

   text-align: center;

   width: auto;

   background-color: #f9f9f9;

   border: solid 1px #d5d5d5;

   margin: 3px 0px 10px;

   padding: 3px 20px;

}



/* Banners module */



/* Default skyscraper style */

.bannergroup {

}



.banneritem {

}



/* Text advert style */



.banneritem_text {

   padding: 4px 8px;

   font-size: 11px;

}



.bannerfooter_text {

   padding: 8px 20px;

   font-size: 11px;

   text-align: right;

}



/* System Messages */





/* see system general.css */



.pagination span { padding: 2px; }

.pagination a    { padding: 2px; }



/* Polls */

.pollstableborder td {

   text-align: left;

}



/* Frontend Editing*/

fieldset {

   border: 1px solid #ccc;

   margin-top: 15px;

   padding: 15px;

}



legend {

   margin: 0;

   padding: 0 10px;

}



td.key {

   border-bottom:1px solid #eee;

   color: #333;

}



/* Tooltips */

.tool-tip {

   float: left;

   background: #ffc;

   border: 1px solid #D4D5AA;

   padding: 5px;

   max-width: 200px;

}



.tool-title {

   padding: 0;

   margin: 0;

   font-size: 100%;

   font-weight: bold;

   margin-top: -15px;

   padding-top: 15px;

   padding-bottom: 5px;

   background: url(../../system/images/selector-arrow.png) no-repeat;

}



.tool-text {

   font-size: 100%;

   margin: 0;

}



/* System Standard Messages */

/* System Error Messages */

#system-message dd.error ul {

     color: #999;

     background: none;

     border-top: 1px solid #829300;

     border-bottom: 1px solid #829300;

     padding: 0;

     margin: 0;

    list-style: none;

}



/* System Notice Messages */

#system-message dd.notice ul {

     color: #ECA5A7;

     background: none;

     border-top: 1px solid #829300;

     border-bottom: 1px solid #829300;

     padding: 3px;

     margin: 0 0 5px 0;

    list-style-image: none;

}



#system-message dd {

     text-indent: 0;

}



#system-message dd ul {

     list-style: none;

     color: #f00;

     background: none;

     border-top: 1px solid #829300;

     border-bottom: 1px solid #829300;

    list-style-image: none;

}



#system-message {

     margin: 5px auto;

    text-align: center;

    width: 98%;

}







/* ****************************************************************************** */

/* blue */

input, button {

   border: none;

}

/* blue */

input[type="checkbox"], input[type="radio"]{

   background: transparent;

   border: none;

}



/* -------------------------- */

a.sgfooter:link, a.sgfooter:visited {

   color: #fff;

   font-family: Arial;

   text-decoration: none;

}

a.sgfooter:hover {

   color: #fff;

   font-family: Arial;

   text-decoration: none;

}

#sgf {

   font-size: 12px;

   text-align: right;

   width: 100%;

   margin: 0 auto;

   color: #fff;

   font-family: Arial;

}

.sgf {

   text-align: right;

   font-size: 12px;

   font-family: Arial;

   color: #fff;

   text-decoration: none;

}

.sgf1 {

   font-size: 12px;

   font-family: Arial;

   color: #666666;

   text-align: left;

}



a.sglink:link, a.sglink:visited {

   color: #7f98a1;

   font-size: 12px;

   font-family: Arial;

   text-decoration: none;

}

a.sglink:hover {

   color: #7f98a1;

   font-family: Arial;

   text-decoration: none;

   }

#c1 {

   float: left;

}

#c2 {

   float: right;

}
*

chiperok

  • Захожу иногда
  • 100
  • 2 / 0
залей архивом и нормально опиши проблему!
*

sbakur

  • Захожу иногда
  • 169
  • 12 / 0
Поставь плагин для фф FireBug далее посмотри какой стиль относиться к тому что ты хочешь выровнять и добавь туда
Код: css
.***{text-align:center;}
*

chiperok

  • Захожу иногда
  • 100
  • 2 / 0
FireBug рулит!

я просто не могу понять, что и где ему нужно выровнять!
поиском ищи align по CSS файлу и методом подбора подставляй center!
 
*

sainttoxa

  • Новичок
  • 3
  • 0 / 0
да я пробовал поиском - ничего не меняется, даже если все align сделал centr или medle
сами таблицы сделаны все с выравниванием по центру... думаю траблы в CSS
помогите пожалуйста плагин этот установить
*

sainttoxa

  • Новичок
  • 3
  • 0 / 0
залей архивом и нормально опиши проблему!

первый раз написал сюда, ну и не залил архивом - не умничал бы, а ответил, а не знаешь если, дак что флудить.
Объяснение простое - вот CSS - в нем таблицы не выравниваются по центру (как и текст в таблицах)
« Последнее редактирование: 09.02.2010, 10:45:56 от sainttoxa »
*

chiperok

  • Захожу иногда
  • 100
  • 2 / 0
перед тем как писать, нужно читать правила! и не умничай..
какой шаблон? а еще лучше дай ссылку на сайт!
*

Властитель Неизвестности

  • Осваиваюсь на форуме
  • 31
  • 0 / 1
Слушай автор - а ты про спойлеры слышал вообще?! На кой надо на 20 страниц кода писать тут! Голова где? Не проще это поместить в такую удобную маленькую рамочку? А?

Учится Вам надо, но не так.

УЖАС!
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как обернуть текст стилем из Uikit 3?

Автор DeniTornado

Ответов: 3
Просмотров: 7315
Последний ответ 30.10.2024, 09:59:35
от Vastriet
Как отобразить текст только на мобильных, на Пк и планшетах скрыть?

Автор web1

Ответов: 6
Просмотров: 3461
Последний ответ 20.09.2022, 22:14:03
от darkghost
Как адаптировать таблицы под мобильную версию?

Автор PNP

Ответов: 4
Просмотров: 2377
Последний ответ 17.10.2021, 22:59:27
от darkghost
Как выровнять блоки в модуле?

Автор arkady

Ответов: 4
Просмотров: 1246
Последний ответ 14.10.2019, 23:24:14
от AlekVolsk
Выделение таблицы

Автор Leo1986

Ответов: 14
Просмотров: 1140
Последний ответ 10.10.2019, 19:09:08
от dm-krv