Difference between revisions of "MediaWiki:Common.css"

From Openresearch
Jump to: navigation, search
Line 50: Line 50:
 
}
 
}
  
/* a dropdown menu */
+
/* calendar */
.dropbtn {
+
#calendar {
     background-color: #4CAF50;
+
     width: 200px;
    color: white;
+
     margin: 0 auto;
     padding: 16px;
+
     font-size: 10px;
     font-size: 16px;
 
    border: none;
 
    cursor: pointer;
 
 
}
 
}
 
+
.fc-toolbar {
.dropdown {
+
     font-size: .9em;
     position: relative;
 
    display: inline-block;
 
 
}
 
}
 
+
.fc-toolbar h2 {
.dropdown-content {
+
     font-size: 12px;
     display: none;
+
     white-space: normal !important;
    position: absolute;
 
    background-color: #f9f9f9;
 
     min-width: 160px;
 
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
 
}
 
}
 
+
/* click +2 more for popup */
.dropdown-content a {
+
.fc-more-cell a {
    color: black;
 
    padding: 12px 16px;
 
    text-decoration: none;
 
 
     display: block;
 
     display: block;
 +
    width: 85%;
 +
    margin: 1px auto 0 auto;
 +
    border-radius: 3px;
 +
    background: grey;
 +
    color: transparent;
 +
    overflow: hidden;
 +
    height: 4px;
 
}
 
}
 
+
.fc-more-popover {
.dropdown-content a:hover {background-color: #f1f1f1}
+
     width: 100px;
 
 
.dropdown:hover .dropdown-content {
 
     display: block;
 
 
}
 
}
 
+
.fc-view-month .fc-event, .fc-view-agendaWeek .fc-event, .fc-content {
.dropdown:hover .dropbtn {
+
     font-size: 0;
     background-color: #3e8e41;
+
    overflow: hidden;
 +
    height: 2px;
 
}
 
}
 
+
.fc-view-agendaWeek .fc-event-vert {
/* container */
+
    font-size: 0;
 
+
    overflow: hidden;
.alignleft {
+
    width: 2px !important;
        border: 0.1px solid #F5F5DC;
 
        width: 80%;
 
float: left;
 
}
 
  .alignright {
 
        border: 0.1px solid #F5F5DC;
 
        width: 18%;
 
float: right;
 
}
 
  .container {
 
border: 0px solid #000000;
 
overflow: auto;
 
width: 100%
 
 
}
 
}
  .div_hover {
+
.fc-agenda-axis {
      background-color: white;
+
    width: 20px !important;
 
+
    font-size: .7em;
 
}
 
}
  
  .div_hover:hover {
+
.fc-button-content {
      background-color: #F5F5DC;
+
     padding: 0;
}
 
 
 
 
 
/* div class border */
 
.alright {
 
     background-color: #F5F5DC;
 
    border: 1px solid #3dcf2d;
 
    border-radius: 4px ;
 
 
}
 
}

Revision as of 16:04, 17 September 2016

/* CSS placed here will be applied to all skins */

.smw-eventcalendar {
  height:20em;
  width: 20em;
}

.page-wrap { 
  width: 1450px; 
  margin-left: 10px; 
  position: relative; 
}

.sidebar { 
  width: 150px; 
  position: fixed; 
  margin-left: 1570px; 
}

/* from Common.css in SMW for the table of content */
#smworgtable-toc #toc {
	border: 0px solid #AAA;
	background-color: #ffffff;
	font-size: 100%;
	width: 220px;
} 
#smworgtable-toc.smworgtable-toc th a {
	color: #164eaf;
}
 
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	text-align: right;
}
 
#smworgtable-toc #toc.toc {
	font-size: 110%;
}
 
#toc h2,
.toc h2 {
	display: none;
}
 
#toc .toctoggle,
.toc .toctoggle {
	text-align: right !important;
}

/* calendar */
#calendar {
    width: 200px;
    margin: 0 auto;
    font-size: 10px;
}
.fc-toolbar {
    font-size: .9em;
}
.fc-toolbar h2 {
    font-size: 12px;
    white-space: normal !important;
}
/* click +2 more for popup */
.fc-more-cell a {
    display: block;
    width: 85%;
    margin: 1px auto 0 auto;
    border-radius: 3px;
    background: grey;
    color: transparent;
    overflow: hidden;
    height: 4px;
}
.fc-more-popover {
    width: 100px;
}
.fc-view-month .fc-event, .fc-view-agendaWeek .fc-event, .fc-content {
    font-size: 0;
    overflow: hidden;
    height: 2px;
}
.fc-view-agendaWeek .fc-event-vert {
    font-size: 0;
    overflow: hidden;
    width: 2px !important;
}
.fc-agenda-axis {
    width: 20px !important;
    font-size: .7em;
}

.fc-button-content {
    padding: 0;
}