iT邦幫忙

0

MRBS 線上預訂議室系統 更改顏色及寬度

請問在mrbs.css.php要如何更正裡面的框架顏色及寬度呢?http://ithelp.ithome.com.tw/upload/images/20161109/20103268qqggridlds.jpg

用 CHROME 瀏覽器,按下 F12 開發者模式,選取想要修改的地方
去看 CSS 的類別代號,然後去 該檔案修改相關的 CSS 語法
按下 F12 可以先直接修改,然後把改好的複製過去貼上儲存,然後在按C + F5 之後就可以看到修改效果
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
海綿寶寶
iT邦大神 1 級 ‧ 2016-11-10 21:18:44
  1. 框架寬度是程式用算的,不是 css
    原本是「總寬度減固定寬度減兩側Label/總欄數」
    你可以自己改囉
functions_table.inc

// Gets the width in % of the main data columns in the day and week views
// given the number of columns, taking into account the row label columns
// and hidden columns
function get_main_column_width($n_columns, $n_hidden=0)
{
  global $row_labels_both_sides, $first_last_width, $column_hidden_width;
  
  // Calculate the percentage width of each of the main columns.   We use number_format
  // because in some locales you would get a comma for the decimal point which
  // would break the CSS
  $column_width = 100 - $first_last_width;
  if (!empty($row_labels_both_sides))
  {
    $column_width = $column_width - $first_last_width;
  }
  // Subtract the hidden columns (unless they are all hidden)
  if ($n_hidden < $n_columns)
  {
    $column_width = $column_width - ($n_hidden * $column_hidden_width);
    $column_width = number_format($column_width/($n_columns - $n_hidden), 6);
  }
  
  return $column_width;
}
  1. 顏色是 mrbs.css.php 沒錯
    使用的 css 是 celldiv slots2
    但是我 css 看不懂
    找不到顏色在那裡有指定
    只能求教其他高手了...

我要發表回答

立即登入回答