kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
138 lines
5.3 KiB
138 lines
5.3 KiB
11 years ago
|
# Buttons
|
||
|
|
||
10 years ago
|
## Default buttons
|
||
11 years ago
|
|
||
11 years ago
|
```
|
||
10 years ago
|
<button class="***button***"><i class="button--icon icon-watch-1"></i><span class="button--text">Watch</span></button>
|
||
|
<button class="***button***"><i class="button--icon icon-watch-1"></i></button>
|
||
10 years ago
|
<button class="***button***">Watch</button>
|
||
|
<button class="***button***" disabled>
|
||
10 years ago
|
<i class="button--icon icon-watch-1"></i><span class="button--text">Watch</span>
|
||
10 years ago
|
</button>
|
||
|
<br>
|
||
10 years ago
|
|
||
10 years ago
|
<a href="#" class="***button*** -with-icon icon-watch-1">Watch</a>
|
||
10 years ago
|
<a href="#" class="***button***">Click to watch</a>
|
||
10 years ago
|
|
||
10 years ago
|
<input type="submit" class="***button***" value="Submit to watch"/>
|
||
|
<input type="submit" class="***button***" value="Do not watch" disabled />
|
||
11 years ago
|
```
|
||
|
|
||
10 years ago
|
## Highlight buttons
|
||
|
|
||
11 years ago
|
```
|
||
10 years ago
|
<button class="button ***-highlight***"><i class="button--icon icon-yes"></i><span class="button--text">Apply</span></button>
|
||
|
<button class="button ***-highlight***"><i class="button--icon icon-yes"></i></button>
|
||
10 years ago
|
<button class="button ***-highlight***">Apply</button>
|
||
|
<button class="button ***-highlight***" disabled>
|
||
10 years ago
|
<i class="button--icon icon-yes"></i><span class="button--text">Apply</span>
|
||
10 years ago
|
</button>
|
||
|
<br>
|
||
|
|
||
10 years ago
|
<a href="#" class="button ***-highlight*** -with-icon icon-yes">Apply</a>
|
||
10 years ago
|
<a href="#" class="button ***-highlight***">Click to apply</a>
|
||
10 years ago
|
|
||
10 years ago
|
<input type="submit" class="button ***-highlight***" value="Submit to apply"/>
|
||
|
<input type="submit" class="button ***-highlight***" value="Do not apply" disabled />
|
||
11 years ago
|
```
|
||
11 years ago
|
|
||
10 years ago
|
|
||
10 years ago
|
## Alternative highlight buttons
|
||
10 years ago
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-alt-highlight***"><i class="button--icon icon-add"></i><span class="button--text">Create</span></button>
|
||
|
<button class="button ***-alt-highlight***"><i class="button--icon icon-add"></i></button>
|
||
|
<button class="button ***-alt-highlight***">Create</button>
|
||
|
<button class="button ***-alt-highlight***" disabled>
|
||
|
<i class="button--icon icon-add"></i><span class="button--text">Create</span>
|
||
10 years ago
|
</button>
|
||
|
<br>
|
||
|
|
||
10 years ago
|
<a href="#" class="button ***-alt-highlight*** -with-icon icon-add">Create</a>
|
||
|
<a href="#" class="button ***-alt-highlight***">Click to create</a>
|
||
10 years ago
|
|
||
10 years ago
|
<input type="submit" class="button ***-alt-highlight***" value="Submit to create"/>
|
||
|
<input type="submit" class="button ***-alt-highlight***" value="Do not create" disabled />
|
||
10 years ago
|
```
|
||
|
|
||
|
|
||
10 years ago
|
## Active (depressed) buttons
|
||
|
|
||
11 years ago
|
```
|
||
10 years ago
|
<button class="button ***-active***"><i class="button--icon icon-fire"></i><span class="button--text">Connect</span></button>
|
||
|
<button class="button ***-active***"><i class="button--icon icon-fire"></i></button>
|
||
10 years ago
|
<button class="button ***-active***">Connect</button>
|
||
|
<button class="button ***-active***" disabled>
|
||
10 years ago
|
<i class="button--icon icon-fire"></i><span class="button--text">Connect</span>
|
||
10 years ago
|
</button>
|
||
|
<br>
|
||
|
|
||
10 years ago
|
<a href="#" class="button ***-active*** -with-icon icon-fire">Connect</a>
|
||
10 years ago
|
<a href="#" class="button ***-active***">Click to connect</a>
|
||
10 years ago
|
|
||
10 years ago
|
<input type="submit" class="button ***-active***" value="Submit to connect"/>
|
||
|
<input type="submit" class="button ***-active***" value="Do not connect" disabled />
|
||
11 years ago
|
```
|
||
10 years ago
|
|
||
10 years ago
|
## Transparent buttons
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-transparent***"><i class="button--icon icon-bubble3"></i><span class="button--text">Comment</span></button>
|
||
|
<button class="button ***-transparent***"><i class="button--icon icon-bubble3"></i></button>
|
||
10 years ago
|
<button class="button ***-transparent***">Comment</button>
|
||
|
<button class="button ***-transparent***" disabled>
|
||
10 years ago
|
<i class="button--icon icon-bubble3"></i><span class="button--text">Comment</span>
|
||
10 years ago
|
</button>
|
||
|
<br>
|
||
|
|
||
10 years ago
|
<a href="#" class="button ***-transparent*** -with-icon icon-bubble3">Comment</a>
|
||
10 years ago
|
<a href="#" class="button ***-transparent***">Click to comment</a>
|
||
10 years ago
|
|
||
10 years ago
|
<input type="submit" class="button ***-transparent***" value="Submit to comment"/>
|
||
|
<input type="submit" class="button ***-transparent***" value="Do not comment" disabled />
|
||
10 years ago
|
```
|
||
|
|
||
10 years ago
|
## Button sizes
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-tiny***"><i class="button--icon icon-star1"></i></button>
|
||
|
<button class="button ***-tiny***"><i class="button--icon icon-star1"></i><span class="button--text">Tiny</span></button>
|
||
10 years ago
|
<button class="button ***-tiny***">Tiny</button>
|
||
10 years ago
|
<button class="button ***-tiny*** -with-icon icon-star1">Tiny</button>
|
||
10 years ago
|
```
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-small***"><i class="button--icon icon-star1"></i></button>
|
||
|
<button class="button ***-small***"><i class="button--icon icon-star1"></i><span class="button--text">Small</span></button>
|
||
10 years ago
|
<button class="button ***-small***">Small</button>
|
||
10 years ago
|
<button class="button ***-small*** -with-icon icon-star1">Small</button>
|
||
10 years ago
|
```
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="***button***"><i class="button--icon icon-star1"></i></button>
|
||
|
<button class="***button***"><i class="button--icon icon-star1"></i><span class="button--text">Default</span></button>
|
||
10 years ago
|
<button class="***button***">Default</button>
|
||
10 years ago
|
<button class="***button*** -with-icon icon-star1">Default</button>
|
||
10 years ago
|
```
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-large***"><i class="button--icon icon-star1"></i></button>
|
||
|
<button class="button ***-large***"><i class="button--icon icon-star1"></i><span class="button--text">Large</span></button>
|
||
10 years ago
|
<button class="button ***-large***">Large</button>
|
||
10 years ago
|
<button class="button ***-large*** -with-icon icon-star1">Large</button>
|
||
10 years ago
|
```
|
||
|
|
||
|
## Expanded buttons
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-expand***">Expanded button</button>
|
||
|
<a href="#" class="button ***-expand***">Expanded button as link</a>
|
||
10 years ago
|
```
|
||
10 years ago
|
|
||
|
## Rounded buttons
|
||
|
|
||
|
```
|
||
10 years ago
|
<button class="button ***-round***">Rounded button</button>
|
||
|
<a href="#" class="button ***-round***">Rounded button as link</a>
|
||
10 years ago
|
```
|