![]() |
|
|
DataLife Engine Скачать хаки для DLE, темы для DLE |
![]() |
|
Опции темы | Поиск в этой теме |
![]() |
#1 | |||
Уважаемая личность
![]() ![]()
|
![]() Ребят помогите выдрать панель,точней ява скрипт ну и разместить толком его.
хтмл логина:
<!-- Panel -->
<div style="float: left; margin: 41px 4px 0px 0px;"> <div id="header"> <div id="branding"> <a class="logo" href="http://game-zone.tom.ru/forum" title="Перейти к списку форумов" rel="home" accesskey="1"></a><br> <span class="logo"></span> </div> <div id="user_navigation" class="logged_in"> <a href="http://game-zone.tom.ru/forum/index.php?/user/1-heon/" title="Ваш профиль"><img src="{foto}" alt="{title}" class="photo" height="50" width="50"></a> <div id="user_info"> <p id="user_notifications" class="no-new"> <a id="user_notifications_link" href="{pm-link}" title="Ваши личные сообщения"><small> {new-pm} <span class="hide"> непрочитанных уведомлений</span></small> <img src="{THEME}/images/login/opts_arrow.png" alt=">" id="notify-down-arrow"></a> </p> <p> <span class="hide">Вошли как </span> <a id="user_link" class="ipbmenu" href="http://game-zone.tom.ru/forum/index.php?/user/1-heon/" title="Ваш профиль"><span>Ваш профиль {login}</span> <img src="{THEME}/images/login/opts_arrow.png" alt=">"></a> </p> <ul style="display: none; position: absolute; z-index: 9999;" id="user_link_menucontent" class="boxShadow"> <li style="z-index: 10000;" id="user_profile" class="row1"><a style="z-index: 10000;" href="http://game-zone.tom.ru/forum/index.php?/user/1-heon/" title="Ваш профиль">Профиль</a></li> <li style="z-index: 10000;" id="user_ucp" class="row1"><a style="z-index: 10000;" href="http://game-zone.tom.ru/forum/index.php?app=core&module=usercp" title="Редактировать настройки (подпись, аватар и тп)">Настройки</a></li> <li style="z-index: 10000;" id="user_content" class="row1"><a style="z-index: 10000;" href="http://game-zone.tom.ru/forum/index.php?app=core&module=search&do=user_activity&mid=1" title="Мои публикации">Мои публикации</a></li> <li style="z-index: 10000;" id="user_msg" class="row1"><a style="z-index: 10000;" href="http://game-zone.tom.ru/forum/index.php?app=members&module=messaging" title="Личные сообщения">Личные сообщения <span style="z-index: 10000;" id="new_message">(0 Новых)</span></a></li> <li style="z-index: 10000;" id="user_friends" class="row1"><a style="z-index: 10000;" href="http://game-zone.tom.ru/forum/index.php?app=members&module=profile&section=friends&do=list" title="Друзья" class="manage_friends">Друзья</a></li> <li style="z-index: 10000;" id="user_enemies" class="row1"><a style="z-index: 10000;" href="http://game-zone.tom.ru/forum/index.php?app=core&module=usercp&tab=members&area=ignoredusers" title="Игнорируемые" class="manage_enemies">Игнорируемые</a></li> </ul> <ul id="user_other"> <li><a href="http://game-zone.tom.ru/forum/index.php?app=core&module=global&section=login&do=logout&k=d5df3e14475eb4c6e5b20a88930bdddc">Выход</a></li> <li><a href="http://game-zone.tom.ru/forum/index.php?app=core&module=help" title="Перейти к помощи" rel="help" accesskey="6">Помощь</a></li> </ul> <script type="text/javascript"> if( $('user_link_menucontent') ){ $('user_link_menucontent').hide(); } </script> </div> </div> </div> </div> <!--panel --> css стиль:
/************************************************************************/
/* HEADER */ /* h1, #content_jump { text-indent: -9999px; height: 0px; width: 0px; } #header { position: relative; } #branding { background: transparent; height: 170px; } #admin_bar { background: #2e2e2e url({style_images_url}/gradient_bg.png) repeat-x 50%; color: #d2d2d2; font-size: 0.8em; padding: 7px; height: 14px; } #admin_bar li { color: #767676; padding: 0 3px 0 5px; } #admin_bar li.active, #admin_bar li.active a { color: #fcd2a7; } Navigation */ #primary_nav { background: #444; font-size: 0.95em; border: 1px solid #666; border-bottom: 5px solid #dfd9c3; padding-left: 10px; height: 31px; border-radius: 5px 0 0 0; -moz-border-radius: 5px 0 0 0; -webkit-border-top-left-radius: 5px; } #primary_nav ul li, #primary_nav ul li a { color: #0b336f; /* Забыл какой цвет был с */ text-decoration: none; } #primary_nav ul li { font-size: 0.95em; padding: 8px 8px; margin-left: 6px; } #primary_nav ul li.active { background: transparent url({style_images_url}/tab_left.png) no-repeat top left; font-size: 1.05em; font-weight: bold; padding: 0; margin: -4px 0px auto 5px; position: relative; } #primary_nav ul li.active a { background: transparent url({style_images_url}/tab_right.png) no-repeat top right; padding: 10px 15px 10px 10px; margin-left: 6px; display: block; color: #000; } #primary_nav ul li a { color: #d7cbbf; text-decoration: none; } #primary_nav ul li.active a:hover { color: #644009; } #user_navigation { background: #444; font-size: 0.9em; border-width: 1px; border-style: solid; border-color: #666; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; position: absolute; width: 284px; top: 0px; right: 0px; float: right; z-index: 9999; } #user_navigation .photo { border: 1px solid #666; margin: 6px 10px 6px 6px; float: left; } #user_info { margin-left: 60px; margin-right: 15px; } /* Sign in services icons (Facebook, twitter, etc) */ .services img { margin-top: -2px } #user_navigation p { color: #ddd; margin-top: 6px; white-space: nowrap; } #user_navigation p a { color: #aaa; } #user_navigation #new_msg_count { background-color: #f8b04a; font-weight: bold; font-size: 0.9em; padding: 3px 7px; top: 0px; left: 45px; position: absolute; color: #000; } #user_navigation ul { font-size: 0.88em; margin-top: 4px; } #user_navigation ul a { color: #ded7cd; } #user_navigation ul#user_other { margin-left: 0px; top: 35px; position: absolute; } #user_navigation ul#user_other li { float: left; padding: 0 0 0 8px; } #user_navigation ul#user_link_menucontent { background: #f6f3ee; border: 1px solid #ded7cd; margin-top: 0px; width: 170px; float: right; z-index: 10000; -webkit-box-shadow: rgba(0, 0, 0, 0.58) 0px 12px 25px; box-shadow: rgba(0, 0, 0, 0.58) 0px 12px 25px; } #user_navigation ul#user_link_menucontent li { padding: 1px; float: none; } #user_navigation ul#user_link_menucontent a { color: #111; text-decoration: none; padding: 5px 5px 5px 15px; display: block; } #user_navigation ul#user_link_menucontent a:hover { background: #d7cbbf; } #user_navigation #user_link { background: #000; border: 1px solid #666; padding: 3px 26px 3px 8px; margin: 6px 5px 0px 8px; min-width: 110px; outline: 0px; position: absolute; display: inline-block; overflow: hidden; right: 66px; height: 15px; } #user_navigation #user_link img { right: 5px; top: 8px; position: absolute; } #user_navigation #user_link span { display: inline-block; overflow: hidden; max-width:110px; } #user_navigation.logged_in { height: 63px; } #user_navigation.not_logged_in { font-size: 1em; padding: 5px 15px 10px; } #user_navigation.not_logged_in .links { margin: 8px 8px 0; font-size: 11px; display: block; color: #d7cbbf; } #user_navigation.not_logged_in .links a { font-weight: bold; } #user_navigation.not_logged_in #register_link { border-bottom: 1px dotted; } #user_navigation.not_logged_in #sign_in { background: #000; padding: 8px; display: block; min-width: 250px; margin: 0; padding-right: 8px; } #user_navigation.not_logged_in #sign_in:hover { text-decoration: underline; } /* Notifications */ #user_navigation #user_notifications_link { background: #000; border: 1px solid #666; padding: 3px 17px 3px 5px; margin: 6px 0 0px 0px; min-width: 30px; outline: 0px; position: relative; display: inline-block; overflow: hidden; float: right; white-space: nowrap; text-decoration: none; height: 15px; } #user_navigation #user_notifications_link img#notify-down-arrow { right: 5px; top: 8px; position: absolute; } #user_navigation #user_notifications_link small { position: relative; background-color: #ded7cd; color: #000; font-weight: bold; top: 0px; right: 0px; padding: 1px 4px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; } #user_navigation #user_notifications.no-new small { background-color: transparent; color: #fff; } #user_navigation #user_notifications.no-new small:hover { background-color: #ded7cd; color: #000; } #user_notifications_link_menucontent { background-color: #f1ede6; border: 1px solid #ded7cd; margin-top: -48px; min-width: 325px; float: right; z-index: 10000; font-size: 0.85em; } #user_notifications_link_menucontent li { padding: 5px 10px 5px 8px; float: none; clear: both; /*border-top: thin solid #000;*/ } #user_notifications_link_menucontent li a { /*text-decoration: none;*/ } #user_notifications_link_menucontent li.view-all { text-align: center; background-color: #ded7cd; font-weight: bold; } #user_notifications_link_menucontent li.no-notifications { text-align: center; font-style: italic; } #user_notifications_link_menucontent img { float: left; margin: 5px 7px 0 0; } #user_notifications_link_menucontent li.notify:hover { background: #eae4dc; } #user_notifications_link_menucontent li p { display: inline; margin-left: 0px; } #user_notifications_link_menucontent li span.desc { font-size: 0.8em; padding-top: 2px; } #user_notifications_link_menucontent .unread, #user_notifications_link_menucontent .unread a { font-weight: bold; } /* End notifications */ #search { color: #bbb; border: 1px solid #666; border-bottom: 0; font-size: 0.85em; margin: 0px -1px auto auto; position: relative; right: 0px; top:-32px; float: right; z-index: 5000; min-width: 270px; background: #444 !important; padding: 5px; border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px; } #search .submit_input { background: #fbae41 url({style_images_url}/search_icon.png) no-repeat 50%; text-indent: -3000em; width: 25px; height: 21px; border: 1px solid #000; padding: 0; float: left; } #search input#main_search { padding: 0; border: 0; width: 165px; font-size: 11px; background-color: #000; color: #aaa; } #search input#main_search.inactive { color: #a9a9a9; font-style: italic; } #search_wrap { background: #000; border: 1px solid #666; padding: 3px; float: left; white-space: nowrap; } #search .choice { background: url({style_images_url}/search_expand.png) no-repeat 3% 50%; border-left: 1px solid #afafaf; padding: 0 3px 0 12px; color: #999; min-width: 60px; height: 11px; display: inline-block; } #search_options_menucontent { background: #f6f3ee; font-size: 13px; border: 1px solid #d0c7bf; margin-top: 4px; min-width: 150px; display: inline-block; z-index: 1000; } #search_options_menucontent li { color: #3c3c3c !important; margin: 0 !important; padding: 9px 5px 9px 10px !important; } #search_options_menucontent li.special { background: #eae4dc; } #search_options_menucontent li.special + li.app, #search_options_menucontent li.title + li.special { border-top: 1px solid #d0c7bf; } #search_options_menucontent li input { margin-right: 5px; } #adv_search { width: 25px; height: 20px; margin: 1px; background: url({style_images_url}/advanced_search.png) no-repeat 50%; text-indent: -3000em; float: left; display: inline-block; } #adv_search:hover { background: url({style_images_url}/advanced_search_hover.png) no-repeat 50%; } #secondary_nav { color: #7b6c5d; font-size: 0.9em; padding: 12px 10px 12px 15px; clear: both; } #secondary_nav li { padding-right: 7px; float: left; } #secondary_nav #section_links li { padding: 0 5px; } #secondary_nav a { color: #393939; text-decoration: none; } #rss_menu { background-color: #ffdfbe; border: 1px solid #ff7600; padding: 1px; width: 200px; display: block; z-index: 500; margin-top: -35px; } #secondary_nav #section_links #rss_menu li { padding: 0; display: block; float: none; } #rss_menu a { display: block; padding: 3px; color: #ff7600; } #rss_menu a:hover { background-color: #ff7600; color: #fff; } #pm_notification { background: url({style_images_url}/trans_bg.png); color: #515151; padding: 0; margin: 15px 20% 0; width: 60%; position: fixed; z-index: 2000; } #pm_notification #pm_wrap { background: #f6f3ee; padding: 0px 0 0px 0; margin: 10px; } #pm_notification h2 { font-size: 1.1em; font-weight: bold; clear: none; padding-left: 18px; margin: -8px 0 0 10px; color: #111; } #pm_notification.open h2 { background: url({style_images_url}/folder_open.png ) no-repeat 2px 2px; } #pm_notification.closed h2 { background: url({style_images_url}/folder_closed.png ) no-repeat 2px 2px; } #pm_notification p.excerpt { margin: 15px 20px 0; line-height: 150%; overflow: auto; max-height: 400px; } #pm_notification p.desc { margin: 0px 15px 0; float: right; } body#ipboard_body #pm_notification p.submit { margin: 15px 0 0; padding-left: 15px; text-align: left; } #pm_notification a.configure { font-size: 0.9em; float: right; margin-right: 15px; } #pm_notification .ok_thanks { text-align: center; padding: 6px; clear: both; } #pm_notification h3 { background-color: #ded7cd; font-size: 1.2em; padding: 6px; margin-bottom: 2px; } #pm_notification h3 a { text-decoration: underline; } #pm_notification h3 img { margin-right: 6px; } /************************************************************************/ /* FOOTER */ #board_footer { color: #6e6257; font-size: 0.85em; border-top: 1px solid #d9d6d0; padding: 8px 8px 15px 8px; margin: 10px 15px 20px; top: 20px; clear: both; } #board_footer ul#utility_links li { float: left; padding-right: 8px; } #board_footer p { text-align: right; } #board_footer a { color: #6e6257; } #footer_utilities { background: #444; color: #fff; font-size: 0.8em; padding: 4px 15px; margin: 25px 15px 0 15px; } #footer_utilities form { margin: 7px 5px 0 5px; } #footer_utilities ul { padding: 2px 0; margin: 8px 0 0 0; } #footer_utilities ul li:first-child { color: #eee; } #footer_utilities li { float: right; padding: 0 8px 4px 8px; } /************************************************************************/ /* GENERAL CONTENT */ #content { padding: 20px 15px 0px 15px; clear: both; } #ajax_loading { background-color: #f8b04a; color: #000; text-align: center; padding: 5px; width: 8%; top: 0px; left: 46%; border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px; -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px; z-index: 10000; position: fixed; } #ipboard_body.redirector { width: 500px; margin: 150px auto 0 auto; } .topic_options, .generic_bar, .tab_filters { color: #444; font-size: 0.85em; font-weight: bold; height: 33px; } .generic_bar, .tab_filters { background: #eddcc3; } .generic_bar { display: none; } .tab_filters { background: #f8b04a url({style_images_url}/th_bg.png) repeat-x top; color: #fff; } .topic_options { background: #eae4dc; } .topic_options li { padding: 10px; float: right; } .topic_options a { text-decoration: none; } .general_box h3 { font-size: 1em; border: 0; padding: 5px; margin: -10px -10px 5px -10px; } #index_stats .general_box { margin-bottom: 10px; overflow: hidden; padding: 0px; } #index_stats .general_box h3 { margin:0px; padding: 8px; font-weight: normal; } #index_stats.portal .general_box div.inner_portal_box { padding: 5px; } .general_box.alt { padding: 0px; } .general_box.alt h3 { margin: 0 0 5px 0; } .general_box a { text-decoration: none; } .general_box .block_list { font-size: 0.9em; padding-top: 5px; margin: 0; } .general_box .block_list li { padding: 6px; margin: 0;/* -8px;*/ border-bottom: 1px dotted #000; } .general_box #top_posters.block_list li { border: 0; } .progress_bar { background-color: #fff; border: 1px solid #ded7cd; } .progress_bar span { background: #f8b04a url({style_images_url}/gradient_bg.png) repeat-x left 50%; color: #fff; font-size: 0em; font-weight: bold; text-align: center; text-indent: -2000em; /* Safari fix */ height: 10px; display: block; overflow: hidden; } .progress_bar.limit span { background: #b82929 url({style_images_url}/progressbar_warning.png) repeat-x center; } .progress_bar span span { display: none; } .progress_bar.user_warn { margin: 0 auto; width: 80%; } .progress_bar.user_warn span { height: 6px; } .progress_bar.topic_poll { border: 1px solid #ded7cd; margin-top: 2px; width: 40%; } img.resized { display: block; } .resized_img img { border-style: solid; border-color: #ded7cd; border-width: 3px 3px 6px 3px; margin-bottom: 5px; } .resized_img span { background: #ded7cd; color: #333; padding: 4px 8px; font-size: 11px; } .resized_img { clear: right; } li.rating a { outline: 0; } .antispam_img { margin-left: 215px; margin-bottom: 3px; } .tagList { list-style-type: none; margin: 0; padding: 0; } .tagList li { display: inline; } li.level1 { font-size: 12px; } li.level2 { font-size: 14px; } li.level3 { font-size: 16px; } li.level4 { font-size: 18px; } li.level5 { font-size: 20px; } li.level6 { font-size: 22px; } span.error { color: #ad2930; font-weight: bold; clear: both; } .maintitle .desc { font-size: 0.7em; color: #917e6c; } /************************************************************************/ /* GENERIC REPEATED STYLES */ /* Inline lists */ #admin_bar ul, #admin_bar li, #stat_links li, .tab_filters ul, .tab_filters li, fieldset.with_subhead span.desc, fieldset.with_subhead label, .user_controls li { display: inline; } /* Floats */ .right { float: right; } .left { float: left; } /* Visibility */ .hide { display: none; } /* Bullets */ .bullets ul, .bullets ol, ul.bullets, ol.bullets { list-style: disc; margin-left: 30px; line-height: 150%; list-style-image: none; } /* Rounded corners */ #user_navigation #new_msg_count, .message, .popupWrapper, .poll_question h4, .reputation, .rounded { border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px; } /* Center */ .short { text-align: center; } /* Description */ .desc, p.posted_info, .warn_panel strong { font-size: 0.8em; color: #685d53; } .portal .desc { font-size: 0.9em; } /* Cancel */ .cancel { color: #ad2930; font-size: 0.9em; font-weight: bold; } /* Maintitle */ body .maintitle { font-size: 17px; font-weight: bold; border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0; -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px; padding: 2px 8px 12px 8px !important; margin: 0 !important; overflow: hidden; } .category_block .maintitle { font-size: 21px; } /* Photo */ .photo { border: 1px solid #d8d8d8; } /* Moderation */ em.moderated { background: transparent; font-size: 0.8em; font-weight: bold; margin-top: 8px; display: block; clear: both; } /* Positive/Negative */ .positive { color: #6f8f52; } .negative { color: #c7172b; } /* Clickable */ .clickable { cursor: pointer; } /* Clear */ .clear { clear: both; } .clearfix, .stats_list { overflow: auto; } /* Block wrap */ .block_wrap { padding: 5px 0; margin-bottom: 10px; } /* White links */ #admin_bar a, #stat_links a, #primary_nav ul li a:hover, #user_navigation.not_logged_in, #user_navigation.not_logged_in a, #user_navigation #user_link, #user_navigation ul, #user_navigation ul#user_link_menucontent, #search .submit_input, .message.user_status #update_status, table.ipb_table th a, .topic_buttons li a, .topic_buttons li span, .message.user_status #update_status, .tab_bar li.active, .tab_bar li.active a, .members li.positive a, .members li.negative a, #footer_utilities a, a.input_submit:hover { color: #fff; text-decoration: none; } /* Search highlighting */ .searchlite { background-color: yellow; color: red; font-size:14px; } /* Users posting */ .activeuserposting { font-style: italic; } /************************************************************************/ /* COLUMN WIDTHS FOR TABLES */ .col_f_icon, .col_f_picon, .col_m_status, .col_r_icon { width: 3%; } .col_c_icon { width:53px; } .col_m_replies { width: 5%; } .col_m_to, .col_m_from { width:15%; } .col_f_topic, .col_m_subject { width: 49%; } .col_f_views, .col_f_starter, .col_r_total, .col_r_comments { width: 10%; } .col_f_post, .col_m_date, .col_r_updated, .col_r_section { width: 18%; } .col_c_stats { width: 15%; } .col_c_post { width: 35%; } #categories.no_sidebar .col_c_post { width: 30%; } .col_c_forum { width: 50%; } #categories.no_sidebar .col_c_forum Стиль я еще не чистил,эта панель взята с форума IPB сылка на форум Помогите всю панель для DLE и так же в шапке с отступами разместить,так же раздвижное меню что бы работало,вот ява скрипт я не могу найти который использует панелька что бы выскакивала меню. У моей панелки не работает выежающее меню,ну и отступов нету ![]() |
|||
Последний раз редактировалось Heon; 06.08.2011 в 01:13.. |
||||
![]() |