mirror of https://github.com/apache/cloudstack.git
ui: re-add custom css (#3431)
This readds the custom.css file to overwrite the default cloudstack styles. Currently this is only possible by adding them to the custom.scss in the repository and compile them into the cloudstack3.css. Now there is an empty custom.css created when compiling the scss source. This custom.css can be overwritten with the custom styles afterwards. This functionality was broken by #3328.
This commit is contained in:
parent
4ce0562cff
commit
044e4e4b21
|
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*
|
||||
*
|
||||
* Use custom.css to override the default CloudStack styles
|
||||
*/
|
||||
|
||||
/*# sourceMappingURL=src/sourcemaps/custom.css.map */
|
||||
|
|
@ -88,5 +88,3 @@
|
|||
@import 'components/button-export';
|
||||
@import 'components/jquery-ui';
|
||||
@import 'components/token-input-facebook';
|
||||
|
||||
@import 'custom/custom';
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you under the Apache License, Version 2.0 (the
|
||||
* "License"); you may not use this file except in compliance
|
||||
* with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*
|
||||
*
|
||||
* Use custom.css to override the default CloudStack styles
|
||||
*/
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
// Licensed to the Apache Software Foundation (ASF) under one
|
||||
// or more contributor license agreements. See the NOTICE file
|
||||
// distributed with this work for additional information
|
||||
// regarding copyright ownership. The ASF licenses this file
|
||||
// to you under the Apache License, Version 2.0 (the
|
||||
// "License"); you may not use this file except in compliance
|
||||
// with the License. You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing,
|
||||
// software distributed under the License is distributed on an
|
||||
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
// KIND, either express or implied. See the License for the
|
||||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
|
||||
//* Use custom.scss to override the default CloudStack styles
|
||||
//* Use it as your global @import file for many scss files.
|
||||
//* Use lines like @import "database.scss"; inside here only.
|
||||
//* Custom scss is imported on bottom of cloudstack3.scss
|
||||
|
|
@ -26,6 +26,7 @@
|
|||
<link type="text/css" rel="stylesheet" href="lib/jquery-ui/css/jquery-ui.css" />
|
||||
<link type="text/css" rel="stylesheet" href="lib/reset.css"/>
|
||||
<link type="text/css" rel="stylesheet" href="css/cloudstack3.css" />
|
||||
<link type="text/css" rel="stylesheet" href="css/custom.css" />
|
||||
</head>
|
||||
<body>
|
||||
<!-- CloudStack widget content -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue