Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Gelöst: Problem mit CSS bei Button in Dialog

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Gelöst: Problem mit CSS bei Button in Dialog

    This topic has been deleted. Only users with topic management privileges can see it.
    • jackblackson
      jackblackson last edited by jackblackson

      Hallo!

      Ich kämpfe mal wieder mit meinem CSS. Ich habe aktuell das Thema, das ich gerne die Buttons schön formatieren möchte. Dies funktioniert auch ganz gut, nur wenn ich Buttons in einem jqui-Dialog habe, zieht das CSS nicht.

      861eb284-c937-4707-a9b9-4490a8cfd9c7-grafik.png

      Im Hintergrund (das linke rote Kästchen) seht ihr, wie der Button aussehen sollte. Dies ist alles über eine Css-Klasse zugewiesen.

      .button {
        font-family: Titel;
        border-radius: 10px;
        font-size: 30px;
        color: var(--main-text-color);
        background: var(--main-backg-button);
        border-bottom: 5px solid var(--main-button-border-color);
        border-right: 5px solid var(--main-button-border-color);
        text-decoration: none;
        height: 70px;
      }
      

      Ich habe dann im Dialog die selbe CSS-Klasse zugewiesen - er übernimmt aber hier keine Eigenschaften davon. Hab schon versucht mit "Elemente Untersuchen" unterschiede zu finden, aber...es wird einfach nix. Habt ihr hier einen Tipp für mich?

      Danke,
      Jack

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @jackblackson last edited by Glasfaser

        @jackblackson

        .button {
        
          font-family: Titel !important;
          border-radius: 10px !important;
          font-size: 30px !important;
          color: var(--main-text-color) !important;
          background: var(--main-backg-button) !important;
          border-bottom: 5px solid var(--main-button-border-color) !important;
          border-right: 5px solid var(--main-button-border-color) !important;
          text-decoration: none !important;
          height: 70px !important;
        
        }
        
        jackblackson 1 Reply Last reply Reply Quote 0
        • jackblackson
          jackblackson @Glasfaser last edited by

          @Glasfaser sagte in Problem mit CSS bei Button in Dialog:

          !important

          Genial - das !improtant war es - vielen Dank!

          Glasfaser 1 Reply Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @jackblackson last edited by

            @jackblackson

            Dann setzte das Thema auf gelöst 😉

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            913
            Online

            31.9k
            Users

            80.1k
            Topics

            1.3m
            Posts

            vis
            2
            4
            296
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo