Button im Editor verschwinden lassen.

    • Teambeitrag

    Weil du irgendwo in den Deklarationen drinnen hast:


    CSS
    .message .messageContent .messageOptions nav {
        bottom: 14px;
        opacity: 1;
        ...


    Schreibweise kann natürlich abweichen - suche mal in den Deklarationen nach ".messageOptions"


    Ansonsten kannst du auch am Ende einfügen:


    CSS
    .message .messageContent .messageOptions nav {
        opacity: 0;


    und es wird wieder nur bei Mouseover angezeigt 8)

  • Danke Gr@@gle,


    bei mir sieht es etwas anders aus, ich habs mal kopiert.



    /* messages */


    .messageList .messageGroupStarter > .message::after {
    color: #eee;
    left: @wcfGapSmall;
    top: @wcfGapTiny;
    }


    li:nth-child(2n+1) .message .messageContent {
    background-color: @wcfContainerBackgroundColor;
    }


    .message {
    .borderRadius;
    padding: @wcfGapTiny;

    .messageSidebar {
    .borderRadius;
    .linearGradient(@wcfTabularBoxBackgroundColor, #e11313, @wcfTabularBoxBackgroundColor);
    .lineHeight;
    color: #eee;


    a,
    header .username {
    color: #fff;
    text-shadow: none;
    }
    }

    .messageContent {
    .borderRadius;


    .messageOptions {
    padding-bottom: @wcfGapLarge;
    padding-top: @wcfGapLarge;


    nav {
    bottom: @wcfGapMedium;
    opacity: 1;
    right: 0;


    ul.smallButtons > li {
    margin-left: @wcfGapSmall;


    > a {
    .borderRadius(@wcfSmallButtonBorderRadius);
    }
    }
    }
    }
    }

    &.jsMarked,
    &.messageDeleted,
    &.messageDisabled {
    background-image: none;


    .messageSidebar {
    background: none rgba(0, 0, 0, 0);
    }
    }

    Media screen and (min-width: 801px) {
    &.messageSidebarOrientationLeft {
    .messageContent {
    margin-left: 215px;


    .messageHeader {
    .newMessageBadge {
    left: -222px;


    &::before {
    border-left: 6px solid rgba(0, 0, 0, 0);
    left: 0;
    }
    }


    &::after {
    border-right-color: @wcfContainerBackgroundColor;
    border-width: 14px;
    left: -14px;
    top: 41px;
    }
    }
    }
    }


    &.messageSidebarOrientationRight {
    .messageContent {
    margin-right: 215px;


    .messageHeader {
    .newMessageBadge {
    right: -222px;


    &::before {
    border-right: 6px solid rgba(0, 0, 0, 0);
    right: 0;
    }
    }


    &::after {
    border-left-color: @wcfContainerBackgroundColor;
    border-width: 14px;
    left: -14px;
    top: 41px;
    }
    }
    }
    }
    }
    }