Merge pull request #18821 from owncloud/global-classes

Global classes in core CSS
This commit is contained in:
Thomas Müller 2015-11-04 10:30:10 +01:00
commit c59ca9203d
3 changed files with 51 additions and 20 deletions

50
core/css/global.css Normal file
View File

@ -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;
}

View File

@ -860,26 +860,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,

View File

@ -108,6 +108,7 @@ class OC_Template extends \OC\Template\Base {
OC_Util::addVendorStyle('jquery-ui/themes/base/jquery-ui',null,true);
OC_Util::addStyle("multiselect",null,true);
OC_Util::addStyle("fixes",null,true);
OC_Util::addStyle("global",null,true);
OC_Util::addStyle("apps",null,true);
OC_Util::addStyle("fonts",null,true);
OC_Util::addStyle("icons",null,true);