summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRaghu Nayyar <hey@raghunayyar.com>2015-09-04 00:25:30 +0530
committerRaghu Nayyar <hey@raghunayyar.com>2015-11-02 20:54:02 +0530
commit56b537271ef591446f952c834257ae8eaac7e255 (patch)
treed81ab52a632b0f9ca50ed39439378c9a49157011 /core
parenta8641fdc9559d67696fb612597c4b27d1832220a (diff)
downloadnextcloud-server-56b537271ef591446f952c834257ae8eaac7e255.tar.gz
nextcloud-server-56b537271ef591446f952c834257ae8eaac7e255.zip
Global Classes for Core.
Move up the global styles up the hierarchy. Adds Clear Left, Right and both. New CSS file for Global Styles.
Diffstat (limited to 'core')
-rw-r--r--core/css/global.css50
-rw-r--r--core/css/styles.css20
2 files changed, 50 insertions, 20 deletions
diff --git a/core/css/global.css b/core/css/global.css
new file mode 100644
index 00000000000..9511d4324fa
--- /dev/null
+++ b/core/css/global.css
@@ -0,0 +1,50 @@
+/* Copyright (c) 2015, Raghu Nayyar, http://raghunayyar.com
+ This file is licensed under the Affero General Public License version 3 or later.
+ See the COPYING-README file. */
+
+/* Global Components */
+
+.pull-left {
+ float: left;
+}
+
+.pull-right {
+ float: right;
+}
+
+.clear-left {
+ clear: left;
+}
+
+.clear-right {
+ clear: right;
+}
+
+.clear-both {
+ clear: both;
+}
+
+.hidden {
+ display: none;
+}
+
+.hidden-visually {
+ position: absolute;
+ left:-10000px;
+ top: auto;
+ width: 1px;
+ height: 1px;
+ overflow: hidden;
+}
+
+.bold {
+ font-weight:600;
+}
+
+.center {
+ text-align:center;
+}
+
+.inlineblock {
+ display: inline-block;
+} \ No newline at end of file
diff --git a/core/css/styles.css b/core/css/styles.css
index 1368d8bfa58..163750f46b8 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -856,26 +856,6 @@ html.ie8 #body-login form input[type="checkbox"] {
height: 70px;
}
-
-
-
-/* VARIOUS REUSABLE SELECTORS */
-.hidden {
- display: none;
-}
-.hidden-visually {
- position: absolute;
- left:-10000px;
- top: auto;
- width: 1px;
- height: 1px;
- overflow: hidden;
-}
-
-.bold { font-weight:600; }
-.center { text-align:center; }
-.inlineblock { display: inline-block; }
-
/* round profile photos */
.avatar,
.avatar img,