| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef GOTEK_WEBCONTENT_H
- #define GOTEK_WEBCONTENT_H
- const char stylecss[] PROGMEM = R"rawliteral(<style>
- body { font-family: Arial; text-align: center; margin:0px auto; padding-top: 30px;}
- .button {
- padding: 10px 20px;
- font-size: 24px;
- text-align: center;
- outline: none;
- color: #fff;
- background-color: #2f4468;
- border: none;
- border-radius: 5px;
- box-shadow: 0 6px #999;
- cursor: pointer;
- -webkit-touch-callout: none;
- -webkit-user-select: none;
- -khtml-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- }
- .button:hover {background-color: #1f2e45}
- .button:active {
- background-color: #1f2e45;
- box-shadow: 0 4px #666;
- transform: translateY(2px);
- }
- .switch {position: relative; display: inline-block; width: 120px; height: 68px}
- .switch input {display: none}
- .slider {position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; border-radius: 34px}
- .slider:before {position: absolute; content: ""; height: 52px; width: 52px; left: 8px; bottom: 8px; background-color: #fff; -webkit-transition: .4s; transition: .4s; border-radius: 68px}
- input:checked+.slider {background-color: #2196F3}
- input:checked+.slider:before {-webkit-transform: translateX(52px); -ms-transform: translateX(52px); transform: translateX(52px)}
- ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- </style>)rawliteral";
- #endif //GOTEK_WEBCONTENT_H
|