MediaWiki:Vector.css : Différence entre versions

De Documentation ISIOS
Aller à : navigation, rechercher
 
Ligne 40 : Ligne 40 :
 
           box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
 
           box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
 
}
 
}
.btn.disabled > a,
+
 
.btn[disabled],
 
fieldset[disabled] .btn {
 
  pointer-events: none;
 
  cursor: not-allowed;
 
  filter: alpha(opacity=65);
 
  -webkit-box-shadow: none;
 
          box-shadow: none;
 
  opacity: .65;
 
}
 
 
.btn-default > a {
 
.btn-default > a {
 
   color: #333;
 
   color: #333;
Ligne 55 : Ligne 46 :
 
   border-color: #ccc;
 
   border-color: #ccc;
 
}
 
}
.btn-default:hover,
+
.btn-default > a:hover,
.btn-default:focus,
+
.btn-default > a:focus,
.btn-default:active,
+
.btn-default > a:active {
.btn-default.active,
 
.open .dropdown-toggle.btn-default {
 
 
   color: #333;
 
   color: #333;
 
   background-color: #ebebeb;
 
   background-color: #ebebeb;
 
   border-color: #adadad;
 
   border-color: #adadad;
 
}
 
}
.btn-default:active,
+
 
.btn-default.active,
 
.open .dropdown-toggle.btn-default {
 
  background-image: none;
 
}
 
.btn-default.disabled,
 
.btn-default[disabled],
 
fieldset[disabled] .btn-default,
 
.btn-default.disabled:hover,
 
.btn-default[disabled]:hover,
 
fieldset[disabled] .btn-default:hover,
 
.btn-default.disabled:focus,
 
.btn-default[disabled]:focus,
 
fieldset[disabled] .btn-default:focus,
 
.btn-default.disabled:active,
 
.btn-default[disabled]:active,
 
fieldset[disabled] .btn-default:active,
 
.btn-default.disabled.active,
 
.btn-default[disabled].active,
 
fieldset[disabled] .btn-default.active {
 
  background-color: #fff;
 
  border-color: #ccc;
 
}
 
.btn-default .badge {
 
  color: #fff;
 
  background-color: #333;
 
}
 
 
.btn-primary  > a{
 
.btn-primary  > a{
 
   color: #fff;
 
   color: #fff;
Ligne 110 : Ligne 73 :
 
   background-image: none;
 
   background-image: none;
 
}
 
}
.btn-primary.disabled,
+
 
.btn-primary[disabled],
+
.btn-primary .badge > a {
fieldset[disabled] .btn-primary,
 
.btn-primary.disabled:hover,
 
.btn-primary[disabled]:hover,
 
fieldset[disabled] .btn-primary:hover,
 
.btn-primary.disabled:focus,
 
.btn-primary[disabled]:focus,
 
fieldset[disabled] .btn-primary:focus,
 
.btn-primary.disabled:active,
 
.btn-primary[disabled]:active,
 
fieldset[disabled] .btn-primary:active,
 
.btn-primary.disabled.active,
 
.btn-primary[disabled].active,
 
fieldset[disabled] .btn-primary.active {
 
  background-color: #428bca;
 
  border-color: #357ebd;
 
}
 
.btn-primary .badge {
 
 
   color: #428bca;
 
   color: #428bca;
 
   background-color: #fff;
 
   background-color: #fff;
Ligne 147 : Ligne 93 :
 
}
 
}
 
.btn-success:active > a,
 
.btn-success:active > a,
.btn-success.active > a,
+
.btn-success.active,
 
.open .dropdown-toggle.btn-success {
 
.open .dropdown-toggle.btn-success {
 
   background-image: none;
 
   background-image: none;
 
}
 
}
.btn-success.disabled,
+
.btn-success .badge > a {
.btn-success[disabled],
 
fieldset[disabled] .btn-success,
 
.btn-success.disabled:hover,
 
.btn-success[disabled]:hover,
 
fieldset[disabled] .btn-success:hover,
 
.btn-success.disabled:focus,
 
.btn-success[disabled]:focus,
 
fieldset[disabled] .btn-success:focus,
 
.btn-success.disabled:active,
 
.btn-success[disabled]:active,
 
fieldset[disabled] .btn-success:active,
 
.btn-success.disabled.active,
 
.btn-success[disabled].active,
 
fieldset[disabled] .btn-success.active {
 
  background-color: #5cb85c;
 
  border-color: #4cae4c;
 
}
 
.btn-success .badge {
 
 
   color: #5cb85c;
 
   color: #5cb85c;
 
   background-color: #fff;
 
   background-color: #fff;
Ligne 178 : Ligne 106 :
 
   border-color: #46b8da;
 
   border-color: #46b8da;
 
}
 
}
.btn-info:hover,
+
.btn-info > a:hover,
.btn-info:focus,
+
.btn-info > a:focus,
.btn-info:active,
+
.btn-info > a:active,
 
.btn-info.active,
 
.btn-info.active,
 
.open .dropdown-toggle.btn-info {
 
.open .dropdown-toggle.btn-info {
Ligne 187 : Ligne 115 :
 
   border-color: #269abc;
 
   border-color: #269abc;
 
}
 
}
.btn-info:active,
+
.btn-info > a:active,
 
.btn-info.active,
 
.btn-info.active,
 
.open .dropdown-toggle.btn-info {
 
.open .dropdown-toggle.btn-info {
 
   background-image: none;
 
   background-image: none;
 
}
 
}
.btn-info.disabled,
+
.btn-info .badge > a {
.btn-info[disabled],
 
fieldset[disabled] .btn-info,
 
.btn-info.disabled:hover,
 
.btn-info[disabled]:hover,
 
fieldset[disabled] .btn-info:hover,
 
.btn-info.disabled:focus,
 
.btn-info[disabled]:focus,
 
fieldset[disabled] .btn-info:focus,
 
.btn-info.disabled:active,
 
.btn-info[disabled]:active,
 
fieldset[disabled] .btn-info:active,
 
.btn-info.disabled.active,
 
.btn-info[disabled].active,
 
fieldset[disabled] .btn-info.active {
 
  background-color: #5bc0de;
 
  border-color: #46b8da;
 
}
 
.btn-info .badge {
 
 
   color: #5bc0de;
 
   color: #5bc0de;
 
   background-color: #fff;
 
   background-color: #fff;
 
}
 
}
.btn-warning {
+
.btn-warning > a{
 
   color: #fff;
 
   color: #fff;
 
   background-color: #f0ad4e;
 
   background-color: #f0ad4e;
 
   border-color: #eea236;
 
   border-color: #eea236;
 
}
 
}
.btn-warning:hover,
+
.btn-warning > a:hover,
.btn-warning:focus,
+
.btn-warning > a:focus,
.btn-warning:active,
+
.btn-warning > a:active,
 
.btn-warning.active,
 
.btn-warning.active,
 
.open .dropdown-toggle.btn-warning {
 
.open .dropdown-toggle.btn-warning {
Ligne 228 : Ligne 138 :
 
   border-color: #d58512;
 
   border-color: #d58512;
 
}
 
}
.btn-warning:active,
+
.btn-warning > a:active,
 
.btn-warning.active,
 
.btn-warning.active,
 
.open .dropdown-toggle.btn-warning {
 
.open .dropdown-toggle.btn-warning {
 
   background-image: none;
 
   background-image: none;
 
}
 
}
.btn-warning.disabled,
+
.btn-warning .badge > a {
.btn-warning[disabled],
 
fieldset[disabled] .btn-warning,
 
.btn-warning.disabled:hover,
 
.btn-warning[disabled]:hover,
 
fieldset[disabled] .btn-warning:hover,
 
.btn-warning.disabled:focus,
 
.btn-warning[disabled]:focus,
 
fieldset[disabled] .btn-warning:focus,
 
.btn-warning.disabled:active,
 
.btn-warning[disabled]:active,
 
fieldset[disabled] .btn-warning:active,
 
.btn-warning.disabled.active,
 
.btn-warning[disabled].active,
 
fieldset[disabled] .btn-warning.active {
 
  background-color: #f0ad4e;
 
  border-color: #eea236;
 
}
 
.btn-warning .badge {
 
 
   color: #f0ad4e;
 
   color: #f0ad4e;
 
   background-color: #fff;
 
   background-color: #fff;
 
}
 
}
.btn-danger {
+
.btn-danger > a{
 
   color: #fff;
 
   color: #fff;
 
   background-color: #d9534f;
 
   background-color: #d9534f;
 
   border-color: #d43f3a;
 
   border-color: #d43f3a;
 
}
 
}
.btn-danger:hover,
+
.btn-danger > a:hover,
.btn-danger:focus,
+
.btn-danger > a:focus,
.btn-danger:active,
+
.btn-danger > a:active,
 
.btn-danger.active,
 
.btn-danger.active,
 
.open .dropdown-toggle.btn-danger {
 
.open .dropdown-toggle.btn-danger {
Ligne 269 : Ligne 161 :
 
   border-color: #ac2925;
 
   border-color: #ac2925;
 
}
 
}
.btn-danger:active,
+
.btn-danger > a:active,
 
.btn-danger.active,
 
.btn-danger.active,
 
.open .dropdown-toggle.btn-danger {
 
.open .dropdown-toggle.btn-danger {
 
   background-image: none;
 
   background-image: none;
 
}
 
}
.btn-danger.disabled,
+
.btn-danger .badge > a {
.btn-danger[disabled],
 
fieldset[disabled] .btn-danger,
 
.btn-danger.disabled:hover,
 
.btn-danger[disabled]:hover,
 
fieldset[disabled] .btn-danger:hover,
 
.btn-danger.disabled:focus,
 
.btn-danger[disabled]:focus,
 
fieldset[disabled] .btn-danger:focus,
 
.btn-danger.disabled:active,
 
.btn-danger[disabled]:active,
 
fieldset[disabled] .btn-danger:active,
 
.btn-danger.disabled.active,
 
.btn-danger[disabled].active,
 
fieldset[disabled] .btn-danger.active {
 
  background-color: #d9534f;
 
  border-color: #d43f3a;
 
}
 
.btn-danger .badge {
 
 
   color: #d9534f;
 
   color: #d9534f;
 
   background-color: #fff;
 
   background-color: #fff;
 
}
 
}
.btn-link {
+
 
  font-weight: normal;
+
.btn-lg > a{
  color: #428bca;
 
  cursor: pointer;
 
  border-radius: 0;
 
}
 
.btn-link,
 
.btn-link:active,
 
.btn-link[disabled],
 
fieldset[disabled] .btn-link {
 
  background-color: transparent;
 
  -webkit-box-shadow: none;
 
          box-shadow: none;
 
}
 
.btn-link,
 
.btn-link:hover,
 
.btn-link:focus,
 
.btn-link:active {
 
  border-color: transparent;
 
}
 
.btn-link:hover,
 
.btn-link:focus {
 
  color: #2a6496;
 
  text-decoration: underline;
 
  background-color: transparent;
 
}
 
.btn-link[disabled]:hover,
 
fieldset[disabled] .btn-link:hover,
 
.btn-link[disabled]:focus,
 
fieldset[disabled] .btn-link:focus {
 
  color: #999;
 
  text-decoration: none;
 
}
 
.btn-lg {
 
 
   padding: 10px 16px;
 
   padding: 10px 16px;
 
   font-size: 18px;
 
   font-size: 18px;
Ligne 335 : Ligne 177 :
 
   border-radius: 6px;
 
   border-radius: 6px;
 
}
 
}
.btn-sm {
+
.btn-sm > a {
 
   padding: 5px 10px;
 
   padding: 5px 10px;
 
   font-size: 12px;
 
   font-size: 12px;
Ligne 341 : Ligne 183 :
 
   border-radius: 3px;
 
   border-radius: 3px;
 
}
 
}
.btn-xs {
+
.btn-xs > a {
 
   padding: 1px 5px;
 
   padding: 1px 5px;
 
   font-size: 12px;
 
   font-size: 12px;
Ligne 347 : Ligne 189 :
 
   border-radius: 3px;
 
   border-radius: 3px;
 
}
 
}
.btn-block {
+
.btn-block > a{
 
   display: block;
 
   display: block;
 
   width: 100%;
 
   width: 100%;
Ligne 353 : Ligne 195 :
 
   padding-left: 0;
 
   padding-left: 0;
 
}
 
}
.btn-block + .btn-block {
+
.btn-block > a + .btn-block > a {
 
   margin-top: 5px;
 
   margin-top: 5px;
}
 
input[type="submit"].btn-block,
 
input[type="reset"].btn-block,
 
input[type="button"].btn-block {
 
  width: 100%;
 
 
}
 
}

Version actuelle datée du 14 février 2014 à 23:10

/* Le CSS placé ici affectera les utilisateurs de l’habillage Vector. */

.btn > a {
  color:#fff;
  text-decoration:none;
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.428571429;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
       -o-user-select: none;
          user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
.btn > a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn > a:hover,
.btn > a:focus {
  color: #333;
  text-decoration: none;
}
.btn:active > a,
.btn.active > a {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

.btn-default > a {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-default > a:hover,
.btn-default > a:focus,
.btn-default > a:active {
  color: #333;
  background-color: #ebebeb;
  border-color: #adadad;
}

.btn-primary  > a{
  color: #fff;
  background-color: #428bca;
  border-color: #357ebd;
}
.btn-primary > a:hover,
.btn-primary > a:focus,
.btn-primary > a:active,
.btn-primary.active > a,
.open .dropdown-toggle.btn-primary {
  color: #fff;
  background-color: #3276b1;
  border-color: #285e8e;
}
.btn-primary:active > a,
.btn-primary.active > a,
.open .dropdown-toggle.btn-primary {
  background-image: none;
}

.btn-primary .badge  > a {
  color: #428bca;
  background-color: #fff;
}
.btn-success > a{
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}
.btn-success > a:hover,
.btn-success > a:focus,
.btn-success > a:active,
.btn-success.active > a,
.open .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #47a447;
  border-color: #398439;
}
.btn-success:active > a,
.btn-success.active,
.open .dropdown-toggle.btn-success {
  background-image: none;
}
.btn-success .badge > a {
  color: #5cb85c;
  background-color: #fff;
}
.btn-info > a{
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}
.btn-info > a:hover,
.btn-info > a:focus,
.btn-info > a:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  color: #fff;
  background-color: #39b3d7;
  border-color: #269abc;
}
.btn-info > a:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
  background-image: none;
}
.btn-info .badge  > a {
  color: #5bc0de;
  background-color: #fff;
}
.btn-warning  > a{
  color: #fff;
  background-color: #f0ad4e;
  border-color: #eea236;
}
.btn-warning > a:hover,
.btn-warning > a:focus,
.btn-warning > a:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ed9c28;
  border-color: #d58512;
}
.btn-warning > a:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
  background-image: none;
}
.btn-warning .badge > a {
  color: #f0ad4e;
  background-color: #fff;
}
.btn-danger  > a{
  color: #fff;
  background-color: #d9534f;
  border-color: #d43f3a;
}
.btn-danger > a:hover,
.btn-danger > a:focus,
.btn-danger > a:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
  color: #fff;
  background-color: #d2322d;
  border-color: #ac2925;
}
.btn-danger > a:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
  background-image: none;
}
.btn-danger .badge > a {
  color: #d9534f;
  background-color: #fff;
}

.btn-lg > a{
  padding: 10px 16px;
  font-size: 18px;
  line-height: 1.33;
  border-radius: 6px;
}
.btn-sm > a {
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.btn-xs > a {
  padding: 1px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
.btn-block  > a{
  display: block;
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}
.btn-block  > a + .btn-block > a {
  margin-top: 5px;
}