MediaWiki

Equipment.css:修订间差异

来自卡厄思梦境WIKI

律Rhyme留言 | 贡献
无编辑摘要
律Rhyme留言 | 贡献
无编辑摘要
第9行: 第9行:
     font-size: 24px;
     font-size: 24px;
     font-weight: bold;
     font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.equipment-stats {
    font-size: 14px;
    color: #666;
     margin-bottom: 20px;
     margin-bottom: 20px;
    color: #333;
}
}


第114行: 第120行:
     padding: 20px;
     padding: 20px;
     max-width: 600px;
     max-width: 600px;
    width: 90%;
     max-height: 80vh;
     max-height: 80vh;
     overflow-y: auto;
     overflow-y: auto;
第139行: 第146行:
     font-weight: bold;
     font-weight: bold;
     color: #555;
     color: #555;
    font-size: 14px;
}
}


第148行: 第156行:
     font-size: 14px;
     font-size: 14px;
     box-sizing: border-box;
     box-sizing: border-box;
    font-family: sans-serif;
}
.equipment-form-textarea {
    resize: vertical;
    min-height: 60px;
}
}



2025年10月17日 (五) 19:39的版本

.equipment-manager {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    font-family: sans-serif;
}

.equipment-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.equipment-stats {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.equipment-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.equipment-button:hover {
    background-color: #e0e0e0;
}

.equipment-button-primary {
    background-color: #0066cc;
    color: white;
    border-color: #0052a3;
}

.equipment-button-primary:hover {
    background-color: #0052a3;
}

.equipment-button-danger {
    background-color: #cc0000;
    color: white;
    border-color: #a30000;
}

.equipment-button-danger:hover {
    background-color: #a30000;
}

.equipment-button-small {
    padding: 5px 15px;
    font-size: 14px;
}

.equipment-list {
    margin-top: 20px;
}

.equipment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.equipment-info {
    flex: 1;
}

.equipment-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.equipment-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.equipment-tags {
    font-size: 14px;
    color: #888;
}

.equipment-actions {
    display: flex;
    gap: 5px;
}

.equipment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.equipment-modal {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.equipment-modal-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.equipment-form {
    margin-bottom: 20px;
}

.equipment-form-field {
    margin-bottom: 15px;
}

.equipment-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.equipment-form-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: sans-serif;
}

.equipment-form-textarea {
    resize: vertical;
    min-height: 60px;
}

.equipment-form-input:focus {
    outline: none;
    border-color: #0066cc;
}

.equipment-form-input[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

.equipment-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}