nextcloud/core/css/fixes.css

135 lines
3.5 KiB
CSS
Raw Normal View History

/* ---- BROWSER-SPECIFIC FIXES ---- */
/* remove dotted outlines in Firefox */
::-moz-focus-inner {
border: 0;
}
2014-05-23 20:03:01 +04:00
/* fix height of select boxes for OS X */
select {
2014-06-02 16:32:07 +04:00
height: 32px;
2014-05-23 20:03:01 +04:00
}
2014-06-04 12:57:49 +04:00
/* reset typeface for IE8 because OpenSans renders too small */
2014-06-04 13:07:28 +04:00
.ie8 body {
2014-06-04 12:57:49 +04:00
font-family: Frutiger, Calibri, 'Myriad Pro', Myriad, Arial, sans-serif;
}
.lte8 .icon-delete { background-image: url('../img/actions/delete.png'); }
.lte8 .icon-delete:hover, .icon-delete:focus {
background-image: url('../img/actions/delete-hover.png');
}
2015-02-12 12:31:55 +03:00
.ie8 .icon-checkmark {
background-image: url('../img/actions/checkmark.png');
}
.ie8 .icon-close {
background-image: url('../img/actions/close.png');
}
2014-05-16 13:15:40 +04:00
.lte9 .icon-triangle-e {
background-image: url('../img/actions/triangle-e.png');
}
.lte9 .icon-triangle-n {
background-image: url('../img/actions/triangle-n.png');
}
.lte9 .icon-triangle-s {
background-image: url('../img/actions/triangle-s.png');
}
2014-05-16 13:17:38 +04:00
.lte9 .icon-settings,
.lte9 .settings-button {
background-image: url('../img/actions/settings.png');
}
2015-09-30 10:59:23 +03:00
/* IE8 needs PNG image for header logo */
.ie8 #header .logo {
background-image: url(../img/logo-icon-175px.png);
}
2014-05-16 13:15:40 +04:00
/* IE8 needs background to be set to same color to make transparency look good. */
.lte9 #body-login form input[type="text"] {
border: 1px solid lightgrey; /* use border to add 1px line between input fields */
background-color: white; /* don't change background on hover */
}
.lte9 #body-login form input[type="password"] {
/* leave out top border for 1px line between input fields*/
border-left: 1px solid lightgrey;
border-right: 1px solid lightgrey;
border-bottom: 1px solid lightgrey;
background-color: white; /* don't change background on hover */
}
2015-09-30 10:59:23 +03:00
.ie8 #body-login input[type="submit"] {
padding: 10px 5px;
margin-top: 3px;
}
/* for whatever unexplained reason */
.ie8 #password {
width: 271px !important;
min-width: auto !important;
}
/* disable opacity of info text on gradient
since we cannot set a good backround color to use the filter&background hack as with the input labels */
.lte9 #body-login p.info {
filter: initial;
}
/* deactivate show password toggle for IE. Does not work for 8 and 9+ have their own implementation. */
.ie #show, .ie #show+label {
display: none;
visibility: hidden;
}
/* fix installation screen rendering issue for IE8+9 */
.lte9 #body-login {
min-height: 100%;
height: auto !important;
}
2013-09-02 10:05:47 +04:00
/* oc-dialog only uses box shadow which is not supported by ie8 */
.ie8 .oc-dialog {
border: 1px solid #888888;
}
/* IE8 doesn't support transparent background - let's emulate black with an opacity of .3 on a dark blue background*/
.ie8 fieldset .warning, .ie8 #body-login .error {
background-color: #1B314D;
}
2013-12-07 20:03:53 +04:00
/* IE8 isn't able to display transparent background. So it is specified using a gradient */
.ie8 #nojavascript {
2014-06-04 12:57:49 +04:00
filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4c320000', endColorstr='#4c320000');
2013-12-07 20:03:53 +04:00
}
/* IE8 doesn't have rounded corners, so the strengthify bar should be wider */
.lte8 #body-login .strengthify-wrapper {
width: 271px;
left: 6px;
}
2014-06-04 12:57:49 +04:00
2014-06-12 15:33:32 +04:00
/* fix background of navigation popup in IE8 */
2015-03-26 17:02:31 +03:00
.ie8 #navigation,
.ie8 #expanddiv {
background-color: #111;
2014-06-12 15:33:32 +04:00
}
/* needed else IE8 will randomly hide the borders... */
.ie8 table th#headerDate, table td.date,
.ie8 table th.column-last, table td.column-last {
position: static;
}
.ie8 #controls {
background-color: white;
}
.ie8 #content-wrapper {
overflow-y: auto;
}
2014-09-15 19:09:12 +04:00
.ie8 #app-navigation .app-navigation-entry-edit input {
line-height: 38px;
}