MDL-64506 theme_bootstrapbase: Remove bootstrapbase from core
This commit is contained in:
+1
-267
@@ -28,12 +28,8 @@ if (file_exists(__DIR__.'/../config.php')) {
|
||||
die;
|
||||
}
|
||||
|
||||
// include only the necessary stuff from themes, keep this small otherwise IE will complain...
|
||||
|
||||
// MDL-43839 IE9 cannot handle all of our css.
|
||||
// Once IE9 is no longer supported we can include 'bootstrapbase/style/moodle.css'
|
||||
// and remove some of the CSS in $content.
|
||||
$files = array();
|
||||
$files = array('boost/style/moodle.css');
|
||||
|
||||
$content = '';
|
||||
|
||||
@@ -114,268 +110,6 @@ fieldset .alert {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*
|
||||
MDL-43839 IE9 cannot handle all of our CSS.
|
||||
Once IE9 is no longer supported we can include 'bootstrapbase/style/moodle.css' above
|
||||
and remove the following.
|
||||
*/
|
||||
|
||||
#page-footer {
|
||||
padding: 1em 0;
|
||||
margin-top: 1em;
|
||||
border-top: 2px solid #ddd;
|
||||
}
|
||||
|
||||
.fitem {
|
||||
clear:both;
|
||||
text-align:left;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.fitemtitle {
|
||||
float: left;
|
||||
width: 245px;
|
||||
text-align: right;
|
||||
}
|
||||
html[dir=rtl] .fitemtitle {
|
||||
float: right;
|
||||
}
|
||||
label {
|
||||
font-weight: bold;
|
||||
display: inline-block;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.fitemelement {
|
||||
margin-left: 265px;
|
||||
}
|
||||
html[dir=rtl] .fitemelement {
|
||||
margin-right: 265px;
|
||||
margin-left: 0;
|
||||
direction: ltr;
|
||||
}
|
||||
.alert, .alert h4 {
|
||||
color: #c09853;
|
||||
}
|
||||
.alert {
|
||||
padding: 8px 35px 8px 14px;
|
||||
margin-bottom: 20px;
|
||||
text-shadow: 0 1px 0 rgba(255,255,255,0.5);
|
||||
background-color: #fcf8e3;
|
||||
border: 1px solid #fbeed5;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.alert-info {
|
||||
color: #3a87ad;
|
||||
background-color: #d9edf7;
|
||||
border-color: #bce8f1;
|
||||
}
|
||||
|
||||
.alert-success {
|
||||
color: #468847;
|
||||
background-color: #dff0d8;
|
||||
border-color: #d6e9c6;
|
||||
}
|
||||
|
||||
.alert-error {
|
||||
color: #b94a48;
|
||||
background-color: #f2dede;
|
||||
border-color: #eed3d7;
|
||||
}
|
||||
|
||||
pre {
|
||||
display: block;
|
||||
padding: 9.5px;
|
||||
margin: 0 0 10px;
|
||||
font-size: 13px;
|
||||
line-height: 20px;
|
||||
word-break: break-all;
|
||||
word-wrap: break-word;
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
background-color: #f5f5f5;
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid rgba(0,0,0,0.15);
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.notifytiny {
|
||||
font-size: 10.5px;
|
||||
}
|
||||
|
||||
input[type="button"], input[type="submit"] {
|
||||
margin: 0 0 10px 5px;
|
||||
display: inline-block;
|
||||
padding: 4px 12px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
text-shadow: 0 1px 1px rgba(255,255,255,0.75);
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
background-color: #f5f5f5;
|
||||
background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
|
||||
background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
|
||||
background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
|
||||
background-image: -o-linear-gradient(top,#fff,#e6e6e6);
|
||||
background-image: linear-gradient(to bottom,#fff,#e6e6e6);
|
||||
background-repeat: repeat-x;
|
||||
border: 1px solid #ccc;
|
||||
border-color: #e6e6e6 #e6e6e6 #bfbfbf;
|
||||
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
|
||||
border-bottom-color: #b3b3b3;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
|
||||
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
|
||||
}
|
||||
|
||||
input[type="button"]:hover, input[type="submit"]:hover, input[type="button"]:focus, input[type="submit"]:focus {
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
background-position: 0 -15px;
|
||||
-webkit-transition: background-position .1s linear;
|
||||
-moz-transition: background-position .1s linear;
|
||||
-o-transition: background-position .1s linear;
|
||||
transition: background-position .1s linear;
|
||||
}
|
||||
|
||||
input[type="button"]:hover, input[type="submit"]:hover, input[type="button"]:focus, input[type="submit"]:focus, input[type="button"]:active, input[type="submit"]:active, input[type="button"].active, input[type="submit"].active, input[type="button"].disabled, input[type="submit"].disabled, input[type="reset"].disabled, input[type="submit"][disabled], input[type="reset"][disabled] {
|
||||
color: #333;
|
||||
background-color: #e6e6e6;
|
||||
}
|
||||
|
||||
button, input, select, textarea {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
padding: 4px 6px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #555;
|
||||
vertical-align: middle;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
select {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
label, select, button, input[type="button"], input[type="submit"], input[type="radio"], input[type="checkbox"] {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
|
||||
display: inline-block;
|
||||
height: 20px;
|
||||
padding: 4px 6px;
|
||||
margin-bottom: 10px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #555;
|
||||
vertical-align: middle;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
select, input[type="file"] {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"] {
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
-webkit-transition: border linear .2s,box-shadow linear .2s;
|
||||
-moz-transition: border linear .2s,box-shadow linear .2s;
|
||||
-o-transition: border linear .2s,box-shadow linear .2s;
|
||||
transition: border linear .2s,box-shadow linear .2s;
|
||||
}
|
||||
|
||||
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
|
||||
cursor: not-allowed;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
input.btn-primary {
|
||||
color: #fff;
|
||||
text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
|
||||
background-color: #005aa8;
|
||||
background-image: -moz-linear-gradient(top,#0070a8,#0038a8);
|
||||
background-image: -webkit-gradient(linear,0 0,0 100%,from(#0070a8),to(#0038a8));
|
||||
background-image: -webkit-linear-gradient(top,#0070a8,#0038a8);
|
||||
background-image: -o-linear-gradient(top,#0070a8,#0038a8);
|
||||
background-image: linear-gradient(to bottom,#0070a8,#0038a8);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #0038a8 #0038a8 #001e5c;
|
||||
border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0070a8',endColorstr='#ff0038a8',GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
|
||||
input.btn-primary:hover,
|
||||
input.btn-primary:active,
|
||||
input.btn-primary:focus {
|
||||
color: #fff;
|
||||
background-color: #0038a8;
|
||||
}
|
||||
|
||||
|
||||
.breadcrumb {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.breadcrumb {
|
||||
padding: 8px 15px;
|
||||
margin: 0 0 20px;
|
||||
list-style: none;
|
||||
background-color: #f5f5f5;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.breadcrumb > li {
|
||||
display: inline-block;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: #333;
|
||||
}
|
||||
.breadcrumb {
|
||||
background-color: rgb(245, 245, 245);
|
||||
padding: 8px 15px;
|
||||
}
|
||||
/*
|
||||
End of MDL-43839 IE9 specific CSS.
|
||||
*/
|
||||
|
||||
EOF;
|
||||
|
||||
// fix used urls
|
||||
|
||||
Reference in New Issue
Block a user