Guest User

mojoPortal Event Calendar Styling

a guest
Feb 8th, 2016
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.34 KB | None | 0 0
  1. .mpcalendarmain {
  2.     background-color: white;
  3.     border: 1px solid #000;
  4.     border-collapse: collapse;
  5.     border-spacing: 0;
  6.     color: #000;
  7.     font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  8.     font-size: 14px;
  9.     line-height: 1.42857143;
  10.     margin: 0 0 20px !important;
  11.     max-width: 100%;
  12.     width: 100%;
  13. }
  14.  
  15. .mpcalendarmain > tbody > tr > td,
  16. .mpcalendarmain > tbody > tr > th {
  17.     border: 1px solid #ddd !important;
  18.     padding: 5px;
  19.     vertical-align: top;
  20. }
  21.  
  22. .mpcalendarmain > tbody > tr > td {
  23.     text-align: right;
  24. }
  25.  
  26. .mpcalendarmain .eventcontainer {
  27.     font-size: 12px;
  28.     text-align: center;
  29. }
  30.  
  31. .mpcalendarmain [colspan="7"] {
  32.     padding: 0;
  33. }
  34.  
  35. .mpcalendartitle {
  36.     margin: 0 !important;
  37. }
  38.  
  39. .mpcalendartitle td {
  40.     border: 0 !important;
  41.     padding: 6px;
  42.     vertical-align: middle;
  43. }
  44.  
  45. .mpcalendartitle td > a {
  46.     float: left;
  47. }
  48.  
  49. .mpcalendartitle td[style="width:70%;"] {
  50.     font-size: 20px;
  51. }
  52.  
  53. .mpcalendartitle td[style="width:70%;"] + td > a {
  54.     float: right;
  55. }
  56.  
  57. .mpcalendarothermonth {
  58.     background-color: #FBFBFB;
  59. }
  60.  
  61. .mpcalendarweekendday {
  62.     background-color: #F3F3F3;
  63. }
  64.  
  65. .mpcalendarmain a {
  66.     color: #337AB7 !important;
  67. }
  68.  
  69. .mpcalendarmain a:focus,
  70. .mpcalendarmain a:hover {
  71.     color: #23527C !important;
  72. }
  73.  
  74. .mpcalendartoday {
  75.     background-color: #E3EDF5;
  76. }
  77.  
  78. .mpcalendarnextprevious a {
  79.     background-color: #FFF;
  80.     border: 1px solid #CCC;
  81.     border-radius: 4px;
  82.     color: #333 !important;
  83.     cursor: pointer;
  84.     display: inline-block;
  85.     font-size: 14px;
  86.     font-weight: 700;
  87.     line-height: 1.42857143;
  88.     margin-bottom: 0;
  89.     padding: 6px 12px;
  90.     text-align: center;
  91.     -ms-touch-action: manipulation;
  92.         touch-action: manipulation;
  93.     -webkit-user-select: none;
  94.        -moz-user-select: none;
  95.         -ms-user-select: none;
  96.             user-select: none;
  97.     vertical-align: middle;
  98.     white-space: nowrap;
  99.  
  100. }
  101.  
  102. .mpcalendarnextprevious a:hover {
  103.     background-color: #e6e6e6;
  104.     border-color: #adadad;
  105.     color: #333 !important;
  106.     text-decoration: none;
  107. }
  108.  
  109. .mpcalendarnextprevious a:active {
  110.     background-color: #e6e6e6;
  111.     border-color: #adadad;
  112.     color: #333 !important;
  113. }
  114.  
  115. .mpcalendarnextprevious a:focus {
  116.     text-decoration: none;
  117. }
  118.  
  119. .mpcalendarnextprevious a:active:hover {
  120.     background-color: #d4d4d4;
  121.     border-color: #8c8c8c;
  122.     color: #333 !important;
  123. }
  124.  
  125. .mpcalendarday,
  126. .mpcalendartoday,
  127. .mpcalendarweekendday,
  128. .mpcalendarothermonth {
  129.     height: 100px;
  130. }
Advertisement
Add Comment
Please, Sign In to add comment