Difference between revisions of "MediaWiki:Common.css"

From Openresearch
Jump to: navigation, search
(Undo revision 207192 by Liy1 (talk))
Line 50: Line 50:
 
}
 
}
  
/* calendar */
+
/* a dropdown menu */
#calendar {
+
.dropbtn {
     width: 200px;
+
    background-color: #4CAF50;
     margin: 0 auto;
+
     color: white;
     font-size: 10px;
+
     padding: 16px;
 +
     font-size: 16px;
 +
    border: none;
 +
    cursor: pointer;
 
}
 
}
.fc-toolbar {
+
 
     font-size: .9em;
+
.dropdown {
 +
     position: relative;
 +
    display: inline-block;
 
}
 
}
.fc-toolbar h2 {
+
 
     font-size: 12px;
+
.dropdown-content {
     white-space: normal !important;
+
     display: none;
 +
    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 */
+
 
.fc-more-cell a {
+
.dropdown-content 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 {
+
 
     width: 100px;
+
.dropdown-content a:hover {background-color: #f1f1f1}
 +
 
 +
.dropdown:hover .dropdown-content {
 +
     display: block;
 
}
 
}
.fc-view-month .fc-event, .fc-view-agendaWeek .fc-event, .fc-content {
+
 
     font-size: 0;
+
.dropdown:hover .dropbtn {
    overflow: hidden;
+
     background-color: #3e8e41;
    height: 2px;
 
 
}
 
}
.fc-view-agendaWeek .fc-event-vert {
+
 
    font-size: 0;
+
/* container */
    overflow: hidden;
+
 
    width: 2px !important;
+
.alignleft {
 +
        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%
 
}
 
}
.fc-agenda-axis {
+
  .div_hover {
    width: 20px !important;
+
      background-color: white;
    font-size: .7em;
+
 
 
}
 
}
  
.fc-button-content {
+
  .div_hover:hover {
     padding: 0;
+
      background-color: #F5F5DC;
 +
}
 +
 
 +
 
 +
/* div class border */
 +
.alright {
 +
    background-color: #F5F5DC;
 +
    border: 1px solid #3dcf2d;
 +
     border-radius: 4px ;
 
}
 
}

Revision as of 17:10, 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;
}

/* a dropdown menu */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

/* container */

.alignleft {
        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 {
       background-color: white;

}

   .div_hover:hover { 
       background-color: #F5F5DC; 
}


/* div class border */
.alright {
    background-color: #F5F5DC;
    border: 1px solid #3dcf2d;
    border-radius: 4px ;
}