0

CSS 示例 所附图像显示了从 v1.4.11 升级到 v1.6.4 后我尝试创建的日历的星期视图。顶部(v1.4.11)添加了颜色和圆边,但我无法让第二个版本做同样的事情,即使在将必要的代码复制并粘贴到新文件之后也是如此。如果有人能告诉我哪个 CSS 组件应该受到影响,我可以轻松地将背景颜色应用于行并将半径应用于外边缘。提前感谢您的任何帮助。

4

2 回答 2

0

通过反复试验,找到了解决方案:

/*left top cell in personal calendar*/
.fc .fc-grid th.fc-leftmost {
background-position: 0 0;
-webkit-border-top-left-radius: 7px;
-moz-border-top-left-radius: 7px;
border-top-left-radius: 7px;
  }

/*right top cell in personal calendar*/
.fc .fc-grid th.fc-sat {
background-position: 100% 0;
-webkit-border-top-right-radius: 7px;
-moz-border-top-right-radius: 7px;
border-top-right-radius: 7px;
}

/*first row (days of week) for personal calendar*/
.fc-content .fc-state-default {
border-style: solid;
border-color: #D2D2D2; /* inner border color */
background: green;
color: #fff;
}
于 2013-09-23T05:07:47.377 回答
0

更好的:

.fc .fc-grid th 
{
    background: green;
}
于 2013-09-23T19:39:58.193 回答