Alexander Makarov
12 years ago
28 changed files with 9115 additions and 6164 deletions
@ -0,0 +1,27 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
|
||||
use yii\web\AssetBundle; |
||||
|
||||
/** |
||||
* Bootstrap 2 theme for Bootstrap 3 |
||||
* |
||||
* @author Alexander Makarov <sam@rmcreative.ru> |
||||
* @since 2.0 |
||||
*/ |
||||
class BootstrapThemeAsset extends AssetBundle |
||||
{ |
||||
public $sourcePath = '@yii/bootstrap/assets'; |
||||
public $css = array( |
||||
'js/bootstrap-theme.css', |
||||
); |
||||
public $depends = array( |
||||
'yii\bootstrap\BootstrapAsset', |
||||
); |
||||
} |
@ -1,92 +0,0 @@
|
||||
<?php |
||||
/** |
||||
* @link http://www.yiiframework.com/ |
||||
* @copyright Copyright (c) 2008 Yii Software LLC |
||||
* @license http://www.yiiframework.com/license/ |
||||
*/ |
||||
|
||||
namespace yii\bootstrap; |
||||
|
||||
use Yii; |
||||
use yii\base\InvalidConfigException; |
||||
use yii\base\Model; |
||||
use yii\helpers\Html; |
||||
|
||||
/** |
||||
* Typeahead renders a typehead bootstrap javascript component. |
||||
* |
||||
* For example, |
||||
* |
||||
* ```php |
||||
* echo TypeAhead::widget(array( |
||||
* 'model' => $model, |
||||
* 'attribute' => 'country', |
||||
* 'clientOptions' => array( |
||||
* 'source' => array('USA', 'ESP'), |
||||
* ), |
||||
* )); |
||||
* ``` |
||||
* |
||||
* The following example will use the name property instead |
||||
* |
||||
* ```php |
||||
* echo TypeAhead::widget(array( |
||||
* 'name' => 'country', |
||||
* 'clientOptions' => array( |
||||
* 'source' => array('USA', 'ESP'), |
||||
* ), |
||||
* )); |
||||
*``` |
||||
* |
||||
* @see http://twitter.github.io/bootstrap/javascript.html#typeahead |
||||
* @author Antonio Ramirez <amigo.cobos@gmail.com> |
||||
* @since 2.0 |
||||
*/ |
||||
class Typeahead extends Widget |
||||
{ |
||||
/** |
||||
* @var \yii\base\Model the data model that this widget is associated with |
||||
*/ |
||||
public $model; |
||||
/** |
||||
* @var string the model attribute that this widget is associated with |
||||
*/ |
||||
public $attribute; |
||||
/** |
||||
* @var string the input name. This must be set if [[model]] and [[attribute]] are not set. |
||||
*/ |
||||
public $name; |
||||
/** |
||||
* @var string the input value. |
||||
*/ |
||||
public $value; |
||||
|
||||
|
||||
/** |
||||
* Renders the widget |
||||
*/ |
||||
public function run() |
||||
{ |
||||
echo $this->renderField(); |
||||
$this->registerPlugin('typeahead'); |
||||
} |
||||
|
||||
/** |
||||
* Renders the TypeAhead field. If [[model]] has been specified then it will render an active field. |
||||
* If [[model]] is null or not from an [[Model]] instance, then the field will be rendered according to |
||||
* the [[name]] attribute. |
||||
* @return string the rendering result |
||||
* @throws InvalidConfigException when none of the required attributes are set to render the textInput. |
||||
* That is, if [[model]] and [[attribute]] are not set, then [[name]] is required. |
||||
*/ |
||||
public function renderField() |
||||
{ |
||||
if ($this->model instanceof Model && $this->attribute !== null) { |
||||
return Html::activeTextInput($this->model, $this->attribute, $this->options); |
||||
} elseif ($this->name !== null) { |
||||
return Html::textInput($this->name, $this->value, $this->options); |
||||
} else { |
||||
throw new InvalidConfigException("Either 'name' or 'model' and 'attribute' properties must be specified."); |
||||
} |
||||
} |
||||
} |
File diff suppressed because one or more lines are too long
@ -0,0 +1,384 @@
|
||||
.btn-default, |
||||
.btn-primary, |
||||
.btn-success, |
||||
.btn-info, |
||||
.btn-warning, |
||||
.btn-danger { |
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); |
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); |
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); |
||||
} |
||||
|
||||
.btn-default:active, |
||||
.btn-primary:active, |
||||
.btn-success:active, |
||||
.btn-info:active, |
||||
.btn-warning:active, |
||||
.btn-danger:active, |
||||
.btn-default.active, |
||||
.btn-primary.active, |
||||
.btn-success.active, |
||||
.btn-info.active, |
||||
.btn-warning.active, |
||||
.btn-danger.active { |
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); |
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); |
||||
} |
||||
|
||||
.btn:active, |
||||
.btn.active { |
||||
background-image: none; |
||||
} |
||||
|
||||
.btn-default { |
||||
text-shadow: 0 1px 0 #fff; |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6)); |
||||
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%); |
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%); |
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #e0e0e0; |
||||
border-color: #ccc; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); |
||||
} |
||||
|
||||
.btn-default:active, |
||||
.btn-default.active { |
||||
background-color: #e6e6e6; |
||||
border-color: #e0e0e0; |
||||
} |
||||
|
||||
.btn-primary { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9)); |
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%); |
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%); |
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #2d6ca2; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0); |
||||
} |
||||
|
||||
.btn-primary:active, |
||||
.btn-primary.active { |
||||
background-color: #3071a9; |
||||
border-color: #2d6ca2; |
||||
} |
||||
|
||||
.btn-success { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44)); |
||||
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%); |
||||
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%); |
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #419641; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); |
||||
} |
||||
|
||||
.btn-success:active, |
||||
.btn-success.active { |
||||
background-color: #449d44; |
||||
border-color: #419641; |
||||
} |
||||
|
||||
.btn-warning { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f)); |
||||
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%); |
||||
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); |
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #eb9316; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); |
||||
} |
||||
|
||||
.btn-warning:active, |
||||
.btn-warning.active { |
||||
background-color: #ec971f; |
||||
border-color: #eb9316; |
||||
} |
||||
|
||||
.btn-danger { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c)); |
||||
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%); |
||||
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%); |
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #c12e2a; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); |
||||
} |
||||
|
||||
.btn-danger:active, |
||||
.btn-danger.active { |
||||
background-color: #c9302c; |
||||
border-color: #c12e2a; |
||||
} |
||||
|
||||
.btn-info { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5)); |
||||
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%); |
||||
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); |
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #2aabd2; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); |
||||
} |
||||
|
||||
.btn-info:active, |
||||
.btn-info.active { |
||||
background-color: #31b0d5; |
||||
border-color: #2aabd2; |
||||
} |
||||
|
||||
.thumbnail, |
||||
.img-thumbnail { |
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); |
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); |
||||
} |
||||
|
||||
.dropdown-menu > li > a:hover, |
||||
.dropdown-menu > li > a:focus, |
||||
.dropdown-menu > .active > a, |
||||
.dropdown-menu > .active > a:hover, |
||||
.dropdown-menu > .active > a:focus { |
||||
background-color: #357ebd; |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd)); |
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%); |
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%); |
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); |
||||
} |
||||
|
||||
.navbar { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8)); |
||||
background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%); |
||||
background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%); |
||||
background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%); |
||||
background-repeat: repeat-x; |
||||
border-radius: 4px; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); |
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075); |
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075); |
||||
} |
||||
|
||||
.navbar .navbar-nav > .active > a { |
||||
background-color: #f8f8f8; |
||||
} |
||||
|
||||
.navbar-brand, |
||||
.navbar-nav > li > a { |
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); |
||||
} |
||||
|
||||
.navbar-inverse { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222)); |
||||
background-image: -webkit-linear-gradient(top, #3c3c3c, 0%, #222222, 100%); |
||||
background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%); |
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); |
||||
} |
||||
|
||||
.navbar-inverse .navbar-nav > .active > a { |
||||
background-color: #222222; |
||||
} |
||||
|
||||
.navbar-inverse .navbar-brand, |
||||
.navbar-inverse .navbar-nav > li > a { |
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); |
||||
} |
||||
|
||||
.navbar-static-top, |
||||
.navbar-fixed-top, |
||||
.navbar-fixed-bottom { |
||||
border-radius: 0; |
||||
} |
||||
|
||||
.alert { |
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); |
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); |
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); |
||||
} |
||||
|
||||
.alert-success { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc)); |
||||
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #c8e5bc, 100%); |
||||
background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); |
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #b2dba1; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); |
||||
} |
||||
|
||||
.alert-info { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0)); |
||||
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #b9def0, 100%); |
||||
background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%); |
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #9acfea; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); |
||||
} |
||||
|
||||
.alert-warning { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0)); |
||||
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #f8efc0, 100%); |
||||
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); |
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #f5e79e; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); |
||||
} |
||||
|
||||
.alert-danger { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3)); |
||||
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #e7c3c3, 100%); |
||||
background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); |
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #dca7a7; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); |
||||
} |
||||
|
||||
.progress { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5)); |
||||
background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f5f5f5, 100%); |
||||
background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); |
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); |
||||
} |
||||
|
||||
.progress-bar { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9)); |
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%); |
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%); |
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0); |
||||
} |
||||
|
||||
.progress-bar-success { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44)); |
||||
background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%); |
||||
background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%); |
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); |
||||
} |
||||
|
||||
.progress-bar-info { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5)); |
||||
background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%); |
||||
background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); |
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); |
||||
} |
||||
|
||||
.progress-bar-warning { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f)); |
||||
background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%); |
||||
background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); |
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); |
||||
} |
||||
|
||||
.progress-bar-danger { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c)); |
||||
background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%); |
||||
background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%); |
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); |
||||
} |
||||
|
||||
.list-group { |
||||
border-radius: 4px; |
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); |
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); |
||||
} |
||||
|
||||
.list-group-item.active, |
||||
.list-group-item.active:hover, |
||||
.list-group-item.active:focus { |
||||
text-shadow: 0 -1px 0 #3071a9; |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3)); |
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #3278b3, 100%); |
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%); |
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #3278b3; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0); |
||||
} |
||||
|
||||
.panel { |
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); |
||||
} |
||||
|
||||
.panel-default > .panel-heading { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8)); |
||||
background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%); |
||||
background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); |
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); |
||||
} |
||||
|
||||
.panel-primary > .panel-heading { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd)); |
||||
background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%); |
||||
background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%); |
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); |
||||
} |
||||
|
||||
.panel-success > .panel-heading { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6)); |
||||
background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #d0e9c6, 100%); |
||||
background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); |
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); |
||||
} |
||||
|
||||
.panel-info > .panel-heading { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3)); |
||||
background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #c4e3f3, 100%); |
||||
background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); |
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); |
||||
} |
||||
|
||||
.panel-warning > .panel-heading { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc)); |
||||
background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #faf2cc, 100%); |
||||
background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); |
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); |
||||
} |
||||
|
||||
.panel-danger > .panel-heading { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc)); |
||||
background-image: -webkit-linear-gradient(top, #f2dede, 0%, #ebcccc, 100%); |
||||
background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%); |
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); |
||||
background-repeat: repeat-x; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); |
||||
} |
||||
|
||||
.well { |
||||
background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5)); |
||||
background-image: -webkit-linear-gradient(top, #e8e8e8, 0%, #f5f5f5, 100%); |
||||
background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); |
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); |
||||
background-repeat: repeat-x; |
||||
border-color: #dcdcdc; |
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); |
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); |
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); |
||||
} |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue