Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. VIS ButtonState Style/Color ändern

    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

    VIS ButtonState Style/Color ändern

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

      Hallo Zusammen,
      ich bin gerade dabei die Visualisierung für mein 'smart home' aufzusetzen und komme eigentlich gut voran. Ich bin an dem Punkt, wo ich das Styling finalisieren will, nur leider wollen die ButtonState widgets nicht auf meine Einstellungen reagieren. Zum Beispiel würde ich gerne die Reaktion auf 'Mouse Hover' (siehe Bild -> button färb sich blau) und 'Mouse Click' (siehe zweites Bild -> button färbt sich orange) ändern. Ich habe auch schon mit CSS gespielt, nur leider ohne erfolg.

      Gibt es eine Lösung für das Problem? Ich glaube das Problem gilt für alle jqui widgets.

      Pic1.PNG Pic2.PNG

      #ButtonState

      .MKTempModeStyle {
      background: #000000 ;
      color: #ffffff !important;
      font-family: Tahoma;
      font-size: 13px;
      border: 1px solid #000000;
      }
      
      .MKTempModeStyle .ui-button {
      background: #000000;
      color: #ffffff !important;
      font-family: Tahoma;
      font-size: 13px;
      border: 1px solid #000000;
      }
       
      .MKTempModeStyle .ui-state-active {
      background: #f9e686 ;
      color: #000000 !important;
      font-family: Tahoma;
      font-size: 13px;
      }
      
      .MKTempModeStyle:hover  {
      background: #000000;
      color:  #f9e686;
      font-family: Tahoma;
      font-size: 10px;
      }
      
      1 Reply Last reply Reply Quote 0
      • A
        adrian_1982 last edited by

        Hallo Zusammen,

        anbei mein Zwischenstand:

        .mybuttonstyle .ui-button {
        background: linear-gradient(0deg, #263238 15%, #4f5b62 50%,#263238 85%) !important;
        color: #ffffff !important;
        padding-top: 55px !important;
        padding-left:0px !important;
        text-align: center !important; 
        }
        
        .mybuttonstyle .ui-button-text{
            padding-left: 0px !important;
            padding-right:0px !important;
            text-align: center !important;
        }
        
        .myhomestyle .ui-state-hover  {
        background : #7f0000 !important;
        }
        
        .myhomestyle .ui-state-active {
        background: #7f0000 !important;
        }
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        663
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        vis
        1
        2
        855
        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