web/ldt/media/css/blueprint/plugins/buttons/readme.txt
author wakimd
Tue, 16 Nov 2010 14:15:07 +0100
changeset 9 22ab430e9b64
parent 1 3a30d255c235
permissions -rw-r--r--
Corrections on models and general structure
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     1
Buttons
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     2
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     3
* Gives you great looking CSS buttons, for both <a> and <button>.
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     4
* Demo: particletree.com/features/rediscovering-the-button-element
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     5
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     6
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     7
Credits
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     8
----------------------------------------------------------------
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
     9
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    10
* Created by Kevin Hale [particletree.com]
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    11
* Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    12
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    13
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    14
Usage
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    15
----------------------------------------------------------------
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    16
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    17
1) Add this plugin to lib/settings.yml.
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    18
   See compress.rb for instructions.
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    19
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    20
2) Use the following HTML code to place the buttons on your site:
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    21
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    22
  <button type="submit" class="button positive">
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    23
    <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    24
  </button>
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    25
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    26
  <a class="button" href="/password/reset/">
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    27
    <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    28
  </a>
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    29
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    30
  <a href="#" class="button negative">
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    31
    <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
3a30d255c235 First version of API with tests
wakimd
parents:
diff changeset
    32
  </a>