mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-17 05:44:26 +03:00
49 lines
1.8 KiB
CSS
49 lines
1.8 KiB
CSS
/**
|
|
* Опросы
|
|
*
|
|
* @template polls/*.tpl
|
|
*
|
|
* @license GNU General Public License, version 2
|
|
* @copyright 2013 OOO "ЛС-СОФТ" {@link http://livestreetcms.com}
|
|
* @author Denis Shakhov <denis.shakhov@gmail.com>
|
|
*/
|
|
|
|
.poll { margin-bottom: 15px; background: #fafafa; padding: 15px; }
|
|
|
|
.poll-title { font-size: 20px; margin-bottom: 10px; }
|
|
|
|
.poll-answer-list { margin-bottom: 20px; margin-left: 0; list-style-type: none; }
|
|
|
|
.poll-answer-list-item { margin-bottom: 10px; }
|
|
.poll-answer-list-item:last-child { margin-bottom: 0; }
|
|
.poll-answer-list-item label { display: inline; }
|
|
|
|
|
|
/**
|
|
* Результат опроса
|
|
*
|
|
* @template polls/poll.result.tpl
|
|
*/
|
|
.poll-result { margin-bottom: 10px; padding: 15px 15px 0; background: #fff; border: 1px solid #eee; }
|
|
.poll-result-item { margin-bottom: 20px; overflow: hidden; zoom: 1; }
|
|
.poll-result-item-count { float: left; width: 50px; text-align: right; padding-right: 15px; }
|
|
.poll-result-item-count strong { display: block; }
|
|
.poll-result-item-count span { color: #aaa; }
|
|
.poll-result-item-chart { padding-left: 65px; }
|
|
.poll-result-item-bar { height: 10px; margin-top: 5px; background: #ccc; overflow: hidden; border-radius: 2px; }
|
|
|
|
.poll-result-item-most .poll-result-item-bar { background: #AC90DF; }
|
|
|
|
.poll-result-total { color: #aaa; margin-left: 10px; }
|
|
|
|
|
|
/**
|
|
* Создание опроса
|
|
*
|
|
* @template polls/poll.form.tpl
|
|
*/
|
|
.poll-form-answer-item { margin-bottom: 10px; padding-right: 25px; position: relative; }
|
|
.poll-form-answer-item:last-child { margin-bottom: 0; }
|
|
.poll-form-answer-item-remove { position: absolute; top: 7px; right: 0; cursor: pointer; }
|
|
|
|
.poll-form-list-item { padding: 10px 70px 10px 15px; background: #fff; margin-bottom: 1px; position: relative; } |