Skip to content

mush.fun by rayi

Details

Authorrayi

LicenseNo License

Categorywsmud

Created

Updated

Size7.8 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A css rewrite for mush.fun

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         mush.fun
@version      20220531.07.47
@namespace    userstyles.world/user/rayi
@description  A css rewrite for mush.fun
@author       rayi
@license      No License
==/UserStyle== */

@-moz-document url-prefix("http://mush.fun") {

:root {
	--panel-active-bg: #003C78;
  --panel-active-border-color: #002850;
  --panel-active-color: #ffffff;
  
  --panel-bg: #00264D;
  --panel-border-color: #002850;
  --panel-color: #ffffff;
  
  
  --text-active-color: #ff6a00;
  --text-color: #666666;
  
  --text-light-color: #DDA200;
  
  --content-width: 600px;
}
body {
    background-color: #212121;
    font-family: "Microsoft YaHei UI";
    color: #008000;
    font-size: 14px;
}
.login-content {}

.panel_item {
    cursor: pointer;
    background-color: var(--panel-bg);
    border-bottom: 1px solid var(--panel-border-color);
    color: var(--panel-color);
    list-style-type: none;
    padding: 0.6rem 1rem;
}

.mypanel>ul>.active {
    color: var(--panel-active-color);
    background-color: var(--panel-active-bg);
    border-color: var(--panel-active-border-color);
}

.role-list > .role-item {
    font-size: 14px;
    cursor: pointer;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    list-style-type: none;
  color: var(--text-color)
}

.role-list>.select {
    list-style-type: disc;
  	color: var(--text-active-color)
}


.new-list > li {
    list-style-type: disc;
    font-size: 1rem;
    line-height: 1.2em;
    padding-top: 0.6rem;
    color: var(--text-light-color);
    cursor: pointer;
}


.room-title {
    color: #CE7709;
}

.raid-item {
    border: solid 1px #dadada;
    color: #333333;
    background-color: #fafafa;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
    //min-width: 2.5em;
    margin-right: 0em;
    //margin-left: 0.4em;
    position: relative;
    padding-left: 0.3em;
    padding-right: 0.3em;
    line-height: 28px;
}

.zdy-item {
    display: inline-block;
    border: solid 1px #dadada;
    color: #333333;
    background-color: #fafafa;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25em;
    min-width: 2.5em;
    margin-right: 0.4em;
    margin-left: 0;
    position: relative;
    padding-left: 0.4em;
    padding-right: 0.4em;
    line-height: 24px;
}
.item-commands > span {
/*     display: inline-block;
    border: solid 1px #dadada;
    color: #333333;
    background-color: #fafafa;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25em;
    min-width: 2.5em;
    margin-right: 0.625em;
    padding: 0.2em 0.5em;
    margin-top: 0.315em; */
}



.WG_button {
    width: calc(100% - 0px);
    overflow-x: auto;
    display: block;
    line-height: 2em;
  margin: 10px 0;
}

.content-bottom {
	margin: 10px 0 0;
}

.room-commands > .act-item, 
.combat-commands > .pfm-item {
    display: inline-block;
    border: solid 1px #dadada;
    color: #333333;
    background-color: #fafafa;
    text-align: center;
    cursor: pointer;
    border-radius: 0.25em;
    min-width: 2.5em;
    margin-right: 0em;
    margin-left: 0.4em;
    position: relative;
    padding-left: 0.4em;
    padding-right: 0.4em;
    line-height: 24px;
}

.combat-wrap > .pfm-item, 
.combat-wrap > .act-item {
    margin-left: 2em;
    margin-right: -1em;
}
.room-commands::before {
    content: "\e003";
    font-family: 'Glyphicons Halflings';
    background-color: #ff6a00;
    color: #ffffff;
    display: inline-block;
    border-top-right-radius: 6px;
  font-size: 10px;
  padding: 0 3px;
}
.combat-commands::before {
    content: "\e162";
    font-family: 'Glyphicons Halflings';
    background-color: #ff6a00;
    color: #ffffff;
    display: inline-block;
    border-bottom-right-radius: 6px;
  font-size: 10px;
  padding: 0 3px;
}

.combat-wrap::before {
    position: absolute;
    height: 100%;
    left: 0px;
    top: 0px;
}


.tool-bar > .tool-item {
    text-align: center;
    border: 1px solid #dadada;
    background-color: #fafafa;
    color: #343434;
    cursor: pointer;
    font-weight: bold;
    position: relative;
  	line-height: 2.25em;
  	border-radius: 2px;
}
.right-bar > .tool-item > .tool-icon, 
.bottom-bar > .tool-item > .tool-icon {
	display: none;
}

.bottom-bar {
    display: block;
    position: fixed;
  	right: 10px;
  	bottom: 80px;
    white-space: nowrap;
}
.state-bar {
	padding: 0 20px;
}


.dialog-pack > .obj-desc, .dialog-list > .obj-desc {
	padding:20px;
  width: 40%;
}

.dialog-pack > .obj-desc .item-commands, .dialog-list > .obj-desc .item-commands {
	margin-top:10px;
}

#raidToolbar {
  position: fixed;
  right:0;
  top:410px;
  left: var(--content-width);
  bottom: 120px;
}
.WG_log {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #111111;
  	background:#212121;
  	padding: 10px;
    max-height: 100%;
    width: auto;
  	position: fixed;
  	right:0;
  	top:450px;
  	left: var(--content-width);
  	bottom: 120px;
}

.WG_log .zdy-item {
	margin: 0;
  padding:8px;
  background: none;
  border: none;
  border-bottom: 1px solid #666666;
  border-top: 1px solid #000000;
  border-radius: 0;
}

.settingbox {
	height: 400px !important;
}

.channel {
  max-height: 400px;
  overflow-y: auto;
  background: #212121;
  padding:10px;
  position: fixed;
  right: 0;
  top: 0;
  left: var(--content-width);
  border-left: 1px solid #000000;
  box-shadow: -1px 0 1px rgba(255,255,255, .2) inset;
}


.chat-panel {
	display: block !important;
  position: fixed;
  left: var(--content-width);
  bottom:0;
  top: auto;
  right:0;
  height: auto;
}
.chat-panel > .sender-box {
	height: 40px;
}
.chat-panel > .sender-btn {
  height: 40px;
  line-height: 40px;
}

/**技能蓝色**/
hib {
  color: #205BF0 !important;
}
/**红**/
red {
  color: #D0401D !important;
}
/**技能红**/
hir {
  color: #FD4E36 !important;
}

/**蓝色**/
hic {
  color: #0C75DE !important;
}
/**绿色**/
hig {
	color:#0CA848 !important;
}
/**黄色**/
hiy {
	color:#F3DF1A !important;
}
/**紫色**/
hiz {
	color:#E01AA0 !important;
}
/**橙色**/
hio {
	color:#EE710D !important;
}
/**红色**/
ord {
	color:#DD2A10 !important;
}


.dialog {
	position: absolute;
  left: 0;
  right:0;
  background:#fff;
}
.dialog > .dialog-header {
	background-color: var(--panel-bg);
    border-bottom: 1px solid var(--panel-border-color);
    color: var(--panel-color);
}
.dialog > .dialog-header > .dialog-title {
  color: var(--panel-color);
}
.dialog > .dialog-content {
	background:#212121;
}
.dialog > .dialog-content .setting h3 {
	color:#ffffff;
  font-size: 12px;
}



.item-status-bar > .status-item {
    position: relative;
    cursor: pointer;
    margin-right: 0.75em;
    background-color: #ff6a00;
    border-radius: 0.25em;
    color: white;
    line-height: 1.25em;
    padding-left: 0.25em;
    padding-right: 0.25em;
    height: 1.25em;
    display: inline-block;
    zoom: 0.8;
}
.item-status-bar > .status-item > .shadow {
	opacity: 0.3;
}

.dialog-skills {
	max-height: 600px;
}

.dialog-skills > pre {
    padding: 10px;
    margin: 0px;
    white-space: pre-wrap;
}

@media (min-width: 768px) {
  body {
    width: 100%;
  }
  .container {
  	width: calc(var(--content-width) - 0px);
    position: fixed;
    left:0;
    top:0;
    bottom:0;
    padding: 10px;
  	opacity: .8 !important;
    transition: oapcity .3s ease-in-out;
  
  .container:hover {
  	opacity: .9 !important;
  }
}







}

Reviews

No reviews yet.