「MediaWiki:Gadget-navpop.css」の版間の差分

提供: スーパーロボット大戦Wiki
ナビゲーションに移動 検索に移動
(1版: ガジェット取り込み)
(英語版Wikipediao)
 
1行目: 1行目:
a.popupMoreLink { display: block; text-align: right; cursor: pointer; }
+
.popupMoreLink {
 +
  display: block;
 +
  text-align: right;
 +
  cursor: pointer;
 +
}
 +
 
 +
ins.popupDiff {
 +
  background: #afe;
 +
}
 +
 
 +
del.popupDiff {
 +
  background: #ffe6e6;
 +
}
  
ins.popupDiff { background: #AFE; }
+
#selectionPreview {
del.popupDiff { background: #FFE6E6; }
+
  border: 2px solid #ddd;
 +
  background-color: #eef;
 +
  padding: 6px;
 +
}
  
#selectionPreview { /* overflow: auto; max-height: 16ex; */
+
.navpopup {
                    border: 2px solid #DDD;
+
  border: 1px solid #bbb;
                    background-color: #EEF;
+
  background-color: #fff;
                    padding: 6px;
+
  padding: 10px;
                    }
+
  padding-bottom: 5px;
 +
  font-size: 11px;
 +
  box-shadow: 0 3px 8px rgba( 50, 50, 50, 0.35 );
 +
  word-wrap: break-word;
 +
}
  
.navpopup  
+
.navpopup hr {
{  
+
   color: #aaa !important;
   border: solid #FFBE20 1px;
+
   background-color: #aaa !important;
   background-color: #FFFAEF;
 
  padding: 5px;
 
  font-size: 8pt;
 
  /* opacity: 0.9; */
 
 
}
 
}
  
 
/* Configure Drag bar color */
 
/* Configure Drag bar color */
 
.popupDrag {
 
.popupDrag {
   background-color: #FFBE20;
+
   background-color: #ffbe20;
 
   height: 5px;
 
   height: 5px;
 
   margin-top: -5px;
 
   margin-top: -5px;
28行目: 43行目:
  
 
.popupDragHandle {
 
.popupDragHandle {
cursor: move;
+
  cursor: move;
position: relative;
+
  position: relative;
 
}
 
}
  
35行目: 50行目:
  
 
/* popups */
 
/* popups */
.popup_menu li {
+
.popup_menu {
margin: 3px;
+
   display: none;
}
+
   position: absolute;
 
+
   left: 0;
.popup_menu
 
{
 
   display:none;
 
   position:absolute;
 
   left:0;
 
 
   margin: 0;
 
   margin: 0;
   margin-top: 1em;
+
   margin-top: 1.4em;
 
   line-height: 1.25em;
 
   line-height: 1.25em;
   list-style-type: none;
+
   top: 0;
  /*top:1.6ex; */
+
   z-index: 2;
   z-index:2;
+
   width: 10em;
   width:10em;  
+
   background: white;
   background:white;  
+
   border: 1px solid grey;
   border:solid 1px grey;
+
   padding: 0 !important;
   padding: 0.5em !important;
 
 
   margin-left: -6px;
 
   margin-left: -6px;
  margin-top: 1em;
 
 
   border-width: 1px 1px 1px 6px;
 
   border-width: 1px 1px 1px 6px;
 
}
 
}
.popup_menu a {display:block;}
+
 
.popup_menu_row a {display:inline;}
+
.popup_menu li { /* both: popup_menu_row and popup_menu_item */
.popup_menu_row { list-style: none;
+
  list-style: none;
                  padding: 0;
+
  margin:0;
                  margin: 0;
+
  padding:0;
                  /*)border: solid 1px red;*/
+
}
                  }
+
 
.popup_drop {display:inline; position:relative}
+
.popup_menu a {
 +
  display: block;
 +
  padding: 3px;
 +
  color: #555;
 +
}
 +
 
 +
.popup_menu_row a {
 +
  display: inline-block;
 +
}
 +
 
 +
.popup_menu_row {
 +
  color: #aaa;
 +
}
 +
 
 +
.popup_drop {
 +
  display: inline;
 +
  position: relative;
 +
}
 +
 
 +
.popup_drop a,
 +
.popup_drop a:visited {
 +
  padding: 3px;
 +
  margin: 0;
 +
  font-weight: bold;
 +
  color: #0645ad;
 +
}
 +
 
 
.popup_drop:hover .popup_menu,
 
.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {display:inline; background:White; padding:2px 2px 2px 2px}
+
.popup_drop .popup_menu:hover {
 +
  display: inline;
 +
  background: white;
 +
  padding: 2px;
 +
  color: #555;
 +
}
  
.popup_drop:hover { background:#CCF; color:#44f; }
+
.popup_drop:hover {
 +
  background: #ccf;
 +
  color: #44f;
 +
}
  
 
/* other colours, styles and so on */
 
/* other colours, styles and so on */
.popup_menu a:hover {background:#CCf; color:#44f}
+
.popup_menu a:hover {
.popup_mainlink {font-size: 140%; font-weight: bold}
+
  background: grey;
 +
  color: #fff;
 +
  text-decoration: none;
 +
}
 +
 
 +
.popup_mainlink {
 +
  font-size: 140%;
 +
  font-weight: bold;
 +
}
  
.popup_change_title_link { color: #152; }
+
.popup_mainlink a {
 +
  color: #000;
 +
}
  
.popup_diff_dates {  
+
a.popup_change_title_link {
                    font-style: italic;  
+
  color: #152;
                    background: none;
+
}
                    }
 
  
.popup_menu_item {  
+
.popup_diff_dates {
                  list-style: none;
+
  font-style: italic;
                  padding: 0;
+
  background: none;
                  margin: 0;
 
                  /*border: solid 1px green;*/
 
 
}
 
}
.popup_menu_item a{ display:block; }
 
  
.popup_history_row_even { background: #eee; }
+
.popup_menu_item a {
.popup_history_date { font-weight: bold; font-size: 120%; }
+
  display: block;
 +
}
 +
 
 +
.popup_history_row_even {
 +
  background: #eee;
 +
}
 +
 
 +
.popup_history_date {
 +
  font-weight: bold;
 +
  font-size: 120%;
 +
}
  
 
/* disable interwiki styling */
 
/* disable interwiki styling */
 
.popupPreview a.extiw,
 
.popupPreview a.extiw,
 
.popupPreview a.extiw:active {
 
.popupPreview a.extiw:active {
color: #36b;
+
  color: #36b;
background: none;
+
  background: none;
padding: 0;
+
  padding: 0;
 
}
 
}
.popupPreview a.external {
+
 
color: #36b;
+
.popupPreview .external {
 +
  color: #36b;
 
}
 
}
 +
 
/* this can be used in the content area to switch off
 
/* this can be used in the content area to switch off
 
special external link styling */
 
special external link styling */
 
.popupPreview .plainlinks a {
 
.popupPreview .plainlinks a {
background: none !important;
+
  background: none !important;
padding: 0 !important;
+
  padding: 0 !important;
 
}
 
}

2018年5月20日 (日) 20:35時点における最新版

.popupMoreLink {
  display: block;
  text-align: right;
  cursor: pointer;
}

ins.popupDiff {
  background: #afe;
}

del.popupDiff {
  background: #ffe6e6;
}

#selectionPreview {
  border: 2px solid #ddd;
  background-color: #eef;
  padding: 6px;
}

.navpopup {
  border: 1px solid #bbb;
  background-color: #fff;
  padding: 10px;
  padding-bottom: 5px;
  font-size: 11px;
  box-shadow: 0 3px 8px rgba( 50, 50, 50, 0.35 );
  word-wrap: break-word;
}

.navpopup hr {
  color: #aaa !important;
  background-color: #aaa !important;
}

/* Configure Drag bar color */
.popupDrag {
  background-color: #ffbe20;
  height: 5px;
  margin-top: -5px;
  margin-bottom: 5px;
}

.popupDragHandle {
  cursor: move;
  position: relative;
}

/* menu magic - many thanks to [[User:Zocky]]! */

/* popups */
.popup_menu {
  display: none;
  position: absolute;
  left: 0;
  margin: 0;
  margin-top: 1.4em;
  line-height: 1.25em;
  top: 0;
  z-index: 2;
  width: 10em;
  background: white;
  border: 1px solid grey;
  padding: 0 !important;
  margin-left: -6px;
  border-width: 1px 1px 1px 6px;
}

.popup_menu li { /* both: popup_menu_row and popup_menu_item */
  list-style: none;
  margin:0;
  padding:0;
}

.popup_menu a {
  display: block;
  padding: 3px;
  color: #555;
}

.popup_menu_row a {
  display: inline-block;
}

.popup_menu_row {
  color: #aaa;
}

.popup_drop {
  display: inline;
  position: relative;
}

.popup_drop a,
.popup_drop a:visited {
  padding: 3px;
  margin: 0;
  font-weight: bold;
  color: #0645ad;
}

.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {
  display: inline;
  background: white;
  padding: 2px;
  color: #555;
}

.popup_drop:hover {
  background: #ccf;
  color: #44f;
}

/* other colours, styles and so on */
.popup_menu a:hover {
  background: grey;
  color: #fff;
  text-decoration: none;
}

.popup_mainlink {
  font-size: 140%;
  font-weight: bold;
}

.popup_mainlink a {
  color: #000;
}

a.popup_change_title_link {
  color: #152;
}

.popup_diff_dates {
  font-style: italic;
  background: none;
}

.popup_menu_item a {
  display: block;
}

.popup_history_row_even {
  background: #eee;
}

.popup_history_date {
  font-weight: bold;
  font-size: 120%;
}

/* disable interwiki styling */
.popupPreview a.extiw,
.popupPreview a.extiw:active {
  color: #36b;
  background: none;
  padding: 0;
}

.popupPreview .external {
  color: #36b;
}

/* this can be used in the content area to switch off
special external link styling */
.popupPreview .plainlinks a {
  background: none !important;
  padding: 0 !important;
}