summaryrefslogtreecommitdiffstats
path: root/core/css/fixes.css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-30 11:42:32 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-08-30 11:42:32 +0200
commit9c23ed580ac02bfb21d277bc8c073b8eb331f85d (patch)
tree0c06dfe4da7883399e021e67719ded9b4e72e0ef /core/css/fixes.css
parentcc8e19ad115f296e54e46d8821e9c577230e8453 (diff)
downloadnextcloud-server-9c23ed580ac02bfb21d277bc8c073b8eb331f85d.tar.gz
nextcloud-server-9c23ed580ac02bfb21d277bc8c073b8eb331f85d.zip
move CSS for browser-specific fixes out of styles.css into new fixes.css
Diffstat (limited to 'core/css/fixes.css')
-rw-r--r--core/css/fixes.css46
1 files changed, 46 insertions, 0 deletions
diff --git a/core/css/fixes.css b/core/css/fixes.css
new file mode 100644
index 00000000000..3df60ad5b5c
--- /dev/null
+++ b/core/css/fixes.css
@@ -0,0 +1,46 @@
+/* ---- BROWSER-SPECIFIC FIXES ---- */
+
+/* remove dotted outlines in Firefox */
+::-moz-focus-inner {
+ border: 0;
+}
+
+.lte8 .delete-icon { background-image: url('../img/actions/delete.png'); }
+.lte8 .delete-icon:hover, .delete-icon:focus {
+ background-image: url('../img/actions/delete-hover.png');
+}
+
+/* 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 */
+}
+.lte9 #body-login form label.infield {
+ background-color: white; /* don't change background on hover */
+ -ms-filter: "progid:DXImageTransform.Microsoft.Chroma(color='white')";
+}
+
+/* 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 {
+ height: auto !important;
+}
+