linuxmint/Cinnamon — pull request #1055 by rjanja (2012-08-28 14:44:29+00:00)
Title: Adds radio buttons and groups and checkboxes

Following the discussion I had with @glebihan I've added radio buttons and checkboxes for building Cinnamon-looking controls.

The default look committed to Cinnamon theme lacks colour but if colour is desired I suggest adding a `background-color` to the StBin and then `box-shadow` to each of the four StBin definitions.

E.g.

```
.radiobutton CinnamonGenericContainer {
spacing: .2em;
height: 26px;
padding-top: 2px;
}

.radiobutton StBin {
width: 22px;
height: 22px;
background-color: #c2dda7;
background-image: url("radiobutton-off.svg");
border-radius: 15px;
box-shadow: inset 0px 0px 15px rgba(194, 221, 167, 0.1);
}

.radiobutton:focus StBin {
background-image: url("radiobutton-off.svg");
box-shadow: inset 0px 0px 15px rgba(194, 221, 167, 0.5);
}

.radiobutton:checked StBin {
background-image: url("radiobutton.svg");
box-shadow: inset 0px 0px 15px rgba(194, 221, 167, 0.1);
}

.radiobutton:focus:checked StBin {
background-image: url("radiobutton.svg");
box-shadow: inset 0px 0px 15px rgba(194, 221, 167, 0.5);
}

.radiobutton StLabel {
padding-top: 4px;
font-size: 0.9em;
box-shadow: none;
}
```

Becomes:
![sample radios](http://i.imgur.com/sqnKa.png "sample radio buttons in group")