another xml theme format proposal

Mikachu mangosoft at comhem.se
Sat Sep 6 10:17:00 EDT 2003


I think this looks pretty nice and sane

--
Mikael Magnusson
-------------- next part --------------
<style>
  <menu
    overlap="0"
    >
    <title
      style="raised gradient crossdiagonal bevel1"
      color="#6699cc"
      colorTo="#334866"
      borderColor="#000000"
      textColor="#CCCCFF"
      justify="center"
      font="Technical:pixelsize=20:shadowoffset=2:shadowtint=35:shadow=y"
      />
    <items
      style="flat gradient horizontal bevel1"
      color="#555577"
      colorTo="#bbbbdd"
      borderColor="#000000"
      textColor="grey20"
      justify="center"
      font="Technical:pixelsize=14:shadowoffset=2:shadowtint=15:shadow=y"
      />
    <disabled
      textColor="grey40"
      />
    <selected
      style="raised gradient horizontal bevel1"
      color="#555577"
      colorTo="#6699cc"
      borderColor="#000000"
      textColor="#ccccff"
      />
    <bullet
      imageColor="#303080"
      >
      <selected
        imageColor="#3030c0"
        />
    </bullet>
  </menu>
  <window
    borderWidth="1"
    bevelWidth="1"
    handleWidth="4"
    frameWidth="1"
    borderColor="#223344"
    >
    <frame
      focusColor="00ff00"
      unfocusColor="grey50"
      />
    <title>
      <focus
        style="raised gradient crossdiagonal bevel1"
        color="#6699cc"
        colorTo="#334866"
        borderColor="#000000"
        />
      <unfocus
        style="flat gradient diagonal bevel1"
        color="#7f7f88"
        colorTo="#33333b"
        borderColor="#000000"
        />
    </title>
    <handle>
      <focus
        style="flat gradient crossdiagonal bevel1"
        color="#6699cc"
        colorTo="#334866"
        borderColor="#000000"
        />
      <unfocus
        style="flat gradient diagonal bevel1"
        color="grey50"
        colorTo="grey20"
        borderColor="#000000"
        />
    </handle>
    <grip>
      <focus
        style="parentrelative"
        />
      <unfocus
        style="parentrelative"
        />
    </grip>
    <label
      justify="left"
      >
      <focus
        style="parentrelative"
        textColor="#bfe9ff"
        font="Utopia-14:shadow=n"
        />
      <unfocus
        style="parentrelative"
        textColor="grey70"
        font="Utopia-14:shadowoffset=3:shadowtint=32:shadow=y"
        />
    </label>
    <button>
      <unpressed>
        <focus
          style="parentrelative"
          imageColor="grey85"
          />
        <unfocus
          style="parentrelative"
          imageColor="grey60"
          />
      </unpressed>
      <toggled>
        <focus
          style="sunken gradient crossdiagonal bevel1"
          color="#6699cc"
          colorTo="#334866"
          />
        <unfocus
          style="sunken gradient crossdiagonal bevel1"
          color="grey60"
          colorTo="grey20"
          />
      </toggled>
      <disabled>
        <focus
          style="parentrelative"
          imageColor="#000000"
          />
        <unfocus
          style="parentrelative"
          imageColor="#000000"
          />
      </disabled>
      <hover>
        <focus
          style="parentrelative"
          imageColor="#00ff00"
          />
        <unfocus
          style="parentrelative"
          imageColor="00cc00"
          />
      </hover>
    </button>
  </window>
</style>


More information about the openbox mailing list