68 lines
4.4 KiB
CSS
68 lines
4.4 KiB
CSS
|
.sudoSu {
|
||
|
position: fixed;
|
||
|
right: 30px;
|
||
|
bottom: 30px;
|
||
|
z-index: 99999;
|
||
|
}
|
||
|
|
||
|
.sudoSu__btn {
|
||
|
font-size: 1.5em;
|
||
|
background: #333;
|
||
|
width: 40px;
|
||
|
height: 40px;
|
||
|
line-height: 40px;
|
||
|
color: white;
|
||
|
text-align: center;
|
||
|
border-radius: 50%;
|
||
|
}
|
||
|
|
||
|
.sudoSu__btn--hasSudoed {
|
||
|
background: #00b067;
|
||
|
}
|
||
|
|
||
|
.sudoSu__interface {
|
||
|
position: absolute;
|
||
|
right: 60px;
|
||
|
bottom: 8px;
|
||
|
}
|
||
|
|
||
|
.sudoSu__interface--hasSudoed {
|
||
|
background: white;
|
||
|
padding: 20px;
|
||
|
bottom: 0;
|
||
|
border: 1px solid #cecece;
|
||
|
border-radius: 5px;
|
||
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
|
||
|
width: 400px;
|
||
|
}
|
||
|
|
||
|
.sudoSu__infoLine {
|
||
|
margin-bottom: 5px;
|
||
|
}
|
||
|
|
||
|
.sudoSu__infoLine > span {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.sudoSu__resetBtn {
|
||
|
-webkit-appearance: none;
|
||
|
-moz-appearance: none;
|
||
|
cursor: pointer;
|
||
|
border: 0;
|
||
|
margin: 5px 0 15px 0;
|
||
|
padding: 6px 10px;
|
||
|
background: #00b067;
|
||
|
color: white;
|
||
|
border-radius: 4px;
|
||
|
border-bottom: 2px solid #088b54;
|
||
|
}
|
||
|
|
||
|
.sudoSu__resetBtn:hover {
|
||
|
background: #088b54;
|
||
|
}
|
||
|
|
||
|
.hidden {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlc291cmNlcy9hc3NldHMvc2Fzcy9hcHAuc2NzcyJdLCJzb3VyY2VzQ29udGVudCI6WyIuc3Vkb1N1IHtcbiAgICBwb3NpdGlvbjogZml4ZWQ7XG4gICAgcmlnaHQ6IDMwcHg7XG4gICAgYm90dG9tOiAzMHB4O1xuICAgIHotaW5kZXg6IDk5OTk5O1xuXG4gICAgJl9fYnRuIHtcbiAgICAgICAgZm9udC1zaXplOiAxLjVlbTtcbiAgICAgICAgYmFja2dyb3VuZDogIzMzMztcbiAgICAgICAgd2lkdGg6IDQwcHg7XG4gICAgICAgIGhlaWdodDogNDBweDtcbiAgICAgICAgbGluZS1oZWlnaHQ6IDQwcHg7XG4gICAgICAgIGNvbG9yOiB3aGl0ZTtcbiAgICAgICAgdGV4dC1hbGlnbjogY2VudGVyO1xuICAgICAgICBib3JkZXItcmFkaXVzOiA1MCU7XG5cbiAgICAgICAgJi0taGFzU3Vkb2VkIHtcbiAgICAgICAgICAgIGJhY2tncm91bmQ6ICMwMGIwNjc7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmX19pbnRlcmZhY2Uge1xuICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgIHJpZ2h0OiA2MHB4O1xuICAgICAgICBib3R0b206IDhweDtcblxuICAgICAgICAmLS1oYXNTdWRvZWQge1xuICAgICAgICAgICAgYmFja2dyb3VuZDogd2hpdGU7XG4gICAgICAgICAgICBwYWRkaW5nOiAyMHB4O1xuICAgICAgICAgICAgYm90dG9tOiAwO1xuICAgICAgICAgICAgYm9yZGVyOiAxcHggc29saWQgI2NlY2VjZTtcbiAgICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IDAgMXB4IDFweCByZ2JhKDAsIDAsIDAsIDAuMSk7XG4gICAgICAgICAgICB3aWR0aDogNDAwcHg7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAmX19pbmZvTGluZSB7XG4gICAgICAgIG1hcmdpbi1ib3R0b206IDVweDtcbl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