틀:PluginX/setup.css: 두 판 사이의 차이

리버티게임(개발), 모두가 만들어가는 자유로운 게임
둘러보기로 이동 검색으로 이동
imported>Regurus
잔글 (Regurus의 편집을 [[특수:기여/imported>Bd3076|imported>Bd3076]]의 마지막 판으로 되돌림)
>BANIP
(PluginX 버전업)
1번째 줄: 1번째 줄:
#px-box {
.pluginx-script-wrapper{
  width: 380px;
display:none;
  margin: auto;
  padding: 0px;
  border: none;
  box-shadow: 0px 0px 10px 5px grey;
}
}


#px-info {
.pluginx-popup-wrapper {
  font-weight: bold;
--var--header-bg-color: hsl(238 20% 30%);
  background-color: rgb(127, 219, 207);
display: none;
  padding: 5px 10px;
position: fixed;
  color: white;
z-index: 9999;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}
}


#px-script .px-code {
/* .pluginx-popup-wrapper 하위요소 스크롤바 지정 */
  background-color: #eaecf0;
.pluginx-popup-wrapper *::-webkit-scrollbar {
  overflow: auto;
width: 4px;
  width: auto;
height: 4px;
  height: 300px;
background-color: #fff;
  padding: 10px;
  color: #003399;
  white-space: nowrap !important;
}
}


#px-script .px-codeinfo {
.pluginx-popup-wrapper *::-webkit-scrollbar-thumb {
  background-color: white;
background-color: var(--var--header-bg-color);
  color: black;
border-radius: 4px;
  padding: 10px;
}
}


#px-script .px-notice {
.pluginx-popup-wrapper .pluginx-popup {
  background-color: #ddd;
position: absolute;
  color: black;
overflow: hidden;
  padding: 10px;
transform: translate(-50%, -50%);
  border: 1px solid black;
top: 50%;
  border-left: 10px solid #555;
left: 50%;
width: calc(100% - 16px);
height: 80%;
max-width: 800px;
background-color: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
display: grid;
grid-template-rows: 40px 1fr 40px;
}
}


#px-script .px-warning {
.pluginx-popup-wrapper .pluginx-popup-header {
  background-color: rgb(255, 247, 220);
height: 40px;
  color: black;
background-color: var(--var--header-bg-color);
  padding: 10px;
border-bottom: 1px solid #ddd;
  border: 1px solid #aaa;
color:#fff;
  border-left: 10px solid yellow;
}
}


#px-script .px-critical {
.pluginx-popup-wrapper .pluginx-popup-title {
  background-color: rgb(255, 239, 239);
float: left;
  color: black;
padding: 10px;
  padding: 10px;
font-size: 20px;
  border: 1px solid #aaa;
font-weight: bold;
  border-left: 10px solid firebrick;
}
}


#px-button, #px-button2{
.pluginx-popup-wrapper .pluginx-popup-content-wrapper {
  margin: 15px;
overflow: auto;
  text-align: center;
background: #edf6fc;
  width: 150px;
  height: 25px;
  border-radius: 10px;
  border: 3px solid rgb(127, 219, 207);
  cursor: pointer;
  padding: 5px 10px;
}
}


#px-button:hover, #px-button2:hover{
.pluginx-popup-wrapper .pluginx-popup-content {
  background-color: rgb(127, 219, 207);
display: none;
  color: white;
}
 
.pluginx-popup-wrapper .pluginx-popup-code {
padding: 10px;
font-size: 14px;
font-family: monospace;
white-space: pre;
overflow: auto;
background: #f4f6fe;
color: #003399;
}
 
 
.pluginx-popup-wrapper .pluginx-popup-summary {
padding: 10px;
font-size: 14px;
}
.pluginx-popup-wrapper .pluginx-popup-summary .severity{
font-weight: bold;
}
.pluginx-popup-wrapper .pluginx-popup-summary .severity.safe{
color: #009900;
}
 
.pluginx-popup-wrapper .pluginx-popup-summary .severity.warning{
color: #ff9900;
}
 
.pluginx-popup-wrapper .pluginx-popup-summary .severity.danger{
color: #ff0000;
}
 
.pluginx-popup-wrapper .pluginx-popup-footer {
border-top: 1px solid #ddd;
display: flex;
position: relative;
align-items: center;
justify-content: space-around;
}
 
.pluginx-popup-wrapper .pluginx-popup-footer > .pluginx-btn {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
transition: background 0.2s;
background: #fff;
}
 
.pluginx-popup-wrapper .pluginx-popup-footer > .pluginx-btn:hover {
background: #eee;
}
 
.pluginx-popup-wrapper .pluginx-popup-footer > .pluginx-btn:nth-child(1) {
border-right: 1px solid #ddd;
}
 
.pluginx-popup-wrapper .pluginx-trust-check-wrapper {
position: absolute;
right: 0;
background: #fff;
border: 1px solid rgb(221, 221, 221);
padding: 4px;
transform: translateY(-100%);
}
}

2023년 7월 9일 (일) 23:20 판

.pluginx-script-wrapper{ display:none; }

.pluginx-popup-wrapper { --var--header-bg-color: hsl(238 20% 30%); display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); }

/* .pluginx-popup-wrapper 하위요소 스크롤바 지정 */ .pluginx-popup-wrapper *::-webkit-scrollbar { width: 4px; height: 4px; background-color: #fff; }

.pluginx-popup-wrapper *::-webkit-scrollbar-thumb { background-color: var(--var--header-bg-color); border-radius: 4px; }

.pluginx-popup-wrapper .pluginx-popup { position: absolute; overflow: hidden; transform: translate(-50%, -50%); top: 50%; left: 50%; width: calc(100% - 16px); height: 80%; max-width: 800px; background-color: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); display: grid; grid-template-rows: 40px 1fr 40px; }

.pluginx-popup-wrapper .pluginx-popup-header { height: 40px; background-color: var(--var--header-bg-color); border-bottom: 1px solid #ddd; color:#fff; }

.pluginx-popup-wrapper .pluginx-popup-title { float: left; padding: 10px; font-size: 20px; font-weight: bold; }

.pluginx-popup-wrapper .pluginx-popup-content-wrapper { overflow: auto; background: #edf6fc; }

.pluginx-popup-wrapper .pluginx-popup-content { display: none; }

.pluginx-popup-wrapper .pluginx-popup-code { padding: 10px; font-size: 14px; font-family: monospace; white-space: pre; overflow: auto; background: #f4f6fe; color: #003399; }


.pluginx-popup-wrapper .pluginx-popup-summary { padding: 10px; font-size: 14px; } .pluginx-popup-wrapper .pluginx-popup-summary .severity{ font-weight: bold; } .pluginx-popup-wrapper .pluginx-popup-summary .severity.safe{ color: #009900; }

.pluginx-popup-wrapper .pluginx-popup-summary .severity.warning{ color: #ff9900; }

.pluginx-popup-wrapper .pluginx-popup-summary .severity.danger{ color: #ff0000; }

.pluginx-popup-wrapper .pluginx-popup-footer { border-top: 1px solid #ddd; display: flex; position: relative; align-items: center; justify-content: space-around; }

.pluginx-popup-wrapper .pluginx-popup-footer > .pluginx-btn { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: background 0.2s; background: #fff; }

.pluginx-popup-wrapper .pluginx-popup-footer > .pluginx-btn:hover { background: #eee; }

.pluginx-popup-wrapper .pluginx-popup-footer > .pluginx-btn:nth-child(1) { border-right: 1px solid #ddd; }

.pluginx-popup-wrapper .pluginx-trust-check-wrapper { position: absolute; right: 0; background: #fff; border: 1px solid rgb(221, 221, 221); padding: 4px; transform: translateY(-100%); }