Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. [gelöst] jqui-icon-dialog - Inhalt Dialogbox (Farben) invertieren

    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] jqui-icon-dialog - Inhalt Dialogbox (Farben) invertieren

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

      Hi zusammen.

      Ich hab in VIS ein paar flot-Diagramme und habe diese mit Hilfe folgenden CSS-Eintrages die Diagramme invertiert.

      .invert {
          -webkit-filter: invert(.8);
          filter: invert(.8);
      }
      
      

      1058_bildschirmfoto_vom_2019-01-26_20-34-38.png

      Jetzt würde ich gerne auch den Inhalt (Flot-Diagramm als iframe) in einem Dialog (jqui-icon-dialog) invertieren aber leider klappt das nicht.
      1058_bildschirmfoto_vom_2019-01-26_20-41-19.png

      Weiß vielleicht jemand wie ich css auf den Inhalt einer Dialog-Box anwede?

      Gruß

      Johnny

      1 Reply Last reply Reply Quote 0
      • P
        PrinzEisenherz1 last edited by

        Keiner ne Idee? 😄

        Oder geht sowas in ner Dialogbox nicht?

        Gruß Johnny

        1 Reply Last reply Reply Quote 0
        • D
          dexter last edited by

          eine idee wäre es den iframe über ein html widget aufzurufen und ihm die css Klasse mitzugeben. Weiss nicht ob das funktioniert aber einen Versuch ist es wert.

          https://www.w3schools.com/html/html_iframe.asp

          1 Reply Last reply Reply Quote 0
          • P
            PrinzEisenherz1 last edited by

            Danke Dexter für Deine Antwort, hab es aber am Sonntag dann doch noch selber hinbekommen.

            Für den ders vielleicht auch mal brauchen kann:

            in der Dialogbox den iframe wie folgt eibetten:

            
            <iframe src="http://................."></iframe>
            
            

            und den dazugehörigen css-code unter css-projekte

            #iframecontainer {
              max-width: 100%;
              max-height: 100%;
              margin: 0 auto;
              padding: 2px;
            }
            
            #iframecontainer:nth-of-type(1) {
              width: 100%;
              height: 100%;
              filter: invert(.8);
            }
            
            

            So hat es dann geklappt bei mir.

            Gruß

            Johnny

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

            Support us

            ioBroker
            Community Adapters
            Donate

            822
            Online

            31.9k
            Users

            80.1k
            Topics

            1.3m
            Posts

            2
            4
            507
            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