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

lost83

  • Захожу иногда
  • 91
  • 2 / 0
Управлние верхним меню
« : 16.01.2013, 14:12:17 »


Вопрос простой но я все перековырял, как поменять цвет текста верхнего меню и тд




Фот CSS

Код
body {
font-family: Trebuchet Ms,Tahoma, Verdana, Arial, sans-serif;
line-height: 1.3em;
margin: 0;
padding: 0;
font-size: 11px;
color: #7f6a7c;
background: #fff;
}

body.contentpane {
background: #fff;
}

form {
  margin: 0;
  padding: 0;
}

img,table {
border: none;
}

p {
margin: 5px 0;
text-align: justify;
}

a {
color: #ab4f89;
outline: none;
text-decoration: none;
font-weight: 400;
}

a:link {
font-weight: 400;
}

a:visited {
font-weight: 400;
color: #3e3d3d;
}

a:hover {
text-decoration: underline;
font-weight: 400;
}

input  {
color: #ccc;
outline: none;
margin: 0;
}

input:focus {
outline: none;
}

button {
color: #fff;
font-size: 11px;
border: none;
background: #696969;
cursor: pointer;
}


#modlgn_remember.inputbox  {
background: none;
border: none;
width: auto;
vertical-align:middle;
}

input.button, .validate  {
color: #fff;
font-size: 11px;
cursor: pointer;
font-weight: 700;
border: none;
height:20px;
line-height:19px;
padding: 2px 4px 4px;
margin:6px 0 0 0;
}

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

#page_bg {
background: #000 url(../images/page_bg.jpg) repeat-x top center;
}

#wrapper {
margin:0 auto;
width:960px;
}

#header {
position:relative;
margin:0 auto;
width:960px;
height:410px;
padding:30px 0 0 0;
background: transparent url(../images/headerimg.jpg) no-repeat top center;
}

#pillmenu {
position:absolute;
top:330px;
left:0;
width:660px;
height:44px;
overflow:hidden;
}

#pillmenu ul {
padding:0;
margin:0;
list-style: none;
}

#pillmenu li {
float: left;
margin:0 4px 0 0;
}

#pillmenu li a {
float:left;
cursor:pointer;
background: transparent url(../images/t_menu_btn.png) no-repeat top right;
}

#pillmenu li a span {
float:left;
color: #fff;
font-size:12px;
font-weight:700;
font-family: Trebuchet Ms,Tahoma, Verdana, Arial, sans-serif;
text-decoration: none;
height:44px;
line-height:25px;
padding: 0 10px;
background: transparent url(../images/t_menu_btn_l.png) no-repeat top left;
}

#pillmenu li a:hover,#pillmenu li#current a{
float:left;
text-decoration: none;
background: transparent url(../images/t_menu_btn.png) no-repeat bottom right;
}

#pillmenu li a:hover span,#pillmenu li#current a span{
color:#9e3777;
background: transparent url(../images/t_menu_btn_l.png) no-repeat bottom left;
}


.logo {
float:left;
width:620px;
height:72px;
overflow:hidden;
}

.logo table td {
width:620px;
height:72px;
vertical-align:middle;
overflow:hidden;
}

.logo h1 {
text-align:left;
color:#f490c7;
text-shadow:3px 3px #000;
line-height:normal;
margin:0;
text-transform:uppercase;
font-family: Trebuchet Ms,Tahoma, Verdana, Arial, sans-serif;
}

.logo a, .logo a:link, .logo a:visited  {
color:#f490c7;
font-size:26px;
font-weight:700;
text-decoration:none;
}

.logo a:hover {
text-decoration:none;
}

.newsflash {
width:940px;
padding:0 10px;
margin:0 0 10px;
height:60px;
}

.newsflash h3 {
height:13px;
color:#ab4f89;
overflow:hidden;
font-size:12px;
text-transform:none;
line-height:13px;
margin:0 0 4px 0;
font-weight:700;
padding:0;
text-align:center;
}

.newsflash table tr td {
color:#7f6a7c;
width:940px;
height:60px;
margin:0;
padding:0;
text-align:justify;
}

.newsflash p {
margin:0;
}

.newsflash  a {
color:#7f6a7c;
font-weight:700;
text-decoration:none;
}

.newsflash div.module  {
height:60px;
width:940px;
margin:0;
text-align:justify;
}

.newsflash div.module div  {
background:none;
padding:0;
margin:0;
height:60px;
overflow:hidden;
}

.newsflash table.contentpaneopen {
margin:0;
}

.newsflash div.module_menu div div div, .newsflash div.module div div div, .newsflash  div.module_text div div div {
margin:0;
padding:0;
}

#search {
position:absolute;
bottom:0;
left:20px;
width:182px;
height:26px;
padding:0;
}

.search {
float:left;
height:26px;
width:168px;
padding: 0 0 0 14px;
background: transparent url(../images/inputbox.png) no-repeat top left;
}

.search .inputbox {
float:left;
border: none;
color: #eac7dd;
font-size:11px;
line-height:19px;
height:21px;
width:140px;
padding:2px 6px 3px 0;
background:none;
overflow:hidden;
}

.search .button {
float:left;
font-size:0;
line-height:0;
color:#fff;
border:none;
height:26px;
width:22px;
padding:0;
margin: 0;
clear:none;
background: transparent url(../images/search_btn.png) no-repeat top left;
}

.search .button:hover {
color:transparent;
border:none;
}

#content {
margin:0 auto;
width:960px;
}

.content_m { background: transparent url(../images/content_m.gif) repeat-y top center;}
.content_t{padding:14px 0 0 0;background: transparent url(../images/content_t.gif) no-repeat top center;}

#leftcolumn, #rightcolumn {
float:left;
width: 210px;
margin:0 10px 0 0;
}

#rightcolumn {
float:right;
margin:0 0 0 10px;
}

div#maincolumn {
float: left;
width:500px;
padding:10px;
margin:0;
}

div#maincolumn_left, div#maincolumn_right {
padding:10px 0;
float: left;
width:730px;
}

div#maincolumn_right {
padding:10px 0 0 10px;
}

div#maincolumn_full {
padding:10px;
width:940px;
}

div.nopad {

overflow: hidden;
}

div.nopad ul {
clear: both;
}

td.middle_pad {
width: 20px;
}

#footer {
margin:0 auto 10px;
width:960px;
height:36px;
padding:24px 0 0 0;
color: #993272;
background: transparent url(../images/footer.png) no-repeat top center;
}

#footer p {
text-align:center;
line-height:15px;
overflow:hidden;
margin:0;
}

#footer a {
color: #993272;
font-weight:400;
text-decoration: none;
}


#footer a:hover {
text-decoration:underline;
}

a.footer123:link, a.footer123:visited {
color: #363e4e;
font-family: Tahoma, Arial, sans-serif;
text-decoration: underline;
}

#f123 {
text-align: right;
width: 100%;
margin: 0 auto;
font-family: Tahoma, Arial, sans-serif;
}
.f123 {
text-align: right;
font-family: Tahoma, Arial, sans-serif;
text-decoration: none;
}
.f123_bg {
background:url(../images/123_bg.png);
width:134px;
height:30px;
text-align:center;
padding: 0 3px;
}
.f123_1 {
display: block;
font-size: 10px;
font-family: Tahoma, Arial, sans-serif;
color: #666;
text-align: left;
padding: 0 0 2px 4px;
}

a.link_123:link, a.link_123:visited {
font-size: 15px;
font-family: Tahoma, Verdana,Arial,Helvetica,sans-serif;
color: #797979;
text-decoration:none;
font-weight: 700;
}
a.link_123:hover {
font-size: 15px;
font-family: Tahoma, Verdana,Arial,Helvetica,sans-serif;
color: #797979;
text-decoration:none;
font-weight: 700;
}

/*****************************************/
/*** 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;
margin:0;
color: #7f6a7c;
}

table.blog {

}

h1 {
padding: 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 1.3em;
line-height:19px;
font-weight: 700;
vertical-align: bottom;
color: #7f6a7c;
text-align: left;
width: 100%;
}

h2, .contentheading {
padding: 0;
font-family: Tahoma, Verdana, Arial, sans-serif;
font-size: 11px;
vertical-align: middle;
color: #ab4f89;
text-align: left;
font-weight: 700;
}

h2, a.contentheading {
background: none;
border: none;
margin:6px 0;
}

table.contentpaneopen h3 {
margin-top: 25px;
color:#6db22f;
}

h4 {
font-family: Tahoma, Arial, sans-serif;
color: #333;
}

h3, .componentheading, table.moduletable th, legend {
margin:6px 0;
font-family: Tahoma, Arial, sans-serif;
font-size: 11px;
font-weight:700;
text-align: left;
text-transform:uppercase;
color: #333;
padding: 0;
}
/* small text */
.small {
font-size: 10px;
color: #888;
font-weight: 700;
text-align: left;
}

.modifydate {
height: 20px;
vertical-align: bottom;
font-size: 10px;
color: #666666;
text-align: right;
}

.createdate {
vertical-align: top;
font-size: 11px;
color: #555;
padding-bottom: 8px;
}

a.readon {
float: right;
line-height: normal;
font-size: 11px;
padding: 0 0 0 14px;
color: #666666;
text-transform: lowercase;
text-decoration: none;
}

a.readon:hover {
text-decoration: underline;
}

/* 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: Tahoma, Arial, sans-serif;
font-size: 10px;
}

.ol-captionfont {
font-family: Tahoma, Arial, sans-serif;
font-size: 12px;
color: #fbfbfb;
font-weight: 700;
}
.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: 115px;
}

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;
font-size:0;
}

table.blog span.article_separator {
display: block;
height: 20px;
}



/* table of contents */
table.contenttoc {
  margin: 5px;
  padding: 5px;
  background: none;
}

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  color: #999;
  font-weight: 700;
  padding: 4px;
}

tr.sectiontableentry1 td {
padding: 4px;
}

tr.sectiontableentry1 {
background:#000;
}
 
tr.sectiontableentry0 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
  font-size: 11px;
}


/* content styles */
.contentpaneopen, table.contentpane {
margin: 0;
padding: 0;
}

table.contentpane td{
text-align: left;
}

table.contentpane td.contentdescription {
width: 100%;
}

table.contentpane  {
text-align: left;
float: left;
width: 100%;
}

table.contentpane ul li a .category {
color: #FF8800;
}

table.contentpane ul li {
color: #666;
}

table.contentpaneopen {
border-collapse: collapse;
padding: 0;
margin:0 6px;
}

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: Tahoma, Arial, sans-serif;
color: #363e4e;
}

.highlight {
background-color: #fffebb;
}

/* module control elements */
table.user1user2 div.moduletable {
margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 10px;
}

div.module_menu, div.module, div.module_text{
padding: 0;
}

div.module_menu div,div.module div,div.module_text div {
margin:0 0 10px 0;
}

div.module_menu div div,div.module div div,div.module_text div div {
text-align: center;
}


#leftcolumn div.module_menu div div div,#leftcolumn div.module div div div,#leftcolumn div.module_text div div div {
padding:0 0 20px;
background: transparent url(../images/box_b.jpg) no-repeat bottom left;
}

#rightcolumn div.module_menu div div div,#rightcolumn div.module div div div,#rightcolumn div.module_text div div div {
padding:0 0 20px;
background: transparent url(../images/box_b_r.jpg) no-repeat bottom right;
}

div.module div div div div {
color:#7f6a7c;
width: 160px;
}

#leftcolumn div.module_menu div div div div,#leftcolumn div.module div div div div,#leftcolumn div.module_text div div div div,
#rightcolumn div.module_menu div div div div,#rightcolumn div.module div div div div,#rightcolumn div.module_text div div div div {
background: none;
margin:0 auto;
padding:0;
color:#7f6a7c;
}

#leftcolumn div.module_text div div div div, #rightcolumn div.module_text div div div div {
text-align: left;
}

#leftcolumn div.module_text div div div div.bannergroup_text,#rightcolumn div.module_text div div div div.bannergroup_text {
padding: 10px 10px 10px 30px;
width: 160px;
}

#leftcolumn div.module_text div div div div.bannergroup_text div,#rightcolumn div.module_text div div div div.bannergroup_text div {
color:#7f6a7c;
width: auto;
padding: 0 0 4px;
}

div.module div div div form {
margin:0 auto;
padding:0 0 6px 30px;
text-align:left;
width:170px;
}

div.module_menu ul {
list-style: none;
padding: 0;
}

div.module_menu ul#mainlevel {
margin: 0 auto;
text-align: center;

}

div.module_menu ul li{
margin: 0;
padding: 0;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
font-weight: 700;
padding: 2px 0;
line-height: 24px;
color:#888;
background: transparent url(../images/blue/bullet2.jpg) top left no-repeat;
}

#leftcolumn div.module table ,#rightcolumn div.module table {
padding: 0 0 6px 0;
background:none;
}

#leftcolumn div.module table td ,#rightcolumn div.module table td {
margin:0;
padding: 0 6px 0 0;
height:20px;
color:#7f6a7c;
text-align:left;
line-height:13px;
vertical-align: middle;
}

#leftcolumn div.module table.poll {

}

#leftcolumn div.module table.poll td {
text-align: left;
}

/* LEFT COL H3 */
#leftcolumn h3, #rightcolumn h3 {
width:190px;
margin:0 0 6px;
height:40px;
line-height:40px;
padding:0 10px;
font-size: 12px;
font-family:Trebuchet Ms, Tahoma, Verdana, Arial, sans-serif;
color: #fff;
text-align: left;
text-transform:none;
overflow:hidden;
font-weight:400;
background: transparent url(../images/box_h3.jpg) no-repeat top left;
}

#rightcolumn h3 {
background: transparent url(../images/box_h3_r.jpg) no-repeat top right;
}

.moduletable_menu, .moduletable, .moduletable_text {
margin: 0 0 16px 0;
padding: 0 0 8px 0;
}

#leftcolumn ul.menu, #rightcolumn ul.menu {
list-style: none;
text-align: left;
margin:0;
padding: 0 0 0 16px;
}

#leftcolumn ul.menu li, #rightcolumn ul.menu li{
padding:0 0 3px;
}

/*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 {
display:block;
font-weight: 400;
font-size: 12px;
font-family:Tahoma, Verdana, Arial, sans-serif;
line-height: 16px;
padding:0 12px;
margin:0;
text-decoration: none;
color: #7f6a7c;
background: transparent url(../images/menu_arrow.gif) no-repeat left top;
}


#leftcolumn ul.menu li a:hover, #rightcolumn ul.menu li a:hover {
color: #993272;
}

/*LEFT COL CURRENT LINK*/

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

#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 {
color: #993272;
padding:0 12px;
}

#leftcolumn ul.menu li#current a:hover, #rightcolumn ul.menu li#current a:hover {
display:block;
color: #993272;
}

/*LEFT COL SUB LINK*/
#leftcolumn ul.menu li#current ul li {
background:none;
}

#leftcolumn ul.menu li#current ul li a, #leftcolumn ul.menu li#current ul li a:link,
#rightcolumn ul.menu li#current ul li a, #rightcolumn ul.menu li#current ul li a:link {
font-weight: 400;
text-decoration: none;
color: #7f6a7c;
line-height:16px;
padding:0 10px 0 0;
margin:0 0 0 12px;
width:160px;
background: none;
}

#leftcolumn ul.menu li#current ul li a:hover, #rightcolumn ul.menu li#current ul li a:hover {
color: #993272;
}

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

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

#leftcolumn ul.menu li.parent ul li a,
#rightcolumn ul.menu li.parent ul li a {
line-height:16px;
font-size: 11px;
font-weight: 400;
text-decoration: none;
color: #7f6a7c;
padding:0 12px;
background: none;
}

#leftcolumn ul.menu li.parent ul li a:hover {
color: #993272;
background: none;
}

/*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 ul, #rightcolumn ul.menu li ul {
list-style: none;
margin:0;
}


/* 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:#7f6a7c;
}

/* fix */
.nopad fieldset {
text-align:center;
 float:left;
 border:none;
 padding:0;
 margin:0 0 30px;
}
.nopad fieldset p {
margin:0 0 10px;
overflow:hidden;
clear:both;
}

.nopad fieldset label {
float: left;
}

.nopad fieldset input {
float:left;
}

.button {
clear:both;
}

.nopad fieldset #remember {
 margin:0 0 0 10px;
}

/* fix */

form#form-login fieldset {
border: 0 none;
padding: 0;
margin:0;
color:#7f6a7c;
text-align: left;
}

form#form-login ul {
padding: 0;
list-style: none;
text-align: left;
margin: 10px auto 0;
}

form#form-login ul li {
padding: 0;
}

form#form-login ul li a {
text-align: left;
padding: 0;
font-size: 11px;
color: #7f6a7c;
text-decoration: none;
}

form#form-login ul li a:hover {
text-decoration: underline;
}

#form-login input {
border:none;
color:#7f6a7c;
font-size:11px;
height:14px;
line-height:14px;
padding:2px 4px;
background:#000;
}

input#modlgn_passwd, input#modlgn_username {
width:142px;
}

input.button, #form-login input.button {
height:20px;
border:none;
font-weight:400;
line-height:19px;
color:#fff;
padding:0 6px 2px;
margin:0;
background: transparent url(../images/but.gif) repeat-x left top;
}

input.button:hover, #form-login input.button:hover {
color:#e9c6dc;
}

/* 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: left;
height: 30px;
}

table.paramlist td.paramlist_value {
}

div.message {
font-family: Tahoma, Arial, sans-serif;
font-weight: 700;
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;
font-size: 11px;
}

.banneritem_text a {
font-weight:700;
color:#ab4f89;
}

.bannerfooter_text {
padding: 4px;
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: 4px;
}

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: 700;
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-message dd.message ul {
padding: 0;
margin: 0;
background: none;
border: none;
}

/* System Error Messages */
#system-message dd.error ul {
color: #c00;
background: none;
border: none;
padding: 0;
margin: 0;
}

/* System Notice Messages */
#system-message dd.notice ul {
color: #c00;
background: none;
border: none;
padding: 0;
margin: 0;
}

#system-message dd {
text-indent: 0;
}

#system-message dd ul {
list-style-type: none;
color: #c00;
background: none;
border: none;
}

#system-message {
margin-top: 5px;
}
*

Lincck

  • Захожу иногда
  • 53
  • 7 / 0
Re: Управлние верхним меню
« Ответ #1 : 16.01.2013, 16:20:28 »
А вы вносили изменения в код главного меню? Такое ощущение, что сначала главное меню было выполнено списком, а потом кто-то все вырезал и влепил код менюшки в таблицу...
найдите в CSS  a.mainlevel:link (где-то в районе 585 строки) и добавьте свойство color: #......;
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

убрать из меню заголовки h3

Автор nexter

Ответов: 19
Просмотров: 6395
Последний ответ 03.02.2020, 18:49:47
от durte
При добавлении нового пункта меню не отображается содержимое

Автор Denko

Ответов: 2
Просмотров: 2072
Последний ответ 16.01.2020, 18:40:55
от Denko
Не нажимается пункт меню на мобильной версии

Автор Sensession

Ответов: 7
Просмотров: 2998
Последний ответ 04.01.2020, 16:45:27
от xpank
Не отображаются пункты в меню

Автор physic

Ответов: 20
Просмотров: 21285
Последний ответ 20.09.2019, 16:54:01
от beliyadm
Как в ARI Ext Menu добиться работы параметра "Показать в меню"?

Автор vasmed

Ответов: 1
Просмотров: 2287
Последний ответ 01.03.2019, 11:12:18
от vasmed