我需要更改现有购物车网站的颜色和背景,使所有背景均为蓝色,所有文本均为黑色。
当鼠标悬停在锚元素上时,其背景应变为灰色。
本网站使用 jquery、jquery 插件、jquery-ui、ASP.NET / Mono MVC3、Razor 视图设计。. 使用 jquery ui 默认主题,但可能在非 jquery ui css 文件中指定颜色和背景。
有许多 css 文件,因此更改所有这些文件是很多工作。
如何实施?是否可以在页面中添加一些 jquery 或其他插件 javascript 代码来进行此类调整或其他想法?
应该改为使用蓝色和黑色。如何实施?
更新
大多数 css 文件都包含在 Razon Site.cshtml 文件中,该文件是所有文件的母版页。css 文件是静态的,并出现在每个页面的开头:
<link rel="stylesheet" href="/comp/themes/base/jquery.ui.all.css"
type="text/css" title="ui-theme" />
<link href="/comp/Content/Css/jquery.ui.menubar.css" rel="stylesheet"
type="text/css" />
<link href="/comp/Scripts/jBreadCrumb/Styles/BreadCrumb.css" rel="stylesheet"
type="text/css" media="screen" />
<link href="/comp/Scripts/Pikachoose/jquery.fancybox.css" rel="stylesheet"
type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="/comp/Scripts/jcarousel-0.2/skins/tango/skin.css" />
<link href="/comp/Content/Css/Site.css" rel="stylesheet" type="text/css" />
使用 jquery-ui menubar、breadcrumb、fancybox、pikachoose jcarousel 插件。