You are here

office_hours.css in Office Hours 6

Same filename and directory in other branches
  1. 5 office_hours.css
  2. 6.2 office_hours.css
  3. 7 office_hours.css
@CHARSET "UTF-8";

/* Formatter in Views and Pages */
.oh-display {
  white-space: nowrap;
}

.oh-display-label {
  display: inline-block; // give each label the same width, to align the hours.
}

.oh-display-hours {
}

.oh-display-closed {
  font-style: italic;
}

/* Blocks */
.office-hours-block .form-item label {
  display: inline;
}

div.office-hours-block div {
  display: inline;
}

.office-hours-block .dayname {
  width: 6em;
  display: -moz-inline-box;
  display: inline-block;
  font-weight: bold;
}

.office-hours-block .form-item label { font-weight: normal; }
.office_hours_table { margin-top: 0; }
.office_hours_table tbody { border: none; }
.office_hours_table tr, .office_hours_table td  { border: none!important; }
.office_hours_table tr.odd { background: transparent none; }

File

office_hours.css
View source
  1. @CHARSET "UTF-8";
  2. /* Formatter in Views and Pages */
  3. .oh-display {
  4. white-space: nowrap;
  5. }
  6. .oh-display-label {
  7. display: inline-block; // give each label the same width, to align the hours.
  8. }
  9. .oh-display-hours {
  10. }
  11. .oh-display-closed {
  12. font-style: italic;
  13. }
  14. /* Blocks */
  15. .office-hours-block .form-item label {
  16. display: inline;
  17. }
  18. div.office-hours-block div {
  19. display: inline;
  20. }
  21. .office-hours-block .dayname {
  22. width: 6em;
  23. display: -moz-inline-box;
  24. display: inline-block;
  25. font-weight: bold;
  26. }
  27. .office-hours-block .form-item label { font-weight: normal; }
  28. .office_hours_table { margin-top: 0; }
  29. .office_hours_table tbody { border: none; }
  30. .office_hours_table tr, .office_hours_table td { border: none!important; }
  31. .office_hours_table tr.odd { background: transparent none; }