]> source.dussan.org Git - nextcloud-server.git/commitdiff
move CSS for browser-specific fixes out of styles.css into new fixes.css
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 30 Aug 2013 09:42:32 +0000 (11:42 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 30 Aug 2013 09:42:32 +0000 (11:42 +0200)
core/css/fixes.css [new file with mode: 0644]
core/css/styles.css
lib/base.php

diff --git a/core/css/fixes.css b/core/css/fixes.css
new file mode 100644 (file)
index 0000000..3df60ad
--- /dev/null
@@ -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;
+}
+
index d435e223b315e0898e358b31227a6af6cdbd2f9a..8f6fc6f27d1121e299d27dbda50622447ee6c5e0 100644 (file)
@@ -709,47 +709,3 @@ div.crumb:active {
        opacity:.7;
 }
 
-
-
-/* ---- 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
-   sice 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;
-}
index 4309aaaa97638ebdd9cea1184d4abeef5dc4eb28..309455879bfd03ae5ed85aecedc0a4abf17438eb 100644 (file)
@@ -268,6 +268,7 @@ class OC {
 
                OC_Util::addStyle("styles");
                OC_Util::addStyle("apps");
+               OC_Util::addStyle("fixes");
                OC_Util::addStyle("multiselect");
                OC_Util::addStyle("jquery-ui-1.10.0.custom");
                OC_Util::addStyle("jquery-tipsy");