diff options
Diffstat (limited to 'chimere/static/bsmSelect/css')
| -rw-r--r-- | chimere/static/bsmSelect/css/jquery.bsmselect.css | 64 | ||||
| -rw-r--r-- | chimere/static/bsmSelect/css/jquery.bsmselect.custom.css | 45 |
2 files changed, 109 insertions, 0 deletions
diff --git a/chimere/static/bsmSelect/css/jquery.bsmselect.css b/chimere/static/bsmSelect/css/jquery.bsmselect.css new file mode 100644 index 0000000..ad770d0 --- /dev/null +++ b/chimere/static/bsmSelect/css/jquery.bsmselect.css @@ -0,0 +1,64 @@ +.bsmContainer { + /* container that surrounds entire bsmSelect widget */ +} + +.bsmSelect { + /* the newly created regular 'select' */ + display: inline; +} + +.bsmOptionDisabled { + /* disabled options in new select */ + color: #999; +} + +.bsmHighlight { + /* the highlight span */ + float: right; + padding: 0; + margin: 0 0 0 1em; +} + +.bsmList { + /* html list that contains selected items */ + margin: 0.25em 0 1em 0; + position: relative; + display: block; + padding-left: 0; + list-style: none; +} + +.bsmListItem { + /* li item from the html list above */ + position: relative; + margin-left: 0; + padding-left: 0; + list-style: none; + background: #ddd; + border: 1px solid #bbb; + width: 100%; + margin: 0 0 -1px 0; + line-height: 1em; +} + +.bsmListItem:hover { + background-color: #e5e5e5; +} + +.bsmListItemLabel { + /* this is a span that surrounds the text in the item, except for the remove link */ + padding: 5px; + display: block; +} + +.bsmListSortable .bsmListItemLabel { + cursor: move; +} + +.bsmListItemRemove { + /* the remove link in each list item */ + position: absolute; + right: 0; + top: 0; + padding: 5px; +} diff --git a/chimere/static/bsmSelect/css/jquery.bsmselect.custom.css b/chimere/static/bsmSelect/css/jquery.bsmselect.custom.css new file mode 100644 index 0000000..8c48aeb --- /dev/null +++ b/chimere/static/bsmSelect/css/jquery.bsmselect.custom.css @@ -0,0 +1,45 @@ +.bsmListSortableCustom li { + cursor: move; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + margin: 2px 0; +} + +.bsmList-custom { + /* html list that contains selected items */ + margin: 0.25em 0 0.25em 0; + display: block; + padding-left: 0; + list-style: none; +} + +.bsmListItem-custom { + /* li item from the html list above */ + margin: 0 5px 5px 0; + padding: 4px; + list-style: none; + background: #ddd; + border: 1px solid #bbb; + line-height: 1em; + float: left; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + +.bsmListItem-custom:hover { + background-color: #e5e5e5; + box-shadow: 0 0 3px #aaa; + -webkit-box-shadow: 0 0 3px #aaa; + -moz-box-shadow: 0 0 3px #aaa; +} + +.bsmListItemLabel-custom { + padding-right: 5px; +} + +.bsmListItemRemove-custom { + text-decoration: none; +} + |
