Webboard

Pełna wersja: Wygląd posta.
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB:1.6.x
adres forum:www.cs-magnetic.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Chciałbym ustawić taki wygląd posta, jak jest na screenie.


Jest tak:
[Obrazek: 98956857209321089188.png]

a chciałbym żeby było tak:
[Obrazek: 80808610464611262628.png]
Ikonki wstaw do postbit_author_user (opis posta), a wygląd zmień sobie w global2.css, klasa .label2.
Dużo mi pomogłeś, jestem amatorem. :)


Jak możesz to mi to zrób, tutaj masz klase .label :


Kod:
.opeffect:link, .opeffect:visited {
        color: #FFFFFF;
        opacity: 0.5;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.opeffect:hover, .opeffect:active {
        color: #FFFFFF;
        opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.opeffect2:link, .opeffect2:visited {
        color: #FFFFFF;
        opacity: 0.5;
        padding: 0px 5px 1px 5px;
        background: #005275;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.opeffect2:hover {
        color: #FFFFFF;
        opacity: 1;
        padding: 0px 5px 1px 5px;
        background: #005275;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.minimultipage:link, .minimultipage:visited {
        color: #FFFFFF;
        opacity: 0.5;
        padding: 0px 5px 1px 5px;
        background: #005275;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.minimultipage:hover, .minimultipage:active {
        color: #FFFFFF;
        opacity: 1;
        padding: 0px 5px 1px 5px;
        background: #005275;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.trow5 {
    background: #efefef;
        border-bottom: 1px solid #d6d6d6;
        border-left: 1px solid #d6d6d6;
        border-right: 1px solid #d6d6d6;
        border-radius: 0px 0px 2px 2px;
        -o-border-radius: 0px 0px 2px 2px;
        -ms-border-radius: 0px 0px 2px 2px;
        -moz-border-radius: 0px 0px 2px 2px;
        -webkit-border-radius: 0px 0px 2px 2px;
}

.trow6{
    background: #efefef;
        border-top: 1px solid #f5f5f5;
        border-bottom: 1px solid #d6d6d6;
        border-left: 1px solid #d6d6d6;
        border-right: 1px solid #d6d6d6;
        border-radius: 0px 0px 2px 2px;
        -o-border-radius: 0px 0px 2px 2px;
        -ms-border-radius: 0px 0px 2px 2px;
        -moz-border-radius: 0px 0px 2px 2px;
        -webkit-border-radius: 0px 0px 2px 2px;
}

.lastline {
        color: #FFFFFF;
    text-shadow: 0 1px 5px #000000;
        height: 10px;
    border: 1px solid #005275;
        border-radius: 0px 0px 2px 2px;
        -o-border-radius: 0px 0px 2px 2px;
        -ms-border-radius: 0px 0px 2px 2px;
        -moz-border-radius: 0px 0px 2px 2px;
        -webkit-border-radius: 0px 0px 2px 2px;
    -webkit-box-shadow:inset 0 -1px 0 0 rgba(150,191,211,1);
    box-shadow:inset 0 -1px 0 0 rgba(150,191,211,1);
        background: #3f6a87; /* Old browsers */
        background: -moz-linear-gradient(top,  #3f6a87 0%, #5d8faa 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3f6a87), color-stop(100%,#5d8faa)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #3f6a87 0%,#5d8faa 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #3f6a87 0%,#5d8faa 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #3f6a87 0%,#5d8faa 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #3f6a87 0%,#5d8faa 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f6a87', endColorstr='#5d8faa',GradientType=0 ); /* IE6-9 */
}

.lastline a:link, .lastline a:visited, .lastline a:hover, .lastline a:active {
        color: #FFFFFF;
    text-shadow: 0 1px 5px #000000;
}

.newthbutton:link, .newthbutton:visited {
        font-family: 'Open Sans', sans-serif;
        font-size: 13px;
        padding: 5px 8px;
        color: #FFFFFF;
        border: 1px solid #3f6a87;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        background: #5d8faa;
    -webkit-box-shadow:inset 0 1px 0 0 rgba(150,191,211,1);
    box-shadow:inset 0 1px 0 0 rgba(150,191,211,1);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.newthbutton:hover {
        background: #71a2bd;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.newthbutton:active {
        -webkit-box-shadow:inset 0 1px 10px 0 rgba(0,0,0,1);
        box-shadow:inset 0 1px 10px 0 rgba(0,0,0,1);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.thead3 {
    color: #FFFFFF;
    border-top: 1px solid #005275;
    border-left: 1px solid #005275;
    border-right: 1px solid #005275;
    border-radius: 2px 2px 0px 0px;
    -o-border-radius: 2px 2px 0px 0px;
    -ms-border-radius: 2px 2px 0px 0px;
    -moz-border-radius: 2px 2px 0px 0px;
    -webkit-border-radius: 2px 2px 0px 0px;
    -webkit-box-shadow:inset 0 1px 0 0 rgba(150,191,211,1);
    box-shadow:inset 0 1px 0 0 rgba(150,191,211,1);
    text-shadow: 0 1px 5px #000000;
    background: rgb(93,143,170); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(93,143,170,1) 0%, rgba(63,106,135,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(93,143,170,1)), color-stop(100%,rgba(63,106,135,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d8faa', endColorstr='#3f6a87',GradientType=0 ); /* IE6-9 */
}

.thead3 a:link, .thead3 a:visited  {
    color: #FFFFFF;
    text-shadow: 0 1px 5px #000000;
    text-decoration: none;
}

.thead3 a:hover, .thead3 a:active {
    color: #FFFFFF;
    text-shadow: 0 1px 5px #000000;
    text-decoration: none;
}

.lastline2 {
        height: 10px;
    border-bottom: 1px solid #005275;
    border-left: 1px solid #005275;
    border-right: 1px solid #005275;
        border-radius: 0px 0px 2px 2px;
        -o-border-radius: 0px 0px 2px 2px;
        -ms-border-radius: 0px 0px 2px 2px;
        -moz-border-radius: 0px 0px 2px 2px;
        -webkit-border-radius: 0px 0px 2px 2px;
    -webkit-box-shadow:inset 0 -1px 0 0 rgba(150,191,211,1);
    box-shadow:inset 0 -1px 0 0 rgba(150,191,211,1);
        background: #3f6a87; /* Old browsers */
        background: -moz-linear-gradient(top,  #3f6a87 0%, #5d8faa 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3f6a87), color-stop(100%,#5d8faa)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top,  #3f6a87 0%,#5d8faa 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top,  #3f6a87 0%,#5d8faa 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top,  #3f6a87 0%,#5d8faa 100%); /* IE10+ */
        background: linear-gradient(to bottom,  #3f6a87 0%,#5d8faa 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3f6a87', endColorstr='#5d8faa',GradientType=0 ); /* IE6-9 */
}

.headpb {
        background: #efefef;
        border: 1px solid #d6d6d6;
        border-radius: 2px 2px 0px 0px;
        -o-border-radius: 2px 2px 0px 0px;
        -ms-border-radius: 2px 2px 0px 0px;
        -moz-border-radius: 2px 2px 0px 0px;
        -webkit-border-radius: 2px 2px 0px 0px;
}

.footerpb1 {
        background: #efefef;
        border-top: 1px solid #f5f5f5;
        border-left: 1px solid #d6d6d6;
        border-bottom: 1px solid #d6d6d6;
        border-radius: 0px 0px 2px 2px;
        -o-border-radius: 0px 0px 2px 2px;
        -ms-border-radius: 0px 0px 2px 2px;
        -moz-border-radius: 0px 0px 2px 2px;
        -webkit-border-radius: 0px 0px 2px 2px;
}

.footerpb2 {
        background: #efefef;
        border-top: 1px solid #f5f5f5;
        border-right: 1px solid #d6d6d6;
        border-bottom: 1px solid #d6d6d6;
        border-radius: 0px 0px 2px 2px;
        -o-border-radius: 0px 0px 2px 2px;
        -ms-border-radius: 0px 0px 2px 2px;
        -moz-border-radius: 0px 0px 2px 2px;
        -webkit-border-radius: 0px 0px 2px 2px;
}

.middlepb1 {
        background: #efefef;
        border-top: 1px solid #f5f5f5;
        border-left: 1px solid #d6d6d6;
        border-right: 1px solid #d6d6d6;
        border-bottom: 1px solid #d6d6d6;
}

.middlepb2 {
        background: #efefef;
        border-top: 1px solid #f5f5f5;
        border-right: 1px solid #d6d6d6;
        border-left: 1px solid #f5f5f5;
        border-bottom: 1px solid #d6d6d6;
}

.thead4 {
    color: #FFFFFF;
    border: 1px solid #005275;
    border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-box-shadow:inset 0 1px 0 0 rgba(150,191,211,1);
    box-shadow: inset 0 1px 0 0 rgba(150,191,211,1);
    text-shadow: 0 1px 5px #000000;
    background: rgb(93,143,170); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(93,143,170,1) 0%, rgba(63,106,135,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(93,143,170,1)), color-stop(100%,rgba(63,106,135,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d8faa', endColorstr='#3f6a87',GradientType=0 ); /* IE6-9 */
}

.thead5 {
    color: #FFFFFF;
    border: 1px solid #005275;
    border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -webkit-box-shadow:inset 0 -1px 0 0 rgba(150,191,211,1);
    box-shadow: inset 0 1px 0 0 rgba(150,191,211,1);
    text-shadow: 0 1px 5px #000000;
    background: rgb(93,143,170); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(93,143,170,1) 0%, rgba(63,106,135,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(93,143,170,1)), color-stop(100%,rgba(63,106,135,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(93,143,170,1) 0%,rgba(63,106,135,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5d8faa', endColorstr='#3f6a87',GradientType=0 ); /* IE6-9 */
}

.avatarpb {
    opacity: 0.75;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.avatarpb:hover {
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.line {
    background: #d6d6d6;
        border-bottom: 1px solid #f5f5f5;
}

.edit {
        padding: 5px;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        background: #bbd3ec;
}

.userinfo {
        margin: auto;
        text-align: left;
        width: 130px;
}

.label {
        padding: 3px;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        background: #dadada;
        width: 120px;
        margin: 3px 0;
}

.label2 {
        padding: 3px;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        background: #dadada;
        width: 125px;
        margin: 3px 0;
        font-size: 11px;
}

#pcontainer {
        width: 1024px;
}

.leftprofile {
        width: 198px;
        float: left;
        text-align: center;
        background: #efefef;
        border: 1px solid #d6d6d6;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
}

.rightprofile {
        width: 812px;
        margin-left: 8px;
        float: left;
}

.profilebutton {
        opacity: 0.4;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
}

.profilebutton:hover {
        opacity: 1;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
}

.tabs input[type=radio] {
        position: absolute;
        top: -9999px;
        left: -9999px;
}

.tabs {
        width: 794px;
        float: none;
        list-style: none;
        position: relative;
        padding: 0;
        margin: auto;
}

.tabs li{
        float: left;
}

.tabs label {
        display: block;
        padding: 10px 20px;
        margin-right: 5px;
        border-radius: 2px 2px 0 0;
        color: #FFFFFF;
    font-family: 'Open Sans', sans-serif;
        font-size: 12px;
        font-weight: bold;
        background: #bababa;
        cursor: pointer;
        position: relative;
        top: 3px;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        border-top: 1px solid #d6d6d6;
        border-left: 1px solid #d6d6d6;
        border-right: 1px solid #d6d6d6;
}

.tabs label:hover {
        background: #efefef;
        color: #646464;
}
      
[id^=tab]:checked + label {
    font-family: 'Open Sans', sans-serif;
        font-size: 13px;
        background: #efefef;
        color: #646464;
        top: 0;
}
      
[id^=tab]:checked ~ [id^=tab-content] {
        display: block;
}

.tab-content{
        z-index: 2;
        display: none;
        text-align: left;
        width: 87%;
        line-height: 140%;
        padding-top: 10px;
        background: #efefef;
        padding: 15px;
    font-family: 'Open Sans', sans-serif;
        font-size: 11px;
        color: #545454;
        position: absolute;
        left: 0;
        box-sizing: border-box;
        -webkit-animation-duration: 0.5s;
        -o-animation-duration: 0.5s;
        -moz-animation-duration: 0.5s;
        -ms-animation-duration: 0.5s;
        animation-duration: 0.5s;
        border-radius: 0px 2px 2px 2px;
        -o-border-radius: 0px 2px 2px 2px;
        -ms-border-radius: 0px 2px 2px 2px;
        -moz-border-radius: 0px 2px 2px 2px;
        -webkit-border-radius: 0px 2px 2px 2px;
        border: 1px solid #d6d6d6;
}

#profileavatar {
    opacity: 0.75;
    width: 100px;
    height: 100px;
    margin: auto;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.5);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#profileavatar:hover {
    opacity: 1;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.closedbutton:link, .closedbutton:visited, .closedbutton:hover, .closedbutton:active {
        font-family: 'Open Sans', sans-serif;
        font-size: 13px;
        padding: 5px 8px;
        color: #FFFFFF;
        border: 1px solid #873f3f;
        border-radius: 2px;
        -o-border-radius: 2px;
        -ms-border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        background: #aa5d5d;
    -webkit-box-shadow:inset 0 1px 0 0 rgba(211,150,150,1);
    box-shadow:inset 0 1px 0 0 rgba(211,150,150,1);
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.red_alert {
        font-family: 'Open Sans', sans-serif;
    background: #ffd0d0;
    border-radius: 2px;
    -o-border-radius: 2px;
    -ms-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    text-align: center;
    padding: 10px;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: normal;
}
zwiększ np width: 120px;