Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Visualisierung
  4. [Erledigt] CSS Anpassung jqui-Button State

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

[Erledigt] CSS Anpassung jqui-Button State

Scheduled Pinned Locked Moved Visualisierung
3 Posts 2 Posters 2.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mctom
    wrote on last edited by
    #1

    Hallo zusammen,

    ich passe gerade ein wenig meine Views an.

    Bei einer CSS Anpassung komme ich einfach nicht mehr weiter.

    Ich nutze den Button jqui-Button State.
    394_vis-button.png

    Wie bekomme ich es nun hin das der Text weiter links beginnt und nicht erst nach ein paar px?

    Hier meine aktuelle CSS config:

    .button4 .ui-corner-all
    {
    border-radius: 0px !important;
    }
    
    .button4 .ui-state-default {
        background: rgba(77, 77, 77, 1) !important;
        color: #ffffff !important;
        font-weight: normal !important;
        font-family: RobotoCondensed-Regular !important;
        font-size: 16px !important;
        border: 0px solid #ffffff !important;
        box-shadow: inset 0px 0px 1px #FFFFCC !important;;
        padding: 0px !important;
    }
    
    

    Vielen Dank für die Hilfe.

    Gruß

    Michael

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pix
      wrote on last edited by
      #2

      Hallo,

      habe das reproduziert: 261_bildschirmfoto_2017-06-22_um_14.22.44.jpg
      Zu Ansteuerung habe ih allerdings die individuelle Widget-ID verwendet #w01250

      Den Text kannst du mit dem Padding im Rahmen positionieren. Ein negatives Padding für links ist der Schlüssel.

      padding: oben rechts unten links
      ````Wenn der Wert 0 gesetzt wird, ist keine Einheit nötig.
      
      

      #w01250 .ui-button
      {
      border-radius: 0 !important;
      }

      #w01250 .ui-state-default {
      background: rgba(77, 77, 77, 1) !important;
      color: #ffffff !important;
      font-weight: normal !important;
      font-family: RobotoCondensed-Regular !important;
      font-size: 16px !important;
      border: 0 solid #ffffff !important;
      box-shadow: inset 0 0 1px #FFFFCC !important;;
      padding: 0 0 0 -10px !important;
      }

      
      Gruß
      
      Pix

      ioBroker auf Ubuntu in Proxmox (früher Mac mini (bis OS X 10.12.6 Sierra), VIS via iOS; angeschlossen: Homematic CCU2, Homepilot 1, ConBee II, einige Wemos, Sonos, Unifi CK+Protect, Homekit, Homebridge; KEIN blockly! Github-Profil

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mctom
        wrote on last edited by
        #3

        Hallo Pic,

        mit deiner Variante hat es leider auch nicht geklappt aber ich habe es jetzt trotzdem geschafft.

        Hier die CSS mit denen es klappt:

        .button4 .ui-button-text-only .ui-button-text {
            padding: 0 !important;
        }
        

        Gruß

        MIchael

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        603

        Online

        32.4k

        Users

        81.4k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe