mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
다른 프레임워크와 css 충돌을 피하기 위해 rhymix.less의 class/id 이름에 prefix 처리
변경전의 xe.less 파일도 rhymix.less와 함께 load 하여 호환정 유지
CSS 충돌 예)
bootstrap의 .btn
사용 예)
bootstrap 사용시엔 {Context::unloadBasicFiles('xe')}으로 unload 시키면 문제없음
This commit is contained in:
parent
30e0a5c583
commit
b1cb1f3f34
251 changed files with 938 additions and 776 deletions
|
|
@ -1 +1 @@
|
|||
.xe_content img{max-width:100%;height:auto !important}
|
||||
.rhymix_content img, .xe_content img{max-width:100%;height:auto !important}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ function getScreen() {
|
|||
|
||||
// 이미지 슬라이드를 보는 함수
|
||||
function slideshow(event) {
|
||||
var container = $(this).closest('.xe_content');
|
||||
var container = $(this).closest('.rhymix_content, .xe_content');
|
||||
var imglist = container.find("img[rel=xe_gallery]");
|
||||
var currentIdx = $.inArray($(this).get(0), imglist.get());
|
||||
var xScreen = getScreen();
|
||||
|
|
@ -242,7 +242,7 @@ $(window).load(function(){
|
|||
});
|
||||
}
|
||||
|
||||
$('.xe_content').each(function() {
|
||||
$('.rhymix_content, .xe_content').each(function() {
|
||||
var contentWidth = dummy.appendTo(this).width();
|
||||
dummy.remove();
|
||||
if(!contentWidth) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue