| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- @import url("../static/css/bootstrap.min.css");
- /* 整体容器样式优化 */
- .mod-endecode {
- padding: 15px;
- background: linear-gradient(to bottom, #ffffff, #f8f9ff);
- border-radius: 8px;
- box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
- }
- /* 输入框样式优化 */
- #srcText {
- height: 100px;
- border: 1px solid #e0e5ff;
- border-radius: 8px;
- padding: 12px;
- font-size: 14px;
- line-height: 1.5;
- background-color: #ffffff;
- transition: all 0.3s ease;
- resize: vertical;
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
- }
- #srcText:focus {
- border-color: #4d89fe;
- box-shadow: 0 0 0 3px rgba(77, 137, 254, 0.1);
- outline: none;
- }
- /* 结果输出框样式优化 */
- #rstCode {
- height: 280px;
- border: 1px solid #e0e5ff;
- border-radius: 8px;
- padding: 12px;
- font-size: 14px;
- line-height: 1.5;
- background-color: #ffffff;
- transition: all 0.3s ease;
- resize: vertical;
- box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
- }
- #rstCode:focus {
- border-color: #4d89fe;
- box-shadow: 0 0 0 3px rgba(77, 137, 254, 0.1);
- outline: none;
- }
- /* 选项表格样式优化 */
- .x-opts {
- width: 100%;
- font-size: 14px;
- margin: 12px 0;
- background: #ffffff;
- border-radius: 8px;
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
- }
- .x-opts td {
- padding: 10px;
- vertical-align: middle;
- }
- .x-opts tr:first-child {
- border-bottom: 1px solid #eef1ff;
- }
- td.td-label {
- width: 66px;
- color: #666;
- font-weight: 500;
- vertical-align: middle;
- }
- /* 单选框组样式优化 */
- .x-opts .radio {
- margin: 4px 0;
- transition: all 0.3s ease;
- display: inline-flex;
- align-items: center;
- }
- .x-opts .radio label {
- display: inline-flex;
- align-items: center;
- padding: 4px 8px;
- border-radius: 6px;
- transition: all 0.3s ease;
- cursor: pointer;
- margin: 0;
- line-height: 1;
- }
- .x-opts .radio label:hover {
- background-color: #f5f8ff;
- }
- .x-opts .radio input[type="radio"] {
- margin: 0 4px 0 0;
- vertical-align: middle;
- position: relative;
- top: -1px;
- }
- /* 提示文字样式 */
- .x-ps {
- color: #a0a8c3;
- font-size: 12px;
- margin-left: 4px;
- display: inline-flex;
- align-items: center;
- }
- /* 按钮组样式优化 */
- .x-btns {
- margin-top: 15px;
- display: flex;
- gap: 8px;
- justify-content: flex-end;
- }
- .x-btns .btn {
- padding: 6px 16px;
- font-size: 14px;
- border-radius: 6px;
- transition: all 0.3s ease;
- border: none;
- font-weight: 500;
- height: 32px;
- line-height: 20px;
- }
- .x-btns .btn-success {
- background: linear-gradient(135deg, #4d89fe, #3f6ad8);
- box-shadow: 0 2px 6px rgba(77, 137, 254, 0.2);
- }
- .x-btns .btn-success:hover {
- transform: translateY(-1px);
- box-shadow: 0 4px 12px rgba(77, 137, 254, 0.3);
- }
- .x-btns .btn-warning {
- background: linear-gradient(135deg, #ff9f43, #ff7a45);
- box-shadow: 0 2px 6px rgba(255, 159, 67, 0.2);
- }
- .x-btns .btn-warning:hover {
- transform: translateY(-1px);
- box-shadow: 0 4px 12px rgba(255, 159, 67, 0.3);
- }
- /* 结果区域样式优化 */
- #rst {
- margin-top: 20px;
- padding: 15px;
- background: #ffffff;
- border-radius: 8px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
- }
- #rst h5 {
- padding-bottom: 12px;
- margin-bottom: 15px;
- border-bottom: 2px solid #eef1ff;
- color: #333;
- font-weight: 600;
- font-size: 15px;
- }
- /* URL解析结果样式优化 */
- .x-url-infos {
- background: #f8f9ff;
- border-radius: 8px;
- padding: 15px;
- }
- .x-url-infos ul {
- padding: 0;
- margin: 0;
- }
- .x-url-infos ul li {
- list-style: none;
- font-size: 14px;
- line-height: 1.5;
- padding: 6px 0;
- margin: 0;
- border-bottom: 1px dashed #e0e5ff;
- display: flex;
- align-items: center;
- }
- .x-url-infos ul li:last-child {
- border-bottom: none;
- }
- .x-url-infos ul li b {
- color: #666;
- font-weight: 500;
- min-width: 60px;
- display: inline-block;
- }
- .x-url-infos table {
- width: 100%;
- margin-top: 12px;
- border-radius: 6px;
- overflow: hidden;
- border: 1px solid #e0e5ff;
- }
- .x-url-infos table th {
- background: #f5f8ff;
- padding: 10px 12px;
- font-weight: 500;
- color: #666;
- }
- .x-url-infos table td {
- padding: 8px 12px;
- border-top: 1px solid #eef1ff;
- word-break: break-all;
- }
- /* 工具市场按钮样式(保持不变) */
- .panel-title>a.x-other-tools {
- margin: 1px 0 0;
- font-size: 13px;
- cursor: pointer;
- text-decoration: none;
- -webkit-user-select: none;
- user-select: none;
- color: #333;
- float: right;
- background-color: #f5f8ff;
- padding: 5px 10px;
- border-radius: 15px;
- border: 1px solid #d0d9ff;
- transition: all 0.3s ease;
- display: flex;
- align-items: center;
- position: relative;
- top: -6px;
- }
- .panel-title>a.x-other-tools .icon-plus-circle {
- display: inline-block;
- width: 16px;
- height: 16px;
- background: url(../static/img/plus-circle.svg) no-repeat center center;
- background-size: contain;
- margin-right: 5px;
- }
- .panel-title>a.x-other-tools .tool-market-badge {
- display: inline-block;
- background-color: #4d89fe;
- color: white;
- padding: 2px 6px;
- border-radius: 10px;
- margin-left: 5px;
- font-size: 12px;
- font-weight: bold;
- }
- .panel-title>a.x-other-tools:hover {
- color: #333;
- background-color: #e6edff;
- box-shadow: 0 2px 5px rgba(0,0,0,0.15);
- transform: translateY(-1px);
- }
- /* 保持原有的顶部导航样式 */
- .x-donate-link {
- font-size: 14px;
- font-weight: 500;
- color: #2563eb;
- cursor: pointer;
- text-decoration: none;
- border: none;
- white-space: nowrap;
- margin-right: auto;
- border-radius: 20px;
- background-color: #eff6ff;
- transition: all 0.2s ease;
- position: relative;
- display: inline-flex;
- align-items: center;
- box-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
- position: absolute;
- right: 230px;
- top: 8px;
- padding: 6px 12px;
- }
- .x-donate-link:hover {
- background-color: #dbeafe;
- color: #1d4ed8;
- text-decoration: none;
- box-shadow: 0 2px 4px rgba(37, 99, 235, 0.15);
- transform: translateY(-1px);
- }
- .x-donate-link {
- margin: 0 10px;
- font-size: 12px;
- font-weight: normal;
- }
|